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.

AM2434: custom flash verify fail with python script flashing sbl_ospi

Part Number: AM2434
Other Parts Discussed in Thread: UNIFLASH

hi guys, i'm deal with a problem in flashing standart texas sbl_ospi with a custom flash.

i ran the flash_io e flash diag programs and there was no problems, the micro communicate properly with the flash.

When i run the uniflash python script to flash the sbl on the flash, something goes wrong. it seems that the number of bytes calculated by the scripts and the bytes size of the sbl don't look the same.

Executing command 3 of 3 ...
Command arguments : --file=C:/Users/rosario.fria/workspace_v12/HT-NET_sbl_ospi/sbl_ospi.Release.hs_fs.tiimage --flash-offset=0x00 --operation=flash
Sending C:/Users/USER/workspace_v12/HT-NET_sbl_ospi/sbl_ospi.Release.hs_fs.tiimage: 15%|██████████▏ | 45276/301893 [00:05<00:23, 11142.83bytes/s]

Executing command 3 of 3 ...
Command arguments : --file=C:/Users/rosario.fria/workspace_v12/HT-NET_sbl_ospi/sbl_ospi.Release.hs_fs.tiimage --flash-offset=0x00 --operation=flash
Sent C:/Users/USER/workspace_v12/HT-NET_sbl_ospi/sbl_ospi.Release.hs_fs.tiimage of size 301861 bytes in 29.77s.
[STATUS] ERROR: Flash verify failed !!!

the sdk python script file name is: uart_uniflash.py 

command 1 and command 2 were completed with success.

Someone can help me?