Toybrick EN

中文 / EN
Toybrick EN»Wiki教程

Connection

  • TB-RK3399ProD: Connect PC's USB Host interface and board's MicroUSB debug interface with USB cable.

  • TB-RK3399ProX: Connect PC's USB Host interface and board's MicroUSB debug interface with USB cable.

  • TB-RK1808M0: Connect PC's USB Host interface, USB2Serial board's MiniUSB interface,and Mini-PCIe2USB board's CON2 interface.

  • TB-RK1808S0: unsupported

  • TB-96AI: Connect PC's USB Host interface and board's MicroUSB debug interface with USB cable.

  • TB-16-AI: Connect PC's USB Host interface and board's MicroUSB debug interface with USB cable.

Note:Detail debug port information, see Section: Board_Guide

Windows Debug

Get port

Open Windows Device Manager to get the port of USB serial port, as shown in the following figure:

Port setting

Open SecureCRT, click "Quick Connect" Button to configure serial, as shown in the following figure:

  1. Port: set the port number what we get from Windows Device Manager.
  2. Baud rate: shoud be set 1500000
  3. Disable flow control: Do not check RTS/CTS

If all items are configured, please click "Connect" button. Now you will get debug information and send command to Board.

Linux Debug

  1. Install minicom

    sudo apt install minicom
    
  2. Run minicom

    sudo minicom
    
  3. Port Setting (Setting is required for the first entry)

    1) Press CTRL-A Z for help

    +-------------------------------+
    | Filenames and paths           |
    | File transfer protocols       |
    | Serial port setup             |
    | Modem and dialing             |
    | Screen and keyboard           |
    | Save setup as dfl             |
    | Save setup as                 |
    | Exit                          |
    +-------------------------------+
    

    2) Port setting:Select "Serial port setup".

    3) Port device setting: Press "A",input"/dev/ttyUSB0", and then press "ENTER".

    4) Disable flow control:Press “F”,and then press "ENTER"

    5) Baud rate:Press “E”,and then press "A" to swtich baud rate, until it shows Current 1500000 8N1", then press "ENTER"

    6) Port setting as shown bellow:

    +--------------------------------------------------------+
    | A -        Serial Device          : /dev/ttyUSB0       |
    | B -        Lockfile Location      : /var/lock          |
    | C -        Callin Program         :                    |
    | D -        Callout Porgram        :                    |
    | E -        Bps/Par/Bits           : 1500000 8N1        |
    | F -        Hardware Flow Control  : No                 |
    | G -        Software Flow Control  : No                 |
    +--------------------------------------------------------+
    

    7) Exit port setting:Press "ENTER" to return

    8) Save configuration: Select "Save setup as dfl"

    8) Exit:Selct "Exit"

Products Store Community Wiki Download About TB


To Top