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.

[参考译文] AM2432:从 SDK 08.05中使用 uart_uniflash.py 时 UART 加载失败、但使用 SDK 09.00中的 uart_uniflash.py 传递

Guru**** 2522770 points
Other Parts Discussed in Thread: UNIFLASH, AM2432

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1359870/am2432-uart-load-failed-with-uart_uniflash-py-from-sdk-08-05-but-passed-using-uart_uniflash-py-from-sdk-09-00

器件型号:AM2432
主题中讨论的其他器件:UNIFLASH

您好、TI 团队:  

我们在启动期间注意到了 UART 引导的一些差异。  

使用 SDK 08.05文件夹中的 uart_uniflash.py 时、我们已经看到如下 UART 启动失败、这已经使用很长时间了。 不过、在我们从 SDK 09.00切换到 uart_uniflash.py 后、我们很幸运能够将相同的映像下载到 AM2432的 RAM 中并成功运行。  

我试图比较两个脚本之间的差异,但我们没有看到太多的差异。  TI 能否帮助我们了解可能导致差异的 SDK 09.00中 uart_uniflash.py 中所做的差异?  


(p3env)@~ jinbos-pi: /鱿鱼$ python tests/uart-prog/uart_uniflash.py -cfg tests/uart-prog/tmp_rot41_rtm_flash_hs_fs.cfg -p /dev/ttyUSB2 Parsing config file ...解析配置文件...成功。 找到3个命令!!! 正在执行命令1 (共3个)...找到闪存写入器...正在发送正在发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:0%|▏| 1036/316980 [00:01<10:08, 519.31bytes/s_send error:expected▎ACK;gette'\x15' for block 1正在发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:1%|▌|2072/316980 [00:02<10:06, 519.31bytes/s]send error:expected bytes/s, send error:send block 1::1%| got block 072%|/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:1%| goted block.076%|/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:1%| send error:send error 块1发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage 时得到 b'\x15':1%|▋| 4144/316980 [00:02<02:55, 1786.07bytes/s_send error▉:expected ACK; got b'\x15' for block 1 sending:2%|█| 5180/316980|[00:02<01:38, 3152.59bytes/s]s/send error:expected bytes/s, got:b'sent /home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:2%| got b:31501%|/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage 发送错误:b:31502's]1%|b:3116/b:31501's/s, got block 向块1发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:2%|█▎| 7252/316980 [00:02<01:08,4538.50bytes/s_send error:expected ACK;got b'\x15' for block 1 sending█▍:3%|█▋| 8288/316980 [00:02<01:08,4538.50bytes/s]发送错误:expected ACK;got b'\x15' for block 1发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:3%|/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:6%| ead:0388/316980[00:02<00:01:08:08:08:08:08_bytes/s] 已获取 b'\x15'用于块1发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:3%|█▊| 10360/316980 [00:02<00:52, 5868.44bytes/s_send error:Expected ACK;got b'\x15' for block 1 sending /home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:4%|█▉| 11396/316980 [00:02<00:43, 7066.09bytes/s]已发送错误:1'x15'用于块1发送:4%|已收到中断错误:1'x15'。 发送/home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage:4%|█▉| 11398/316980 [00:02<00:43,7066.09字节/s][错误] XMODEM 发送失败、EVM 无响应或响应不正确或用户已取消、对 EVM 进行循环通电并再次运行此脚本!!

谢谢。  
洪  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    提供了一个 UART 勘误表 i2371 (引导:ROM 代码可能在数据传输期间在 UART 引导模式下挂起)、这是这种随机故障的原因。