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]

newbie question - EB40 serial


Hi,
I have some problems with the serial communication at the EB40-Board.
I use ser0 as a diag-output and ser1 just to send a little string to a terminal
When I set the Buffers in the configtool to 0 the cyg_io_write(....) function works correct but when I set the buffer to more than 0 bytes the write 
function always sends only the first character of the string and than it returns.
What I do not understand is the following: When I use the debugger ( jtag-port) and step (single) throught the program than it works (with 
128bytes buffersize) and the cyg_io_write function sends the complete string to the terminal.
So what's the difference between single stepping an just running the function ????
How can I set different buffersizes to RX / TX for each serial ? The configtool doesn't allow this...... 
 
Thank you

MfG
J.Manderbach

Ingenieurbuero Strahl * Aderdamm 46 * 40221 Duesseldorf
Telefon 0211-15755-0 * Fax 0211-15755-22
Joerg Manderbach * Abt. Hardwareentwicklung
Telefon 0211-15755-12 * Fax 0211-15755-22


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