This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: make a program run at powerup on CL_PS7111 board with
- To: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Subject: Re: [ECOS] make a program run at powerup on CL_PS7111 board with
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Thu, 24 Aug 2000 09:09:05 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com, Vu Dang <dangvu at amoret dot seas dot ucla dot edu>
On 24-Aug-2000 Jonathan Larmour wrote:
>> 3) If I want to have a program (my application) run automatically when the
>> CL_PS7111 is turn on,
>>
>> a) does it mean that I have to build the application and then link it
>> with eCos?
>
> Yes.
>
>> b) if it is, what are steps that I should do?
>
> Choosing ROM startup for your application (in the Cirrus Logic HAL
> configuration options in the configuration tool) is the key thing.
>
Don't forget that this CPU requires a "wakeup" signal (interrupt, button, ??).
When the CPU comes out of reset, it waits for the "wakeup" signal to actually
start it up. On the Cirrus Logic evaluation boards, this signal comes from
a push-button. On a PDA, for example, it might come from opening the lid.
eCos is certainly capable of handling "startup from ROM" applications. But
the application designer will have to solve the problem of awakening the CPU.