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]
Other format: [Raw text]

Re: Serial ports on SA-1100


Schumacher, Gordon wrote:
I have an custom-port SA-1100 based system which appears to be (otherwise)
functioning properly.  I'm trying to do some serial I/O in my main()
function.  I've tried reading and writing data to either /dev/ttydiag
(pointed to port 0) or to /dev/ser1, but in both cases the cyg_io_lookup
works fine, and cyg_io_write and cyg_io_read return -EDEVNOSUPP (-202).

I'm not explicitly starting the scheduler in cyg_user_start() - my
understanding was that if I have not overriden cyg_start(), that is done for
me.  (The code is definitely making it into main(), so I think that part is
okay anyway.)

Any idea what I could be doing wrong?
If you haven't already got this problem fixed, I think we'd need to see the code you're trying.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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