Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rock/Serial debug tools Setting

< Rock
Revision as of 07:50, 13 December 2013 by PeiYao Wang (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Serial debug tools Setting under Windows

Here we use putty as an example to show us how to set the serial debug tools.

Double click the Putty.exe, you will see the interface like:

Serial debug 0.png

Select the Serial, Fill the Serial line with the right serial port,and the Speed with 115200

Serial debug 2.png

You can get the serial port here:

Serial debug 1.png

Finish setting , Click Open the putty will work

Serial debug 3.png

Serial debug tools Setting under Linux

Here we still use putty as an example. when start putty firstly you will see this interface:

Serial debug linux 0.png

Select the Serial, Fill the Serial line with the right serial port,and the Speed with 115200

Serial debug linux 1.png

How to get the serial port .First cat /proc/tty/drivers, to make sure is there driver support(radxa board is connected with pc via USB so the device name should be usbserial)

Serial debug linux 2.png

Here we find the line

usbserial            /dev/ttyUSB   188 0-253 serial  

which tell us the driver is ok, then cd /dev/ to confirm whether is there device named ttyUSB* . you can Insert unplug the usb to get the right device.

Serial debug linux 3.png

Finish setting, Click Open the putty will work!

Serial debug linux 4.png


Note:

1、Under Ubuntu If you got the following error – “Unable to open connection to: Unable to open serial port“. you can see

 http://jesin.tk/fix-serial-port-permission-denied-errors-linux/