Part Number:AWR2944Other Parts Discussed in Thread:UNIFLASH
Hi ti:
我们在全新的芯片上烧录程序时,使用的时uart_boot模式,烧录失败。具体现象如下:
1.shell脚本烧录时仅烧录了60%左右,烧录失败,打印信息为:
C:\ti\mmwave_mcuplus_sdk_04_04_00_01\mcu_plus_sdk_awr294x_08_06_00_28\tools\boot>python uart_uniflash.py -p COM8 –cfg=sbl_prebuilt/awr294x-evm/DDM.cfg
Parsing config file …
Parsing config file … SUCCESS. Found 3 command(s) !!!
Executing command 1 of 3 …
Found flash writer … sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 33%|▋ | 19551/58457 [00:02<00:03, 10174.37bytes/s]send error: expected ACK; got b'\x00' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 35%|▋ | 20580/58457 [00:02<00:03, 10174.37bytes/s]send error: expected ACK; got b'9' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 37%|▋ | 21609/58457 [00:02<00:03, 10614.10bytes/s]send error: expected ACK; got b'8' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 39%|▊ | 22638/58457 [00:02<00:03, 10614.10bytes/s]send error: expected ACK; got b'0' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 40%|▊ | 23667/58457 [00:03<00:03, 10886.00bytes/s]send error: expected ACK; got b'0' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 42%|▊ | 24696/58457 [00:03<00:03, 10886.00bytes/s]send error: expected ACK; got b'0' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 44%|▉ | 25725/58457 [00:03<00:02, 11058.07bytes/s]send error: expected ACK; got b'1' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 46%|▉ | 26754/58457 [00:03<00:02, 11058.07bytes/s]send error: expected ACK; got b'0' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 48%|▉ | 27783/58457 [00:03<00:02, 11202.48bytes/s]send error: expected ACK; got b'2' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 49%|▉ | 28812/58457 [00:03<00:02, 11202.48bytes/s]send error: expected ACK; got b'0' for block 19
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 51%|█ | 29841/58457 [00:03<00:02, 11307.40bytes/s]send error: expected ACK; got b'0' for block 19
send error: NAK received 11 times, aborting.
Sending sbl_prebuilt/awr294x-evm/sbl_uart_uniflash.release.tiimage: 51%|█ | 29843/58457 [00:03<00:02, 11307.40bytes/s]
[ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user,
Power cycle EVM and run this script again !!!
C:\ti\mmwave_mcuplus_sdk_04_04_00_01\mcu_plus_sdk_awr294x_08_06_00_28\tools\boot>
2.用跳冒选择使用uart_boot模式,接通uart上电后串口可以打印启动信息,但是只能持续打印两个C程序就会重启。
3.使用万能表测量硬件电路没有进行电压跳变,一直保持高电平。
初步判断为uart_boot程序运行时间太短,没有烧录完成就触发了软复位,导致烧录失败。
chenhui:
串口打印信息如下:
9800010200000000010402004157523239585800000000000100cdab010402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000CC9800010200000000010402004157523239585800000000000100cdab010402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000CC9800010200000000010402004157523239585800000000000100cdab010402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000CC9800010200000000010402004157523239585800000000000100cdab010402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C
,
Chris Meng:
你好,
请问你使用的是LP877451么?请问是否有通过把LP877451的SPI CSI拉低来关闭PMIC的看门狗功能?
Thanks,
Chris
,
chenhui:
很高兴收到您的回复,确实使用的时使用的是LP877451,我们已经将SPI CSI拉低。
我们将RSTOUT电阻去掉后uart_boot运行时间有明显增加了,但是随机性很强,运行时间不固定。