Hi
My application with SDK11 S132 softdevice is having some unknown issues that will make wdt or hard fault handler happen. And I am trying to use the following code to access the flash memory in wdt
sd_flash_page_erase( page_num ); nrf_delay_ms(50); sd_flash_write( calib_addr, program_word, 25 ); nrf_delay_ms(50);
but it jumps to hard fault handler. How can I implement the mechanism even in hard fault, wdt, bus fault handler to store some important indicators in the flash so that I can still get the information in the next boot up?