...
ttyGS0 and ttyGS1 in /dev are represented for the USB2.0 serial gadget and the USB3.0 one.
...
...
After connecting the USB2.0 serial gadget and the USB3.0 one to a Windows PC with USB cables, “USB Serial Device (COM17COM6)“ (USB2.0 serial gadget) and “USB Serial Device (COM18COM7)“ (USB3.0 serial gadget) will show up in “Ports (COM & LPT)” in Device Manager.
...
“Prolific UBS-to-Serial Comm Port (COM9)” is the default terminal (UART0) of the SP7350 platform.
...
Serial Device Test
Use the communication tool of Putty Tera Term for the test with a the Windows PC.
TX Test for USB2.0 Serial Gadget
Use the following command to transfer characters of “SP7350 USB2.0 Serial Gadget TX Test“ to COM17 through from ttyGS0 (USB2.0 serial gadget) to COM6.
Code Block |
---|
# echo "SP7350 USB2.0 Serial Gadget TX Test" > /dev/ttyGS0 |
...
The characters will be received by COM17 open in PuttyCOM6 open by Tera Term.
...
TX Test for USB3.0 Serial Gadget
Use the following command to transfer characters of “SP7350 USB3.0 Serial Gadget TX Test“ to COM18 through from ttyGS1 (USB3.0 serial gadget) to COM7.
Code Block |
---|
# echo "SP7350 USB3.0 Serial Gadget TX Test" > /dev/ttyGS1 |
...
The characters will be received by COM18 open in PuttyCOM7 open by Tera Term.
...
RX Test for USB2.0 Serial Gadget
Use the following command to be ready to receive characters transferred from COM17 COM6 through ttyGS0 (USB2.0 serial gadget).
...
Input the characters of “SP7350 USB2.0 Serial Gadget RX Test" in Putty with COM17 COM6 open by Tera Term and press “Enter”.
Code Block |
---|
SP7350 USB2.0 Serial Gadget RX Test |
The characters will be received by
...
ttyGS0.
...
RX Test for USB3.0 Serial Gadget
Use the following command to be ready to receive characters transferred from COM18 COM7 through ttyGS1 (USB3.0 serial gadget).
...
Input the characters of “SP7350 USB3.0 Serial Gadget RX Test" in Putty with COM18 COM7 open by Tera Term and press “Enter”.
Code Block |
---|
SP7350 USB3.0 Serial Gadget RX Test |
The characters will be received by
...
ttyGS1.
...