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]

standalone eCos & proc frequency


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




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