This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
standalone eCos & proc frequency
- To: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS]standalone eCos & proc frequency
- From: Andrea Acquaviva <aacquaviva at deis dot unibo dot it>
- Date: Thu, 08 Mar 2001 12:58:11 +0100
- Organization: DEIS
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?
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.)
Thanks,
Andrea.
--
Ing. Andrea Acquaviva
D.E.I.S. - Universita' di Bologna
V.le Risorgimento, 2 40136 BOLOGNA (ITALY)
Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786