This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Simple serial program
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] Simple serial program
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 12 Jun 2001 19:59:31 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000c01c0f370$cf4bec40$090110ac@BURN>
"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/