Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello TI team,
We made minimum change on sbl_uart_uniflash project and sbl_ospi project (from SDK 09.00) for our customed SPI flash part. TI suggested to switch to SYSFW from 10.0. To minimum the change scope, we cherry-picked SYSFW from SDK 10.0. So the setup is sbl_uart_uniflash and sbl_ospi (from SDK 09.00 and minimum change is done to use our flash) with SYSFW from SDK 10.0.
We see the following issues when loading the FW from UART:
$ python uart_uniflash.py --cfg default_uart_ospi.cfg -p COM6
Parsing config file ...
Parsing config file ... SUCCESS. Found 3 command(s) !!!
Executing command 1 of 3 ...
Found flash writer ... sending sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage
Sending sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage: 0%| | 0Sending sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage: 0%|
...................
Sending sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage: 320019bytes [00:31Sending sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage: 320020bytes [00:31 Sent flashwriter sbl_uart_uniflash_sysfw10.Debug.hs_fs.tiimage of size 318196 bytes in 31.95s.
Executing command 2 of 3 ...
Command arguments : --file=sbl_ospi _sysfw_10.hs_fs.tiimage --operation=flash --flash-offset=0x0
Sending sbl_ospi _sysfw_10.hs_fs.tiimage: 0%| | 0/379588 [00:00<?, ?bytes/s]send error: expected NAK, CRC, EOT or CAN; got b'>'
send error: expected NAK, CRC, EOT or CAN; got b'>'
send error: expected NAK, CRC, EOT or CAN; got b'>'
send error: expected NAK, CRC, EOT or CAN; got b' '
send error: expected NAK, CRC, EOT or CAN; got b'S'
send error: expected NAK, CRC, EOT or CAN; got b'Y'
send error: expected NAK, CRC, EOT or CAN; got b'S'
send error: expected NAK, CRC, EOT or CAN; got b'_'
send error: expected NAK, CRC, EOT or CAN; got b'R'
send error: expected NAK, CRC, EOT or CAN; got b'E'
send error: expected NAK, CRC, EOT or CAN; got b'G'
Sending sbl_ospi _sysfw_10.hs_fs.tiimage: 0%| | 1/37958Sending sbl_ospi _sysfw_10.hs_fs.tiimage: 0%| | 1/37958Sending sbl_ospi _sysfw_10.hs_fs.tiimage: 0%| | 2/379588 [00:00<40:52:37, 2.58bytes/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