This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]