This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Simple serial program
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] Simple serial program
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Tue, 12 Jun 2001 14:08:33 -0600
- Cc: "'eCos'" <ecos-discuss at sources dot redhat dot com>
- Organization: Extreme Engineering
Ok, thanks. I'll try it both with RedBoot, and from ROM on it's own. I
need to know that it's working. However, I can't find anywhere in the
eCos documentation or build tool documentation on how to select the type
of program, RAM or ROM!
-----Original Message-----
From: jlarmour@cambridge.redhat.com
[mailto:jlarmour@cambridge.redhat.com] On Behalf Of Jonathan Larmour
Sent: Tuesday, June 12, 2001 1:47 PM
To: Trenton D. Adams
Cc: 'eCos'
Subject: Re: [ECOS] Simple serial program
"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/