2020-09-03 07:37 AM
I am using an STM32L452CE. I copy an executable (.bin) from Flash to SRAM2. I zero out the remaining SRAM2. I then 'jump' to the executable now in SRAM2. When I have the parity error checking off (FLASH_OPTR_SRAM2_PE = 1) it works fine. When I turn it on it does not work. Any ideas / suggestions would be much appreciated.
Solved! Go to Solution.
2020-09-04 05:16 AM
2020-09-03 04:04 PM
> it does not work
What are exactly the symptoms?
How do you exactly set the parity checking bit, in the option bytes (i.e. programmed into the nonvolatile area), or in the FLASH_OPTR register?
Try reading after writing to SRAM2, before jumping to it.
JW
2020-09-04 05:16 AM
2020-09-04 05:18 AM
Nice catch!
Please select your post as Best so that thread is marked as solved.
JW