# RTT2UART **Repository Path**: lingyuner/RTT2UART ## Basic Information - **Project Name**: RTT2UART - **Description**: 一个开源的JlinkRTT转串口工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-10 - **Last Updated**: 2025-07-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RTT2UART ***Note: Installed a virtual serial port tool like [com0com](http://com0com.sourceforge.net/) before use this tool !*** ![VirtualSerialPort.png](./picture/VirtualSerialPort.png) ## How to use * Step1: selete the device and click *OK* ![RTT2UART.png](./picture/RTT2UART.png)![SeleteDevice.png](./picture/SeleteDevice.png) * Step2: config the target interface and speed * Step3: tick the *Reset target* option will reset the target once connected * Step4: scan then selete the ***virtual COM port*** like *com4* and baud rate * Step5: click start to connect the target * Step6: selete another com port of the com port pair like *com5* ![serialcomtool.png](./picture/serialcomtool.png) ## Update the device lists > Note: Starting with version v2.0.0, there is no need to update ***JLinkDevicesBuildIn.xml*** file manually! if can't find the device you want, follow the picture below and replace the ***JLinkDevicesBuildIn.xml*** file in the path of this tool. ![exportdevicelist.png](./picture/exportdevicelist.png) ## Package the program with pyinstaller Open *cmd.exe* in the project path and input follow command `pyinstaller --onefile --name rtt2uart --noconsole -i .\swap_horiz_16px.ico .\main_window.py` ## Development ### Create UI python class execute the following command in a terminal ``` pyside6-uic .\rtt2uart.ui -o .\ui_rtt2uart.py pyside6-uic .\sel_device.ui -o .\ui_sel_device.py ``` ### Create source file python class execute the following command in a terminal ``` pyside6-rcc .\icons.qrc -o .\rc_icons.py ```