Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu16.04 for rk"
From ESS-WIKI
| Line 25: | Line 25: | ||
[[File:Rs485.png|600px|Rs485.png]] | [[File:Rs485.png|600px|Rs485.png]] | ||
| − | Command | + | RK3399 Send Command |
<syntaxhighlight lang="bash">$ sudo su | <syntaxhighlight lang="bash">$ sudo su | ||
| Line 32: | Line 32: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | Please check | + | Please check return 115200 |
| − | <syntaxhighlight lang="bash"> | + | <syntaxhighlight lang="bash"># echo "123456abc" >/dev/ttyUSB0 |
| − | + | </syntaxhighlight> | |
| − | # | + | |
| + | RK3399 Receive Command | ||
| + | |||
| + | <syntaxhighlight lang="bash"># cat /dev/ttyUSB0 & | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:55, 19 August 2019
Contents
Linux BSP Version
Ubuntu16.04_aarch64
Ubuntu 16.04 Release Version
DS100 DIV0009 2019-08-17
Image Download Path
Account and Password for Login
Account : adv Password: adv
OTG port change Host mode
Command
RS-485 Test
RK3399 Send Command
$ sudo su
$ adv
# stty -F /dev/ttyUSB0 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
Please check return 115200
# echo "123456abc" >/dev/ttyUSB0
RK3399 Receive Command
# cat /dev/ttyUSB0 &