Issue with duplicate flash memory content
Hello,
Here is my issue.
I have a 100 KBytes of code in my flash memory and I need to duplicate this code into another part of the memory.
I use a copy function to read 4 bytes and copy them in the new memory area and repeat this until all memory has been written.
But, almost each try is unsuccessful and severals bytes are not duplicated (~10 to 20) and they are always located at the same flash addresses. (but not continuously)
My MCU is a STM32L151CC.
Does anybody have experienced this ?
Thanks.
#flash-memory #duplicate #flash #flash-programming