To debug local python applications that send data to the serial port, you must use a virtual COM port pair to see the debug prints. A virtual COM port pair consists of the following two virtual COM ports that are connected internally:
• Port connected to Eclipse
• Port opened from a COM port terminal
In Linux:
To create the COM port pair on Linux, enter the following command:
socat -d -d pty,raw,echo=0 pty,raw,echo=0
The console displays the names of the new COM ports that were created.
To view the debug prints, use a minicom terminal.
In Windows: You can use free tools to create virtual COM ports (such as http://com0com.sourceforge.net/).
Use a COM port terminal (such as, https://ttssh2.osdn.jp/index.html.en) to read the output.
|
Note: These links for downloadable software are third party software that is not affiliated to Telit and are included here as possible suggestions only to assist the user. |