RAM parity function on the STM32G071RB breaks code execution? In short: When i clear the RAM_PARITY_CHECK bit in the option bytes (FLASH_OPTR bit 22), the program (in flash) will not run. Is this a hardware bug or am i doing something wrong?
I'm working on the NUCLEO-G071RB development board, using the IAR-EWARM (8.50.9) tool-chain.
I've created a very basic program that only toggles user led (LD4) at 500ms intervals (using a wait loop with NOP instructions).
The program doesn't use RAM (however it is initialized by the start-up code from IAR).
With the RAM_PARITY_CHECK option bit set, the program runs as expected and the led blinks every 500ms.
When i clear the RAM_PARITY_CHECK option bit (using STM32CubeProgrammer) the program doesn't run,
and the debug environment of IAR points to address 0xFFFFFFE when i halt the processor.
When the RAM_PARITY_CHECK option bit is restored (set) again, the program again executes as expected.
What can be the cause of this strange behavior?
