Hello
My application is based on your bootloader (secure_bootloader_uart_mbr_pca10056) and your example "ble_thread_dyn_mtd_coap_cli".
err_code = sd_power_gpregret_clr (0, 0xffffffff); VERIFY_SUCCESS (err_code); err_code = sd_power_gpregret_set (0, BOOTLOADER_DFU_START); VERIFY_SUCCESS (err_code); nrf_pwr_mgmt_shutdown (NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU);
The problem I have is that the device no longer responds to UART commands after entering the bootlaoder.
Test performed:
1. Generate bootloader setting
2. Merge bootloader with bootloader_setting and the application and the softdevice
3. Flash the device
4. Send command to return in the bootloader and to switch in DFU mode
5. Send the "start packet" of DFU -> the device no longer responds
When I generate my complete.hex file from the secure_bootloader_uart_mbr_pca10056_debug, everything works fine. But if I do it with the other (secure_bootloader_uart_mbr_pca10056), I have this problem ...
If I do it with the normal bootloader (secure_bootloader_uart_mbr_pca10056) but I start debugging with my Segger (it rewrites the mbr and the bootlaoder before to begin the debugging) it also works ...
- 00FAE7E = 0x21 (before (NOK)) = 0x22 (after (OK))
- 00FAE80 = 0x22 (before (NOK)) = 0x21 (after (OK))