[ECOS]standalone eCos & proc frequency
Jonathan Larmour
jlarmour@redhat.com
Tue Mar 13 12:46:00 GMT 2001
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
More information about the Ecos-discuss
mailing list