help debug corrupted memory location
Hi Folks,
I'm stuck with an intermittent error on an array value ( array[0]) , which is sometimes overwritten to value "0" instead of the necessary value.
I'm not able to find the source of this problem, is there any way to debug and intercept which instruction is actually overwriting this specific array location?
The array should be written at turn on, and then never modified.
Using standard debug, it seems the writing routine is never called after initialization, but after some time, array[0] is overwritten with "0"
MCU is STM32U595 and code is written on STM32Cube in C
No hardfault appears nor other unexpected behaviour, except for this array[0] value
Best Regards,
Anton
