am5728串口启动的流程是怎样的?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好:
我使用的串口工具是pinocom,在参考您提到的TRM中的相关章节之后,串口参数设置为115200 8 bits EVEN parity 1 stop-bit:
gc@gc-virtual-machine:~$sudo picocom -b115200 -d8 -pe -fn -s "sx -kb" /dev/ttyUSB0
picocom v1.7
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : even
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sx -kb
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,
Terminal ready
*** file: u-boot-spl.binsx -kb u-boot-spl.bin
Sending u-boot-spl.bin, 581 blocks: Give your local XMODEM receive command now.
Xmodem sectors/kbytes sent: 0/ 0kRetry 0: Got 01 for sector ACK
Retry 0: NAK on sector
Retry 0: Got 01 for sector ACK
Retry 0: NAK on sector
Retry 0: Got 01 for sector ACK
...
Transfer incomplete
*** exit status: 128
A!VA!VA!...
没有成功。
并且参考http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide#Using_UART,这个地方的叙述和芯片手册所讲的不同,但是将设置串口参数为115200 8N1 也没有成功。
请求帮助....
你好:
我使用了一个脚本文件,在wiindows下的执行命令:perl serial-boot.pl -p com3 -s c:\perl\u-boot-spl.bin -d 1
提示的错误是:invalid COMMPROP block length= 66 at serial-boot.pl line 223.
could not open port com3:No such file or directory
在ubuntu中执行:perl ./serial-boot.pl -p /dev/ttyUSB0 -s u-boot-spl.bin -d1 -t40
得到如下结果
gc@gc-virtual-machine:4$perl ./serial-boot.pl -p /dev/ttyUSB0 -s u-boot-spl.bin -d1 -t40
BYTES=74376 file_bytes=88220100 prefix_bytes=020003f0 string bytes=020003f088220100
----Please reset the Board NOW (timeout=40 sec)----
80 04 01 05 01 56 41 07 02 13 02 01 00 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 21 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Board Detected
.
waiting for draining 40
TIOCSERGETLSR(21593) ioctl failed: Inappropriate ioctl for device at ./serial-boot.pl line 360.
waiting for draining 39
TIOCSERGETLSR(21593) ioctl failed: Inappropriate ioctl for device at ./serial-boot.pl line 360.
请问我应该如何解决这个问题呢?
您讲到的使用secureCRT,请问如果使用secureCRT应该如何操作呢?
我之前找到一个参考:https://e2e.ti.com/support/arm/sitara_arm/f/791/p/516467/1884780#pi316653=2
我是按照这个帖子最后的附件操作的,可是我得到了如下结果:
gc@gc-virtual-machine:5$sudo perl ./serial-boot.pl -p /dev/ttyUSB0 -s u-boot-spl.bin -d1 -t40
[sudo] gc 的密码:
BYTES=74376 file_bytes=88220100 prefix_bytes=020003f0 string bytes=020003f088220100
----Please reset the Board NOW (timeout=40 sec)----
1 2 3 4 5 6 7 V8 A9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 !40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 Board Detected
.
waiting for draining 40
TIOCSERGETLSR(21593) ioctl failed: Inappropriate ioctl for device at ./serial-boot.pl line 374.
waiting for draining 39
TIOCSERGETLSR(21593) ioctl failed: Inappropriate ioctl for device at ./serial-boot.pl line 374.
....
请求帮助,如何解决这一困难,如果是CRT的操作步骤,希望可以得到具体的操作截图