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

Any Over the air DFU for nordic 51 boards, e.g. pca10028?

Hi, I followed through this tutorial:

https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader

But to my frustration I realized that all the DFU example included in the SDK 13'S EXAMPLE/DFU/

were prepared for nrf52 devices.

Where can I get an nrf51 one please?

Edit: incidentally I managed to find one that looks similar in sdk 12.3, there is this "nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028\" example. Is it also over the air upgrade? If so could you please also tell me where are the lines which triggers the bootloader mode? After a cursory look I failed to find them.

Parents
  • Hello,

    I think you found it, but yes. It i the same over the air bootloader.

    The nRF51 series was supported until SDK12.3.0. The SDKs after this, SDK13.0.0 --> ... is only supported by the nRF52 series.

     

    Side note: If you have not used the DFU before, I recommend reading through this blog post.

     

    Best regards,

    Edvin

  • >but yes. It i the same over the air bootloader.

    Strange I can see my nrf52 board with nrf52 example but not with my nrf51 pca10028 board in nrf toolbox? Are you sure it's also OTA?

  • 1, What example are you referring to where button 4 initiates the bootloader?

    2, It will still be supported/sold, but there will not be any SDK updates for the nRF51. It is now replaced by the nRF52 series (nRF52810)

    3, Yes. It is OTA. The blog post that I linked to in the previous reply shows how to use the OTA Bootloader in SDK 12, step by step. Try to find it with nRF Connect (app or desktop) if you can't find it in nRF Toolbox. I have not tested it with nRF Toolbox, but it should work in nRF Connect.

    I see that there are some difficulties using the nRF51 and Keil in the bootloader_secure example. It skips uploading the UICR. Can you please try to download the firmware to the nrf using the nrfjprog commands below? You may have to adjust your paths, but if you have not changed anything, and open cmd in the folder SDK12.3.0\examples\dfu\bootloader_secure\pca10028\arm5_no_packs, the command should be the following:

     

    nrfjprog -e && nrfjprog --program ..\..\..\..\..\components\softdevice\s130\hex\s130_nrf51_2.0.1_softdevice.hex --verify && nrfjprog --program _build\nrf51422_xxac_s130.hex --verify && nrfjprog --reset

     

    Then you should see LED 1 and LED 3 switching on, and it will advertise as "DFU Targ". Can you see if you get the same?

     

    Best regards,

    Edvin

Reply
  • 1, What example are you referring to where button 4 initiates the bootloader?

    2, It will still be supported/sold, but there will not be any SDK updates for the nRF51. It is now replaced by the nRF52 series (nRF52810)

    3, Yes. It is OTA. The blog post that I linked to in the previous reply shows how to use the OTA Bootloader in SDK 12, step by step. Try to find it with nRF Connect (app or desktop) if you can't find it in nRF Toolbox. I have not tested it with nRF Toolbox, but it should work in nRF Connect.

    I see that there are some difficulties using the nRF51 and Keil in the bootloader_secure example. It skips uploading the UICR. Can you please try to download the firmware to the nrf using the nrfjprog commands below? You may have to adjust your paths, but if you have not changed anything, and open cmd in the folder SDK12.3.0\examples\dfu\bootloader_secure\pca10028\arm5_no_packs, the command should be the following:

     

    nrfjprog -e && nrfjprog --program ..\..\..\..\..\components\softdevice\s130\hex\s130_nrf51_2.0.1_softdevice.hex --verify && nrfjprog --program _build\nrf51422_xxac_s130.hex --verify && nrfjprog --reset

     

    Then you should see LED 1 and LED 3 switching on, and it will advertise as "DFU Targ". Can you see if you get the same?

     

    Best regards,

    Edvin

Children
No Data
Related