Hello,
I'm using nRF51, SDK10, S110 beacon example with dfu service.
What I have done are listed as below:
- merged softdevice8.0 and bootloader to sd_bl.hex and flashed it to custom module.
- $ nrfjprog.exe --memwr 0x03fc00 --val 0x1 $ nrfjprog.exe --memwr 0x03fc04 --val 0x0 $ nrfjprog.exe --reset
- flashed beacon application to custom module.
- $ nrfjprog.exe --memwr 0x10001080 --val 0x00011234 (--> beacon major & minor value)
The beacon advertising works well but can NOT OTA DFU by Master Control Panel. The module can be triggered to enter DFU mode but error on uploading firmware. The error message is "Error during firmware upload. Disconnected from device while waiting for response for INITIALIZE DFU".
But if the module just flashed firmware from step 1 to 3, the DFU works.
Does it means the error occur on writing UICR? Or is there any way to write the beacon major & minor value to be the default value?
Thanks.
Sara