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


Ok, it works when I do a GDB connection to my RedBoot.  Once it's been
loaded to the board using the load command in GDB, I user hypertrm to
connect to COM1.  I then type "continue" to run the serial.exe.  It
outputs to the COM port.  I have no idea how to make the program work on
it's own now though.  So, referring to one of my previous questions.

> Once a program is complete, it is customary to write it to flash just 
> like you do with RedBoot right?

-----Original Message-----
From: jlarmour@cambridge.redhat.com
[mailto:jlarmour@cambridge.redhat.com] On Behalf Of Jonathan Larmour
Sent: Tuesday, June 12, 2001 12:42 PM
To: Trenton D. Adams
Cc: 'eCos'
Subject: Re: [ECOS] Simple serial program


"Trenton D. Adams" wrote:
> 
> What is /dev/ser0 then?  Is it not really a serial port, or is it just

> the first serial port and the same as /dev/ser1?

It doesn't exist for the edb7xxx (and cyg_io_lookup() should return an
error when you ask for it). The idea is to make the serial port numbers
in eCos be able to correspond to any physical markings on the board, in
this case UART 1 and UART 2 on the silkscreen.

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/


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