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


Oops, forgot to mention that it still doesn't work! :(

-----Original Message-----
From: Trenton D. Adams [mailto:tadams@extremeeng.com] 
Sent: Tuesday, June 12, 2001 11:09 AM
To: 'Trenton D. Adams'; 'eCos'
Subject: RE: [ECOS] Simple serial program


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.



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