I'm a newbie to eCos and I want to port eCos 3.0 to LPC2378. But i don't know how to do it.
I have read "Embedded Software Development with eCos" and it guide me that I have load Redboot to LPC2378 first and then, use Redboot command to load eCos. But I cann't load Redboot to LPC2378.
I have built Redboot with "eCos Configuretion Tool" and later I have redboot.img. then, I use "arm-elf-objcopy -O ihex redboot.img redboot.hex" command to convert img file to .hex file and then I use Flash Magic to load redboot.hex into LPC2378 but redboot doesn't work (I don't see anything on Hyper Terminal when I connect Hyper Terminal to LPC2378 board)
I've never used eCos, but a very quick search found this:
en.wikipedia.org/.../ECos
And, of course, the eCos home page:
http://ecos.sourceware.org/
"I have read 'Embedded Software Development with eCos'"
But, surely, that is just a user guide?
For porting, shouldn't you be reading the Porting Guide?
www.embedded.com/.../OEG20011220S0059
The eCos FAQ has sections titled "Got Problems?" and "Support"
ecos.sourceware.org/.../1.html - that would be the place to start
Are you sure you are using the correct cross-compiler? Is the .hex file programmed starting at address 0x0, where the processor starts to fetch instructions after boot? Or maybe it expects a bootloader to be present...? Have you followed the porting instructions? Debugged the result...?
Do you have any experience in porting any other RTOS?
Note that porting an RTOS is really not a beginner's task!
View all questions in Keil forum