This is the mail archive of the ecos-discuss@sourceware.org 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 communications



Well I have some improvement - it ran a test but FAILED! - here is what I
got
ser_filter output
[b7d558c0 Tu 11:55:22] CeCosTestPlatform::Load
[b7d558c0 Tu 11:55:22] CeCosTestPlatform::LoadFromDir
/home/graham/.eCosPlatforms
[b7d558c0 Tu 11:55:22] ConnectSocketToSerial : socket 3 <--> /dev/ttyS0
[b7d558c0 Tu 11:55:23] Applysettings baud=38400 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:55:23] Changing configuration...
[b7d558c0 Tu 11:55:23] Done.
[b7d558c0 Tu 11:55:23] ConnectSocketToSerial: waiting for connection...
[b7d558c0 Tu 11:57:20] Connection accepted from localhost - socket 5
[b7d558c0 Tu 11:57:20] ConnectSocketToSerial: connected
[b7d558c0 Tu 11:58:31] Applysettings baud=38400 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:58:31] Changing configuration...
[b7d558c0 Tu 11:58:31] Done.
[b7d558c0 Tu 11:58:32] Applysettings baud=9600 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:58:32] Changing configuration...
[b7d558c0 Tu 11:58:32] Done.
[b7d558c0 Tu 11:58:32] Applysettings baud=38400 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:58:32] Changing configuration...
[b7d558c0 Tu 11:58:32] Done.
[b7d558c0 Tu 11:58:32] Applysettings baud=9600 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:58:32] Changing configuration...
[b7d558c0 Tu 11:58:32] Done.
[b7d558c0 Tu 11:58:36] SSRead socket error - Read operation after socket
closed
[b7d558c0 Tu 11:58:36] ConnectSocketToSerial : done
[b7d558c0 Tu 11:58:36] ConnectSocketToSerial : socket 3 <--> /dev/ttyS0
[b7d558c0 Tu 11:58:36] Applysettings baud=38400 bParity=0 stopbits=1
databits=8
[b7d558c0 Tu 11:58:36] Changing configuration...
[b7d558c0 Tu 11:58:36] Done.
[b7d558c0 Tu 11:58:36] ConnectSocketToSerial: waiting for connection...

and the gdb output
(gdb) load
Loading section .rom_vectors, size 0x8 lma 0x68008000
Loading section .ARM.exidx, size 0x10 lma 0x68008008
Loading section .text, size 0x5e2c lma 0x68008018
Loading section .rodata, size 0x624 lma 0x6800de48
Loading section .data, size 0x3f4 lma 0x6800e478
Start address 0x68008019, load size 26716
Transfer rate: 445 bytes/sec, 31 bytes/write.
(gdb) c
Continuing.
[f] Dispatching command PING.
[f] Command PING completed.
INFO:<CONFIG:15:8:1:0:0!>
[f] Dispatching command CONFIG.
[f] Parsed Config baud=9600, bParity=0, stopbits=0, databits=8
[f] Parsed Config xonxoff_rx=0,tx=0, rtscts_rx=0,tx=0, dsrdtr_rx=0,tx=0
[f] Config change succeeded.
[f] Command CONFIG completed.
INFO:<BINARY:128:1!>
[f] Dispatching command BINARY.
[f] Finished write, waiting for target echo.
[f] Command BINARY completed.
PASS:<Binary test completed>
INFO:<BINARY:256:0!>
[f] Dispatching command BINARY.
FAIL:<target timed out>
[f] **** Timed out while reading -- resuming as null filter
[f] Data received 0 bytes (of 4) from target:
[f] <end>

Program terminated with signal 0, Signal 0.
The program no longer exists.
(gdb) 

This looks like my original problem!!

-- 
View this message in context: http://www.nabble.com/Re%3A-Serial-communications-tp24354870p24371241.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


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


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