Question
STM32L4R9_How to not erase NOR memory at program start
Based on the sample software of FMC_NOR, I am creating a program to store the data received by UART in NOR memory.
Operation content:
(1) Data reception via UART
(2) Write the received data to NOR memory
(3) Use the reset switch to switch to the reception standby state again and erase the NOR memory.
I want to erase the NOR memory only in (3), but the NOR memory is also erased when the program is executed.
How can I branch between program execution and the reset switch?
