This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: standalone eCos & proc frequency


Andrea Acquaviva wrote:
> 
> Hi,
> 
> I have a 2 simple question:
> 
> 1. In order to make a standalone eCos program that runs in flash whitout
> gdb,
>     I made the following steps:
>     - I set Startup type to ROM ( CYG_HAL_STARTUP = ROM) in ecos.ecc
>        and recompile eCos;
>     - I linked the program with eCos;
>     - I converted the elf executable in a binary format and download it
> into the flash;
>     but the executable doesn't work at all.
>     Is this the correct procedure?

I take it you've succeeded with a similar process when programming RedBoot
(or GDB stubs) right?
 
> 2. When I use gdb, the processor frequency must always be the same for
> the gdb stub
>     and eCos, right?
> 
> (I use eCos on an Assabet board.)

The GDB stub acts primarily as a loader, and its debugging abilities are
independent of the clock, so I would guess it wouldn't matter that much
actually.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]