I use nrf51822qfaa,s110 v8.00,keil MDK IDE. If the program is wrong,The chip will reset, I want to save some data to the FLASH area before the chip reset. What I need to do? Use pstorage or other? Who can offer an example.
I use nrf51822qfaa,s110 v8.00,keil MDK IDE. If the program is wrong,The chip will reset, I want to save some data to the FLASH area before the chip reset. What I need to do? Use pstorage or other? Who can offer an example.
Hi, we don't have an example for this, but I'd suggest to try using the NVMC directly in your assert handler after disabling the interrupts. The flash write example shows how you can use the NVMC module.
Hi, we don't have an example for this, but I'd suggest to try using the NVMC directly in your assert handler after disabling the interrupts. The flash write example shows how you can use the NVMC module.