TI中文支持网
TI专业的中文技术问题搜集分享网站

AM2732: 使用python uart_uniflash.py烧录无反应

Part Number:AM2732Other Parts Discussed in Thread:UNIFLASH, TIDA-020047

hi,

我使用python uart_uniflash.py烧录我们自己打样的TIDA-020047板子,烧录失败,监测串口数据,无数据下发,如下图,请问是什么原因?

miles meng:

python uart_uniflash.py -p COM22 –cfg=sbl_prebuilt\am273x-evm\default_sbl_qspi.cfg

Parsing config file …Parsing config file … SUCCESS. Found 3 command(s) !!!

Executing command 1 of 3 …Found flash writer … sending sbl_prebuilt/am273x-evm/sbl_uart_uniflash.release.tiimageSending sbl_prebuilt/am273x-evm/sbl_uart_uniflash.release.tiimage: 0%| | 0/53542 [00:00<?, ?bytes/s]

,

miles meng:

python版本号:

C:\ti\mmwave_mcuplus_sdk_04_04_00_01\mcu_plus_sdk_am273x_08_05_00_24\tools\boot>python –versionPython 3.7.3

,

miles meng:

在上电之后,我在串口调试助手里面  看不到 字符 “C”  

,

Shine:

请问您的板子和TIDA-020047一模一样吗?同样的操作在TIDA-020047可以吗?

,

miles meng:

模块问题,换个模块就行了

,

miles meng:

 第一个指令正常了,第二个指令 无响应,是什么情况呢?

,

miles meng:

你好,是用的TIDA-020047的打板资料做的板子,PMIC电源还没有输出,调了半个月了,现在是外部给各路电源供电来调的。

,

miles meng:

cfg文件如下:

#—————————————————————————–## ## DEFAULT CONFIGURATION FILE TO BE USED WITH THE FLASHWRITER SCRIPT ## ##—————————————————————————–### By default this config file,# – points to pre-built flash writer, bootloader for this EVM# – The application image points to relative path of the ipc echo application image for this EVM# – Make sure this application is built before running this script# – You can customized this config file to point to your own bootloader and/or application images# – You can use –operation=flashverify if you just want to verify the flash contents and not flash the file.#

# First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files–flash-writer=sbl_prebuilt/am273x-evm/sbl_uart_uniflash.release.tiimage

# Now send one or more files to flash or flashverify as needed. The order of sending files does not matter

# When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0–file=sbl_prebuilt/am273x-evm/sbl_qspi.release.tiimage –operation=flash –flash-offset=0x0

# send the application image to flash. Flash it at 0xA0000 as the SBL expects it at this location–file=sbl_prebuilt/am273x-evm/empty_system.appimage –operation=flash –flash-offset=0xA0000

,

Shine:

miles meng 说:你好,是用的TIDA-020047的打板资料做的板子,PMIC电源还没有输出,调了半个月了,现在是外部给各路电源供电来调的。

miles meng 说:模块问题,换个模块就行了

建议先检查一下板子硬件问题,PMIC电源的输出问题先解决一下。

,

miles meng:

外部供电,可以烧录第一个文件了呀,为什么第二个文件烧录不了呢?可能会在哪些地方存在问题?

,

Shine:

可以先在TIDA-020047操作一下,同样的代码,同样的操作步骤如果在EVM板上可以的话,那就可能是板子的硬件问题了。

赞(0)
未经允许不得转载:TI中文支持网 » AM2732: 使用python uart_uniflash.py烧录无反应
分享到: 更多 (0)

© 2025 TI中文支持网   网站地图 鲁ICP备2022002796号-1