KeyWords: nRF52832 ESB Flash as EEPROM SDK:17.0.0
Hello, I an using nRF52832 developing ESB communicution with other nordic product.
I need to save some infomation, so used flash as eeprom, used the last page of flash: page_127 :
#define USER_CFG_ADDR_ST (127 * 4 * 1024)
#define USER_CFG_ADDR_SP (128 * 4 * 1024)
I used the following functions:
nrf_fstorage_init(&my_fs, p_fs_api, NULL);
nrf_fstorage_erase(&my_fs, USER_CFG_ADDR_ST, 1, NULL);
erase(nrf_fstorage_t const * p_fs, uint32_t page_addr, uint32_t len, void * p_param)
queue_start();
queue_start();
queue_process();
rc = erase_execute(m_p_cur_op);
when the code run here (i debuged with log msg),can't continue run any more.
I don't know what's wrong, can any one tell me what should i do.
my email: [email protected]