This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

flash_page_erase fail on s110

Hi

I using nRF51822 ble_app_uart project with softdevice 7.0.

I need to manage my internal flash memory map so i cannot use pstorage libarytest main.txt.

So i try to use flash_page_erase(addr) and received hardfault error

Parents
  • As Asbjørn stated above, from my experiments I have made with this I can confirm that the issue is that you don't use softdevice functions. Softdevice takes care of numerous interfaces including Flash. You will have to use sd_flash_page_erase. The complete list of all dependencies and where the access to peripheals is restricted and where not is available in softdevice datasheet.

Reply
  • As Asbjørn stated above, from my experiments I have made with this I can confirm that the issue is that you don't use softdevice functions. Softdevice takes care of numerous interfaces including Flash. You will have to use sd_flash_page_erase. The complete list of all dependencies and where the access to peripheals is restricted and where not is available in softdevice datasheet.

Children
No Data
Related