Good afternoon.
I have bought a "nRF51822 Bluetooth Smart Beacon Kit (nRF6930, Rev 1.3.0)" this is the first time I work with this, docs say that it has installed softdevice s110 with sdk 7.
The problem is that I was testing a modification of the beacon program with sdk 12.2.0 and softdevice s130 2.0.1 in my nrf51-dk, now I need to use this program in the smart beacon kit. I checked if I could use softdevice 130 on my beacon here and here, is compatible with sd 130.
I have read a lot of posts of beacons about how could I program it, one of these, other of these, I have seen that I can program beacon using segger, cable adapter TC2030, J-Link LITE CortexM programmer.
I need to program beacon with an over the air update using mobile app. I have tried pressing the button on the beacon and after with "nRF Beacon app", uploading first softdevice but I recieved an error "init packet required". I was looking for about program OTA and init packet and I have found some posts from 2014-2015 where says I need to generate init packet (with bootloader, softdevice and application) using "nrfutil" command , I have read "nrfutil v2.2.0 User Guide" and Android-nRF-Connect.
My questions are:
- Bootloader is allways necesary?.
- I saw this example
nrfutil dfu genpkg --application [application].hex --application-version [version] --softdevice [softdevice].hex --bootloader [bootloader].hex --dev-type [type] --dev-revision [revision] --sd-req [list of supported Soft Device ids] [name of the distribution packet].zip
I have application.hex and softdevice.hex but I don´t know what are the others parameters and where/what bootloader I need to use.
Thanks.
Javier.