Are you trying to debug via the serial port, or are you trying to just use the serial port?
Usually, when you use the serial port for debugging, you want to use the USB client port
for another purpose, and therefore need to move the debugging functionality from
the USB client port to a serial port.
You are trying to use the serial port for an echo server. Why do you want to move
debugging and loading to the serial port?
Also tx->tx and rx->rx is incorrect. tx->rx and rx->tx is the correct wiring.
I want use a serial port for upload and debug, because i need the usbhost for BT connection
unable to use it, I tried to create an echo server to try to work eblock.
now i inverted a plug, tx -> rx and rx ->tx and panda can send a string to pc, but i cant send a message to panda, because i don’t know what is a correct char for terminate a command cr or lf
Tx->Rx and Rx->Tx, unplug MOD, it’s work
Solved for echo server. Thank you for help!
Now, i need to understand why i can’t upload and debug via serial port, Tx->Rx and Rx->Tx, plug MOD and GND.
i receive this error: Error 1 Device not found or cannot be opened - Serial:COM2
(in Device Manager i have only USB Serial Port (COM2) )
@ Mike,
yes, when i plug the usb, appearing a COM2
following GHI Electronics – Where Hardware Meets Software at Serial (COM) Debugging i listen the sound only when i plug the usb of serial port (like the guide) but the ping don’t have answer