Difference between revisions of "How to debug"
From ESS-WIKI
Yunjin.jiang (talk | contribs) |
Yunjin.jiang (talk | contribs) |
||
Line 6: | Line 6: | ||
*[http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41 PL2303] | *[http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41 PL2303] | ||
*[https://sparks.gogo.co.nz/ch340.html CH340] | *[https://sparks.gogo.co.nz/ch340.html CH340] | ||
+ | |||
+ | |||
Line 36: | Line 38: | ||
Please connect device's TX to usb2uart adapter's RX and device's RX to usb2uart adapter's TX . | Please connect device's TX to usb2uart adapter's RX and device's RX to usb2uart adapter's TX . | ||
+ | |||
+ | |||
Line 48: | Line 52: | ||
*Parity :None | *Parity :None | ||
*FlowControl:None or XON/XOFF | *FlowControl:None or XON/XOFF | ||
+ | |||
+ | |||
+ | |||
+ | = Debug on windows = | ||
+ | |||
+ | Install usb2uart adapter's driver. Connect adapter to PC , you will find COM port like : | ||
+ | |||
+ | [[File:RK3288 Debian Debug Port Number.png|800x572px|RK3288 Debian Debug Port Number.png]] | ||
+ | |||
+ | Putty is very populate tool. [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Download putty here.] | ||
+ | |||
+ | Run PUTTY.exe, select Connection type of "Serial" , input COM port found in Device Manager. | ||
+ | |||
+ | Set Parameter like : | ||
[[File:RK3288 Debian Debug Port Config.png|RTENOTITLE]] | [[File:RK3288 Debian Debug Port Config.png|RTENOTITLE]] | ||
+ | |||
+ | Then Click "Open" to start debug console. |
Revision as of 09:20, 25 March 2019
USB2UART Bridge
There are plenty types of usb to uart bridge in the market . Most of them use the following chip :
Hardware PIN define
RSB4680 debug port pin define :
PIN | PIN Name |
1 | NC |
2 | TX |
3 | RX |
4 | GND |
Note :
Please connect device's TX to usb2uart adapter's RX and device's RX to usb2uart adapter's TX .
UART parameter
- BaudRate:115200
- DataBits :8
- StopBits :1
- Parity :None
- FlowControl:None or XON/XOFF
Debug on windows
Install usb2uart adapter's driver. Connect adapter to PC , you will find COM port like :
Putty is very populate tool. Download putty here.
Run PUTTY.exe, select Connection type of "Serial" , input COM port found in Device Manager.
Set Parameter like :
Then Click "Open" to start debug console.