I am using nRF52832 on my custom board. The SoftDevice, secure bootloader and my custom BLE application are flashed on my flash.
After processing a single GPIOTE event, my firmware gets stuck in GPIOTE_IRQHandler.
It all worked fine when I was testing my application without the bootloader, but when I installed the bootloader and ran the application, my firmware gets stuck at seemingly random locations within GPIOTE_IRQHandler. When I flash the app without bootloader, just with a SoftDevice, everything is fine.
I'm using:
- nRF5 SDK v17.0.2
- SoftDevice S132 v7.2.0
Is there some additional re-initialization necessary after booting through the bootloader ?
As suggested on https://devzone.nordicsemi.com/f/nordic-q-a/38380/gpiote-bootloader_secure-softdevice, I tried modifying the bootloader to call nrf_dfu_transports_close(NULL) before invoking nrf_bootloader_app_start() from nrf_bootloader.c, but this didn't help.
Best regards,
Ivo

