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>,"'eCos'" <ecos-discuss at sources dot redhat dot com>
- Subject: RE: [ECOS] Simple serial program
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Tue, 12 Jun 2001 11:09:18 -0600
- Organization: Extreme Engineering
I've recently compiled serial support into my kernel! LOL. I now use
/dev/ser0 to try and write stuff to. I've commented out all the printf
statements in case they might cause problems while running on the board
without a GDB connection.
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Trenton D.
Adams
Sent: Tuesday, June 12, 2001 9:59 AM
To: 'eCos'
Subject: [ECOS] Simple serial program
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.
p.s.
I'm using an EDB7211-2 board.