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

OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit

HI,

I purchased the nRF51822 Bluetooth Smart Beacon Kit (I knew it's discontinued) to perform a quick and simple POC (put my custom 31 bytes for the beacon to advertise the same manner I POC'ed with a laptop -> (  hcitool -i hci0 cmd 0x08 0x0008 {31 bytes} )

Before I start my customization I thought I'd check how I OTA DFU the precompiled hex to the beacon kit.

I tried using Android device and Nrf-Connect and Nrf-Beacon but I can't seem to get it to work.

I also tried to create a zip package from the application hex file but it didn't help as well, to generate the zip I did:

C:\nRF51822 Beacon v1.1.1\Precompiled hex> nrfutil pkg generate --application nrf51822_beacon_app.hex app_dfu_package.zip --hw-version 51 --sd-req 0x88 --application-version 0xFFFFFFFF

So before I dive in with logs and stuff, I'm pretty sure I'm off track and I just need a push in the right direction.

Can someone please shed some light on the correct process?

  • Thanks.

    Zipping the precompiled wit he snippet you sent and DFU'ing it helped and the beacon is transmitting again.

    However, using the same snippet I can't seem to run my own compiled HEX on the beacons. As far as I was able to under I need to compile a pca20006 s100 makefile for compatibility.

    In SDK10 I found 

    sdk10/examples/ble_peripheral/experimental_ble_app_eddystone/pca20006/s110/armgcc

    But compiling it and DFU'ing it to the beacon the bacon will not advertise anything again.

    Trying to use the customized SDK for this product compiling is too hard, the Makefiles ha wrong directory depth in them and I wasn't able to get it to compile.


    ( nRF51822 Beacon v1.1.1/Source Code/nrf51_beacon/ble_app_beacon/pca20006/s110/armgcc )

    But I'm not sure there is any point in trying if I can't seem to find another "pca20006/s110/armgcc" example that works 

Related