STM32 PROGRAMMER 2.14 DOWNLOAD FAIL --> custom external loader
Hi all,
we have developed an external loader to write a SPI flash. Start address is 0x9000000
The loader was written following the ST procedure and disabling all interrupts.
All works good but for file of dimension greater than 500k the download fail.
For example for a file of more or less 196k we saw from our custom UART terminal that Cube programmer split the file into two pieces of roughly 90k. At the end of the first chunk we correcly see that Cube programmer change write address to 0x90016300
Bytes written: 90368
Bytes written: 90624
WRITE RECEIVED ADDRESS 90016300
BYTES TO WRITE 91028
Bytes written: 90880
Bytes written: 91136
When the download fail (with a file of 900k) the programmer split the file in pieces of roughly 300k
From consolle output --> BYTES TO WRITE 339968
We see that file download is going on up to 112896 then the Programmed perform a reset and start to write again from the first location!!!
Bytes written: 112640
Bytes written: 112896
INIT --> Reset occurs!!!
WRITE RECEIVED ADDRESS 90000000 ---> start again!!!
Have you any hints?
Thank you
Best regards
