Linux Host: Linux 5.13.0-37-generic @ Ubuntu 20.04.1
Connection to the Pumpkin board:
- Plug a UART/serial cable in the connector labelled as USB DEBUG on the board, and to the host machine. (Note: The UART/serial cable should be microUSB to USB type-A. Through testing, I found that not all kind of serial cable can be used to link board with your host successfully. An OTG cable is recommended. Therefore, when you failed to detect board in your host, please try to change another cable.)
- Plug the USB-C power cable into the board and the USB charger.
Check whether the board has been detected:
Method 1:
-
sudo -i **click your root password** ls /dev/ttyUSB*
- A line similar to this should appear:
-
/dev/ttyUSB0
Method 2:
-
dmesg | grep FTDI
- A line similar to this should appear:
-
[ 1296.699666] ftdi_sio 2-3:1.0: FTDI USB Serial Device converter detected [ 1296.700109] usb 2-3: FTDI USB Serial Device converter now attached to ttyUSB0
Meaning that the board has been detected as /dev/ttyUSB0 (other names are also possible according to your HOST.)
Hello @hight,
1) OTG micro-USB cable
In theory you don't need a OTG micro-USB cable since the Pumpkin always acts as device when using the debug port.
We have tested with normal cables and we didn't find any problem.
Nevertheless, we miss some information from MediaTek regarding this port and it may be possible that the kind of cable has some influence. I'll take a look at this.
2) Detection of the USB-serial
There is nothing special to do, it's just a regular USB-serial.
In general it is preferable to use the following commands: "dmesg | grep tty"
The output give you information about of all the USB-serial detected and the device files associated (/usb/ttyUSB0 if you just have one).
You can also use "lsusb" to list all the USB devices detected.
BTW usually you don't need root privileges to list devices, you can just type "ls /dev/ttyUSB*"
Regards,
Luis
Hello @hight,
1) OTG micro-USB cable
In theory you don't need a OTG micro-USB cable since the Pumpkin always acts as device when using the debug port.
We have tested with normal cables and we didn't find any problem.
Nevertheless, we miss some information from MediaTek regarding this port and it may be possible that the kind of cable has some influence. I'll take a look at this.
2) Detection of the USB-serial
There is nothing special to do, it's just a regular USB-serial.
In general it is preferable to use the following commands: "dmesg | grep tty"
The output give you information about of all the USB-serial detected and the device files associated (/usb/ttyUSB0 if you just have one).
You can also use "lsusb" to list all the USB devices detected.
BTW usually you don't need root privileges to list devices, you can just type "ls /dev/ttyUSB*"
Regards,
Luis
OK.