Slide | 1 Oct 2007 03:22
Picon
Gravatar

wxWidgets tool

I seem to remember someone saying that the wxWidgets based config tool
is no longer supported and the command line tool is the way to go. Is
there a howto document that takes someone familiar with the Windows
tool and helps them understand how to do the same things with the
command line tool?

thanks

slide

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

ariga masahiro | 1 Oct 2007 07:00
Picon

Not working lan91cxx_sc drv

Hi,

I am the same person who posted "Question about interrupt trigger 
mode",dated 9/28/2007
but since then I am encountered the most serious problem so I change title 
and post this
most-urgent,most-ernest and most-desperate mail.

As I said,
My target uses SMSC LAN91C111 chip,CPU is SH7709S.
As ethernet interrupt,uses IRQ3 line.
I build "net" template,eCos source is updated by CVS checkout.

As I inserted LAN91C111's mask routine in the ISR,
I succeeded to entered into DSR.
(This interrupt was caused not by eCos-proper code, but by my tampered
routine.I will later explain.)
But although RCV-INT is assserted,delivering-packet routine never called,
so I entered repetedly ISR and DSR.
Then I discovered LAN91C111 driver's receive routine was never called.

Please forgive me long mail,but I try to
inform you as correctly as possible.
First I relate current problem,and later describe what I have tampered with.

I register SMSC interrupt ruoitne
in \packages\devs\eth\smsc\lan91cxx\current\src\if_lan91cxx.c's
smsc_lan91cxx_init(struct cyg_netdevtab_entry *tab)
like this,
#ifndef CYGPKG_IO_ETH_DRIVERS_STAND_ALONE
(Continue reading)

John Dallaway | 1 Oct 2007 10:32
Favicon

Re: wxWidgets tool

Slide wrote:

> I seem to remember someone saying that the wxWidgets based config tool
> is no longer supported and the command line tool is the way to go.

Both tools are supported. Choose the graphical eCos Configuration Tool
or the ecosconfig command-line tool according to your personal preference.

John Dallaway

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Gary Thomas | 1 Oct 2007 11:01
Favicon

Re: wxWidgets tool

Slide wrote:
> I seem to remember someone saying that the wxWidgets based config tool
> is no longer supported and the command line tool is the way to go. Is
> there a howto document that takes someone familiar with the Windows
> tool and helps them understand how to do the same things with the
> command line tool?

You might be referring to the *old* Windows tool which was retired
many years ago (circa 1999) and replaced by the [more portable] wxWindows
based tool we have today.

As for how to use the command line tool (ecosconfig), have you looked
at the documentation?
  http://ecos.sourceware.org/docs-latest/user-guide/using-ecosconfig-on-linux.html

This applies to using ecosconfig on Windows (CygWin) as well as Linux.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Rasmus Stougaard | 1 Oct 2007 14:27
Picon

Problem reading buttons on AT91sam7s-ek

Hi

I am trying to read the state of the buttons on a AT91sam7s-ek
evaluation kit from atmel.

I figure that something like:

    cyg_uint32 value;
    HAL_ARM_AT91_GPIO_CFG_DIRECTION(AT91_GPIO_PA20, AT91_PIN_IN);
    HAL_ARM_AT91_GPIO_CFG_PULLUP(AT91_GPIO_PA20, AT91_PIN_PULLUP_ENABLE);
    HAL_ARM_AT91_GPIO_GET(AT91_GPIO_PA20, value);
    trace(" AT91_GPIO_PA20 %d\n", value);

Should configure the pin for input and print the current state of the
of the pin.

However, the state returned in value is always zero, so I must be
doing something wrong.

Any hints much apreciated.

Regards
Rasmus Stougaard

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Gary Thomas | 1 Oct 2007 15:26
Favicon

Re: wxWidgets tool

