[ECOS] Simple serial program

Jonathan Larmour jlarmour@redhat.com
Tue Jun 12 11:59:00 GMT 2001


"Trenton D. Adams" wrote:
> 
> Ok, it works when I do a GDB connection to my RedBoot.  Once it's been
> loaded to the board using the load command in GDB, I user hypertrm to
> connect to COM1.  I then type "continue" to run the serial.exe.  It
> outputs to the COM port.  I have no idea how to make the program work on
> it's own now though.  So, referring to one of my previous questions.
> 
> > Once a program is complete, it is customary to write it to flash just
> > like you do with RedBoot right?

Well, if the program is _complete_ yes. You don't need to do it for toy
apps just for testing, but if you want to do it as a learning experience,
then fair enough.

You could either write it into flash so as to replace redboot. But more
flexibly, write it into unused flash and use a redboot boot script to
automatically run it. This gives you the opportunity to change the
application later by aborting the boot script.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/



More information about the Ecos-discuss mailing list