Here we should disable the Hardware Flow Control.Many embedded Linux devices will have a serial port on them, which can allow us access at either the bootloader or operating system level. One of the reason would be the wrong setting of the serial tool, such as the Hardware Flow Control, etc. % picocom -b 1500000 -d 8 /dev/tty.usbserial-2130įAQs 1.While using debug console, there is system startup information on the screen, but the keyboard cannot be used to input text? % brew install -build-from-source radxa/picocom/picocom Once finish the setting, press Open button to start. Write rock5 in the Saved Sessions column and press Save.įor category Connection-Serial, do the setting: And do the setting as follows:įor category Session, set serial line as COM3, speed ad 1500000, connection type as Serial. Launch the application Putty on your windows PC. Viewing the device manager you can find the COM number. Plug in the USB to TTL cable to you windows PC. Putty is also great serial tool that supports wide range baud rate. Now run minicom rock5 to use the config above and connects to the ROCK 5 serial console. usb 1-6.4.3: FTDI USB Serial Device converter now attached to ttyUSB0įirst add current user to plugdev group to use minicom without sudo or root.Įdit your ~/.bashrc and add the following line with some default parameterĪlias minicom='minicom -w -t xterm -l -R UTF-8'Ĭreate and edit file ~/.minirc.rock5, add the following content: ftdi_sio 1-6.4.3:1.0: FTDI USB Serial Device converter detected usb 1-6.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-6.4.3: New USB device found, idVendor=0403, idProduct=6001 usb 1-6.4.3: new full-speed USB device number 103 using xhci_hcd Plug in the USB to TTL cable, kernel `dmesg | tail` should show the following device: Minicom is the serial tool that supports wide range baud rate. The default serial setting for ROCK 5 u-boot and kernel console is: If you know how to set custom baudrate on macOS, please add an item here to show your findings.Ĭonnect the USB to TTL serial cable as below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |