public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to make a code from RAM startup to ROM startup?
@ 2001-04-13 20:29 Ling Su
  2001-04-17  0:19 ` Jesper Skov
  0 siblings, 1 reply; 6+ messages in thread
From: Ling Su @ 2001-04-13 20:29 UTC (permalink / raw)
  To: ecos-discuss

Hello everyone,

I am nearly finished debugging my code using RAM startup binary and GDB
stub, so I am looking for the method to make a ROM startup binary so that I
can burn it into a FLASH. Anyone can highlight me the steps I should follow?
Now I have a couple questions as following,

<1>. I changed the CYG_HAL_STARTUP from RAM to ROM in ecos.ecc, is that
enough?
<2>. If my code have some diag_printf() procedure call, should I remove
them?
<3>. Actually we I debugging my code, I find the serial port 1 is very
unstable due to the use of diag_printf(), since the call doesn't go through
serial driver, and some conflicts will happen easily when I am writing to
serial 1, and diag_printf write to serial 0. If I use GDB to debug, I am not
sure if gdb stub will keep polling the serial port if I doesn't set up any
break point and just let it free run after downloading the code, since I
always meet serial port write failure, I think this point might be
suspicious. Anyone know this? Please shed me some light! Thanks!

Best Regards,
-Ling

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-18 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-13 20:29 [ECOS] How to make a code from RAM startup to ROM startup? Ling Su
2001-04-17  0:19 ` Jesper Skov
2001-04-17  9:56   ` Dan Conti
2001-04-17 11:01   ` Ling Su
2001-04-17 23:19     ` Jesper Skov
2001-04-18 20:26   ` Ling Su

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).