This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DFU Question

Hello,

I'm using nRF51, SDK10, S110 beacon example with dfu service.

What I have done are listed as below:

  1. merged softdevice8.0 and bootloader to sd_bl.hex and flashed it to custom module.
  2. $ nrfjprog.exe --memwr 0x03fc00 --val 0x1 $ nrfjprog.exe --memwr 0x03fc04 --val 0x0 $ nrfjprog.exe --reset
  3. flashed beacon application to custom module.
  4. $ 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

Related