Hi ,
We are using Cortex-M4(STM32F429IIH6) processor for our IOT project. We are seeing a data corruption when memcpy used, the corruption pattern was identified by feeding a Fixed pattern of size 512 Bytes from Src to Dest using memcpy, and it is not happening in all the iterations.
If you see the image attached below that Data "6 N 7 O" is replaced with 2 Bytes("Highlighted with orange color" 4L).
Can any one tells that what can be the reason for this wired behavior? We are in a critical phase of our project.
Regards,
Krishna Prasad
Thank you for all the valuable suggestions and comments,
We have resolved this issue by Setting RBURST bit in the SDCR Register of SDRAM as per the errata,
Screenshot- 1
But after the fix we saw that the above fix will can introduce SDRAM bank address corruption
Screenshot- 2
Can any one suggest the steps to do the Second or third work around mentioned in the Screenshot- 2 without affecting the Previous fix.
www.st.com/.../en.DM00068628.pdf
Since this is specific to ST device, maybe you should post this question on STM32 forum as well.
https://community.st.com/community/stm32-community/stm32-forum/content