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

FStorage event handler interrupts not forwarded by soft device in bootloader

I've developed a little test application on a nrf52832 chip to run fstorage in a bootloader memory address. I followed the nordic guidance to set up, build, and install a bootloader application which launches off the MBR. It has soft device working correctly, as i use other soft device interrupt functionalities like app timers for a service loop and Uart printouts.

Whats bothering me is the fstorage isnt working in it. My sample app waits 3 seconds, then attempts to erase a section of memory in flash (30 ish pages). it never completes, as the interrupt never fires from the soft device (i think). The first page is erased successfully, but no other pages. I've done the same test application in a firmware memory space (0x19000 and up) and it works perfectly. 

Can someone tell me what I've done wrong? I feel like I followed the nordic recommended examples and I cant get this feature functional. I feel like i have to be doing something really dumb. 

Bootloader Test App.zip 

Related