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

nRF51822 Beacon won't load application

I tried loading SoftDevice, Bootloader, and Application using the SoftDevice and Precompiled hex files that come from the example code version v1.1.0. I am using nRFgo Studio v1.17.0. SoftDevice programs and verifies fine. Bootloader looks like it programs fine and I start getting the pulsing blue light as described in the user manual for DFU mode. I load the program application and it continues with the blue pulsing light. Holding down SW1 during power up doesn't change anything. Program of the application works but verify fails. The device still shows up as "DfuTarg". I have tried loading the application code using nRFgo and using the iOS nRF Toolbox application with the same results.

As I understand from the documentation if I power up without holding down any buttons and I have application code loaded the bootloader should jump to the application. Is the the expected behavior using the precompiled hex?

Thanks

Parents
  • Hi

    When you have programmed the Beacon kit with the softdevice and the bootloader, you should upload the application with the Android beacon app or with nRFToolbox DFU, provided both for Android and IOS. You can also use DFU located in the DFU tab in the Android nRFBeacon app to upload the new application.

    Note that you will need both application (.hex) and an init file (.dat) to upload the application successfully to the Beacon kit via the bootloader.

    In the apps (Android or IOS), you must first select the application, the init file and the device you want to upload to. If you have installed the Android nrf beacon app version 1.2.3, then you will find the beacon application and the init file in location "Nordic Semiconductor/Board/pca20006/…"

    You can also upload the beacon application via Master Control Panel DFU function as described in the "firmware upgrade procedure" section in the nRF51822 Beacon v1.1.0 firmware documentation, follow steps 11-17 and load the \nRF51822 Beacon v1.1.0\Precompiled hex\nrf51822_beacon_app.hex beacon application. Before uploading, put the nRF Beacon kit into bootloader mode by pressing the SW1 button on the Beacon kit. First look at the section at the bottom of the page in order to provide the Master Control Panel with the correct python files. When the Python files are in place, follow the instructions on the page on how to upload the application to the device via the bootloader.

Reply
  • Hi

    When you have programmed the Beacon kit with the softdevice and the bootloader, you should upload the application with the Android beacon app or with nRFToolbox DFU, provided both for Android and IOS. You can also use DFU located in the DFU tab in the Android nRFBeacon app to upload the new application.

    Note that you will need both application (.hex) and an init file (.dat) to upload the application successfully to the Beacon kit via the bootloader.

    In the apps (Android or IOS), you must first select the application, the init file and the device you want to upload to. If you have installed the Android nrf beacon app version 1.2.3, then you will find the beacon application and the init file in location "Nordic Semiconductor/Board/pca20006/…"

    You can also upload the beacon application via Master Control Panel DFU function as described in the "firmware upgrade procedure" section in the nRF51822 Beacon v1.1.0 firmware documentation, follow steps 11-17 and load the \nRF51822 Beacon v1.1.0\Precompiled hex\nrf51822_beacon_app.hex beacon application. Before uploading, put the nRF Beacon kit into bootloader mode by pressing the SW1 button on the Beacon kit. First look at the section at the bottom of the page in order to provide the Master Control Panel with the correct python files. When the Python files are in place, follow the instructions on the page on how to upload the application to the device via the bootloader.

Children
Related