cancel
Showing results for 
Search instead for 
Did you mean: 

errors in data being read from program space causing crc check to fail

SORei.1
Associate II

Hello,

    I am using an STM32G0B0. My problem is, when my bootloader is calculating the CRC for the application that resides in program space, some of the data read from program space will be incorrect causing the CRC check to fail. My testing and checking revealed I received 5 incorrect bytes out of 448KB

If i go back and read the locations where these incorrect bytes came from, the debugger reveals that those locations read correct!

So, It appears that there is some form of data corruption occurring when reading from the program space, and it is not consistent.

Has anyone experienced this before?

Could this issue be related to the "Prefetch failure when branching across flash memory banks" errata? (as I have had to disable the prefetch on this micro because i was experiencing that exact problem)

Thanks

Stuart

 

 

 

1 REPLY 1

> My testing and checking revealed I received 5 incorrect bytes out of 448KB

How? Where?

Could you reduce it to a minimal but complete compilable/working code/binary/elf exhibiting the problem and post, so that we can try to reproduce it?

JW