matthiasbock/cantact-fw

'Socket transmission timed out' after talking to broken CAN node

Opened this issue · 0 comments

Commit: fb099fe
Client-Software: matthiasbock/cvra-bootloader@0238a71

While communicating with an apparently broken CAN node, the communication from the CANtact can get permanently blocked in the sense, that afterwards the adapter apparently won't transmit any new frames from the PC to the CAN bus even after resetting the broken target node or attaching the working CAN node instead. With a reset CANtact the same client software commit works next to flawlessly talking to a working CAN node, therefore the problem is probably not related to the client.

$ bootloader_flash -i can0 1 -c "Test" -f test.elf
Flashing firmware, size: 78380 bytes
Erasing pages...
N/A% (0 of 78380) |                                                                                                                                                 | Elapsed Time: 0:00:01 ETA:  --:--:--
ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)
  5% (4096 of 78380) |#######                                                                                                                                        | Elapsed Time: 0:00:01 ETA:  0:00:22
ERROR:root:Board 1 reports error 2 (datagram error)

ERROR:root:Board 1 reports error 2 (datagram error)
 13% (10240 of 78380) |##################                                                                                                                            | Elapsed Time: 0:00:03 ETA:  0:00:25WARNING:root:Socket transmission timed out.
WARNING:root:Socket transmission timed out.

ERROR:root:Board 1 reports error 6 (datagram timed out)
WARNING:root:Socket transmission timed out.
WARNING:root:Socket transmission timed out.