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 13:50:03 -0600
- Cc: "eCos Discussion" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Extreme Engineering
I'm getting multiple messages from the list. This one has a different
time stamp than the last one though. Is anyone else experiencing this
problem?
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Jonathan
Larmour
Sent: Tuesday, June 12, 2001 12:01 PM
To: Trenton D. Adams
Cc: 'eCos'
Subject: Re: [ECOS] Simple serial program
"Trenton D. Adams" wrote:
>
> Once a program is complete, it is customary to write it to flash just
> like you do with RedBoot right?
>
> If so, how to I get the serial.exe example that comes with the eCos
> installation to work? I tried changing "/dev/haldiag" to
> "/dev/ttyS0", but it doesn't write to the serial port. I have no clue
> how to write to the serial port, and the documentation doesn't seem to
> help very much.
You have to choose a serial port for your board. From the edb7xxx serial
driver configuration you should see that you can use /dev/ser1 or
/dev/ser2. Note that one of these will be your GDB connection, be
warned. You should use the other serial port instead to allow
uninterrupted use of GDB.
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/