Other Parts Discussed in Thread: UNIFLASH,
Hello TI team,
We noticed some differences on UART boot during our bringup.
We have seen UART boot failure as below when using uart_uniflash.py from SDK 08.05 folder, which we have used for a long time. However, after we switched to uart_uniflash.py from SDK 09.00, we got some luck to be able to download the same image into AM2432's RAM and it ran successfully.
I tried to compare the differences between the two scripts, but we didn't see much difference. Could TI help us to understand what are the differences that are made in uart_uniflash.py in SDK 09.00 that could cause the differences?
(p3env) pi@jinbos-pi:~/calamari $ python tests/uart-prog/uart_uniflash.py --cfg tests/uart-prog/tmp_rot41_rtm_flash_hs_fs.cfg -p /dev/ttyUSB2 Parsing config file ... Parsing config file ... SUCCESS. Found 3 command(s) !!! Executing command 1 of 3 ... Found flash writer ... sending /home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage Sending /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; got b'\x15' for block 1 Sending /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 ACK; got b'\x15' for block 1 Sending /home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage: 1%|▌ | 3108/316980 [00:02<02:55, 1786.07bytes/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: 1%|▋ | 4144/316980 [00:02<02:55, 1786.07bytes/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: 2%|▉ | 5180/316980 [00:02<01:38, 3152.59bytes/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: 2%|█ | 6216/316980 [00:02<01:38, 3152.59bytes/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: 2%|█▎ | 7252/316980 [00:02<01:08, 4538.50bytes/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: 3%|█▍ | 8288/316980 [00:02<01:08, 4538.50bytes/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: 3%|█▋ | 9324/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: 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]send error: expected ACK; got b'\x15' for block 1 send error: NAK received 11 times, aborting. Sending /home/pi/calamari/tests/uart-prog/sbl_uart_uniflash_0805.hs_fs.tiimage: 4%|█▉ | 11398/316980 [00:02<00:43, 7066.09bytes/s] [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!!
Thanks,
Hong