NordicPlayground / nRF51-ble-bcast-mesh

Other
323 stars 121 forks source link

DFU abort due to timeout when using nRF51422_xxAC_serial_debug bootloader #132

Open chriswillecke opened 7 years ago

chriswillecke commented 7 years ago

I have had success in completing Mesh DFU's when using the pre-compiled hex files provided in the test folder of the bootloader as described in the Mesh-DFU quickstart document. When attempting to run a DFU using my own compiled versions of the bootloader the DFU on the slave device aborts after the last transmission due to a timeout. I am using a fresh download of both the 8.1 SDK and the nRF51-ble-bcast-mesh repository. Are there any changes that have to be made to the repository code to generate code used in the test bootloader_serial.hex file?

Hardware: 2x nRF51-DK Software: Keil_v5 Softdevice: S110 v8.0.0 App on "master": app_serial_LED1.hex App on "slave": app_LED1.hex App to be programmed using DFU: app_LED2.hex

Thanks in advance for any insight you can provide on this issue. Chris

trond-snekvik commented 7 years ago

Hi, sorry for the delay.

Have you had any success with the precompiled hex files in /nrf51/bootloader/bin/?

Have you ensured that the bootloader acts as a target, and not a relay in your tests? Is the problem consistent?

The bootloader_serial.hex file in bootloader/bin/ is compiled from the Keil project in the /nrf51/bootloader/arm/ folder, with no changes from the committed codebase.