Slide wrote:
> On 10/1/07, Gary Thomas <gary <at> mlbassoc.com> wrote:
>> Slide wrote:
>>> I seem to remember someone saying that the wxWidgets based config tool
>>> is no longer supported and the command line tool is the way to go. Is
>>> there a howto document that takes someone familiar with the Windows
>>> tool and helps them understand how to do the same things with the
>>> command line tool?
>> You might be referring to the *old* Windows tool which was retired
>> many years ago (circa 1999) and replaced by the [more portable] wxWindows
>> based tool we have today.
>>
>> As for how to use the command line tool (ecosconfig), have you looked
>> at the documentation?
>>   http://ecos.sourceware.org/docs-latest/user-guide/using-ecosconfig-on-linux.html
>>
>> This applies to using ecosconfig on Windows (CygWin) as well as Linux.
>>
> 
> 
> Ah, I must be thinking of the old tool. Thanks for the info. If the
> wxWidgets tool is supported, patches will be accepted I assume?

Of course, send them to ecos-patches <at> ecos.sourceware.org
Did you have something in particular that needs work?

Please keep replies on the mailing lists so that all may benefit.

--

-- 
------------------------------------------------------------
(Continue reading)

Alperen Coskun | 1 Oct 2007 15:50
Picon
Favicon

Flash Write Problem

Hi all,

Is there anyone who is able to write to a strata flash? I examined the 
source code for flash and the datasheet. It says to write 0xE8 for writing 
and wait and so on but, even the expected value which is 0x80 doesn't come. 
What can be the problem?

Alperen

_________________________________________________________________
En etkili ve güvenilir PC Korumayi tercih edin, rahat edin! 
http://www.msn.com.tr/security/

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Slide | 1 Oct 2007 16:04
Picon
Gravatar

Re: wxWidgets tool

> Of course, send them to ecos-patches <at> ecos.sourceware.org
> Did you have something in particular that needs work?
>
> Please keep replies on the mailing lists so that all may benefit.
>

I just have a lot of crashing issues, when I go to create a build
tree, the tool crashes, when I try and save the config, the tool
crashes. I was going to look into those and hopefully submit some
patches. We are going to be using the tool quite a bit at work and
would like to stabilize it a little more (other people have seen the
crashing issue as well). I'll submit what I come up with.

Thanks!

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Andrew Lunn | 1 Oct 2007 16:28
Picon

Re: Problem reading buttons on AT91sam7s-ek

On Mon, Oct 01, 2007 at 02:27:32PM +0200, Rasmus Stougaard wrote:
> Hi
> 
> I am trying to read the state of the buttons on a AT91sam7s-ek
> evaluation kit from atmel.
> 
> I figure that something like:
> 
>     cyg_uint32 value;
>     HAL_ARM_AT91_GPIO_CFG_DIRECTION(AT91_GPIO_PA20, AT91_PIN_IN);
>     HAL_ARM_AT91_GPIO_CFG_PULLUP(AT91_GPIO_PA20, AT91_PIN_PULLUP_ENABLE);
>     HAL_ARM_AT91_GPIO_GET(AT91_GPIO_PA20, value);
>     trace(" AT91_GPIO_PA20 %d\n", value);
> 
> Should configure the pin for input and print the current state of the
> of the pin.

In general that looks O.K. Have you tried the other 3 switches?

One idea i have. Is the clock to the GPIO device enabled? Check bit
AT91_PMC_PCER_PIOA in AT91_PMC_PCER. Without a clock you can do
output. But to do input you need the clock enabled.

  Andrew

--

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

(Continue reading)

Tom Malcolmson | 1 Oct 2007 16:58

Re: wxWidgets tool

  Slide wrote:
>> Of course, send them to ecos-patches <at> ecos.sourceware.org
>> Did you have something in particular that needs work?
>>
>> Please keep replies on the mailing lists so that all may benefit.
>>
>>     
>
> I just have a lot of crashing issues, when I go to create a build
> tree, the tool crashes, when I try and save the config, the tool
> crashes. I was going to look into those and hopefully submit some
> patches. We are going to be using the tool quite a bit at work and
> would like to stabilize it a little more (other people have seen the
> crashing issue as well). I'll submit what I come up with.
>
> Thanks!
>   
I get a lot of crashes as well (on WinXP), so anything you can do to 
'stabilize' is appreciated.

I noticed some patches available here:
http://www.xylanta.com/WordPress/?page_id=22
including one to make it work with wxWidgets v2.6.

I'm not clear on where the 'official' home of the tool / latest version 
is?  And whether the wxWidgets version also depends on cygwin?

Perhaps the tool should be moved to something like sourceforge.

Tom.
(Continue reading)


Gmane