This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can't erase nRF51 flash?

I need to save data to flash on an nRF51422. I already have same basic thing working on an nRF52, so I figured the same API calls would work, but they don't. My main symptom is that sd_flash_page_erase() always returns NRF_ERROR_FORBIDDEN no matter what page I try to write to on the nRF51. I see this difference even if I try to erase flash first thing in main() on both chips. The function works as expected in the 52, but not the 51.

Is there some default difference in write access between the chips?

I'm using the s130 softdevice on the nRF51 and the s132 on the nRF52.

Parents Reply Children
No Data
Related