* How to build an application that boots from flash? eCos,MBX
@ 2000-12-19 0:32 Daniel Lind
0 siblings, 0 replies; only message in thread
From: Daniel Lind @ 2000-12-19 0:32 UTC (permalink / raw)
To: crossgcc
Hello
I use eCos and MBX board with PowerPC MPC860. I want to build an
executeable
image of my application that boots from flash/rom memory, ie the
development of program code is finished and I want the program to work
without ROM monitor or GDB .Where to start and look for information
about this subject? I don't care if it boots from 8 bit flash device or
32 bit flash device
I have no idea of what to do but I have done the following:
First I have tried to prepare the download method. In eCos configuration
tool I set the download method to ROM start-up. I would also like to
boot from the 32 bit flash device so I set this alternative to. After
this I build eCos and my application. Now I have an exe-file of my
application which I convert to an s-record file with objcopy.
powerpc-eabi-objcopy -O srec --change-address=0x02040000 hello.exe
hello.srec
After this I use EPPCbug, ie I boot the MBX board with EPPCBug and do
the following:
first i load the s-record file into MBX with hyperterminal
lo 0
After this I program flash memory (32 bit)
EPPC-Bug>pflash 40000 60000 fc000000
Nothing happens when I try to boot.
I have also tried to program the 8 bit flash with a binary file but with
no success...
Somebody else that can help me out?
/Daniel Lind
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-19 0:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19 0:32 How to build an application that boots from flash? eCos,MBX Daniel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).