Hi!
nRF52. S132, SDK13.
I try to use ble_dfu_send_hex example.
- what shoul I do first? via nrf gostudio load SD. correct?
Which SD? from this folder (dfu_test_softdevice_s132) Or usual SD (s132_nrf52_4.0.2_softdevice)
- what should I do next?
Hi!
nRF52. S132, SDK13.
I try to use ble_dfu_send_hex example.
Which SD? from this folder (dfu_test_softdevice_s132) Or usual SD (s132_nrf52_4.0.2_softdevice)
Before you test something like that, please make sure bootloader works, do what i described in the guide, all the step. And let me know if it works. I can't follow you if I don't know what you have tested and what you have not. Also please check appendix 1, you need to create the bootloader setting hex to be able to flash with Jlink.
I folowed all steps. And bootloader work good. I mean: when flash SD and bootloader, I can see advertise DFUTarg. I can connect and uppload firmware .zip prepared before. Once again- it works good. Now I learn appendix 1.
Yes, all work fine. Should read appendix 1) Thanks for help!
Hi again! Sorry. But I can't write from my app
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);
when try to read in the bootloader:
if(NRF_POWER->GPREGRET == BOOTLOADER_DFU_START)
result- not writed. ?
sorry, now works. But after setting 0xB1 and reboot, no DFUTarg advertising.