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 20:46:45 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000e01c0f374$def49260$090110ac@BURN>
"Trenton D. Adams" wrote:
>
> Define _complete_! All the serial program does now is output the string
> to /dev/ser1, and that's it. However, when I try and write it to flash,
> it doesn't work properly. I use the command below.
>
> dl_edb7xxx.exe serial.exe 115200
>
> It downloads just fine, but when I reset the board, and wake it up, it
> doesn't output anything to the serial port. How does one go about
> debugging something like this?
You almost certainly have built it for RAM startup. It should be built for
"ROM" startup (which means to run from Flash).
You could also use RedBoot to program the flash, which is what I was
referring to before - you don't have to use dl_edb7xxx.
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/