[ECOS] Simple serial program
Trenton D. Adams
tadams@extremeeng.com
Tue Jun 12 10:13:00 GMT 2001
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.
More information about the Ecos-discuss
mailing list