This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: standalone eCos & proc frequency
- To: Andrea Acquaviva <aacquaviva at deis dot unibo dot it>
- Subject: Re: [ECOS]standalone eCos & proc frequency
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 13 Mar 2001 20:46:39 +0000
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <3AA773D3.A78FD4D9@deis.unibo.it>
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