This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_app_beacon and nRF51822

Hi,

I got the ble_app_beacon_s110_pca10028 from Keil_v5 Pack Installer to compile. I followed the step to use nrfutil.exe to generate a zip file. But when I did the DFU using the Android App, now I can't get the device to work or to get back to DFU mode.

Please note that I only have the nRF51822 beacon kit. I do not know how to recover from this state. Can you please help? Thanks, Shiv

  • Did you create a zip with application update or a softdevice/bootloader update?

    If you tried to upload an application update zip then you should be able to recover by unconnecting the battery and plug it in again while pressing SW1 button, then it should start in bootloader mode again.

    Update 28.10.2015 I think you can follow PART 1 on this thread to program again the beacon onto the beacon kit. Additionally, there is good advise on this thread upload an application from the SDK to the beacon kit

  • Thank you Stefan, I tried holding the SW1 but did not succeed, I am now waiting to receive Segger, TC2030 cable and the TC adapter (should get it in the next day or two). Can you please tell me how to get back the device in its beacon mode using Jlink, I am still trying to understand all the pieces, so we will be grateful for any help.

  • Thank you Stefan, I am very sorry for the delay. following PART 1, I am again able to see the device on the master control panel (on an Android phone) as a BPS device.

    But when I went to the next step, I again could not make progress with the blinky app. Here are the steps:

    1. Download the SDK 9. 2. Use nRFgo to program the precompiled components\softdevice\s110\hex\s110_softdevice.hex
    2. As suggested, open examples\dfu\bootloader\pca10028\dual_bank_ble_s110\arm5_no_packs project in Keil uVision 5.16.
    3. Make changes to IROM1, IRAM1, IRAM2, etc. Compile.
    4. Erase all. Load the softdevice, followed by dfu hex file. I get an error:

    This hex file has data in SoftDevice region. Try programming using "Program SoftDevice", or erase all before programming.

    Please help, Thanks, Shiv

Related