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

About nrfjprog and nRF connect

from this link

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

I gathered that nrfjprog is for flashing bootloader and softdevice and nRF connect is for flashing the applications.

After reading this I got a few questions:

1.Can you use nRF connect to flash bootloader and softdevice as well?

2. What's the purpose of nRFGo Studio and nRFToolbox app?

3. In the link above, "D1. Flash bootloader and softdevice. Use nRFGo Studio or nrfjprog or the IDE to flash the softdevice first, then the bootloder. Verify the bootloader start advertising as "DFUTarg"."

What is "IDE" here? I use Segger embeded studio for nRF52840 DK. Does that mean I can use Segger to flash SD and BL? If so what are the steps?

4. Before flashing SD/BL/APP, Do we need to load one of the projects from  SDK\examples\dfu onto the board through J-link first?

Thanks!

Parents
  • Hi!

     

    1.Can you use nRF connect to flash bootloader and softdevice as well?

    Yes, you can use the nRF connect for this, just use the SoftDevice or bootloader hex file. 

    2. What's the purpose of nRFGo Studio and nRFToolbox app?

     nRFgo studio is deprecated. nRF Toolbox app is a container app for all of Nordics BLE apps. It contains the DFU app for updating your devices firmware. It also contains apps to test a few profiles. See here for more information.

    What is "IDE" here? I use Segger embeded studio for nRF52840 DK. Does that mean I can use Segger to flash SD and BL? If so what are the steps?

    Yes, IDE stands for Integrated Development Environment and can be for example Segger Embedded Studio or Keil. And you can use SES in the same way you use the Programmer application in nRF Connect to flash the SD or BL. Select Target -> Connect J-Link and then Download File -> Download Hex File... and select the hex file for either the SD or BL. 

    4. Before flashing SD/BL/APP, Do we need to load one of the projects from  SDK\examples\dfu onto the board through J-link first?

    Whenever your application uses BLE you have to flash the SoftDevice to the board first. If you flash a DFU example before flashing your own application, it will just get overwritten. I'm not sure what you're asking?

    Best regards,

    Heidi

  • Also just trying to confirm with you here, 

    nrfjprog/nRF connect/SEGGER IDE  can ALL be used for flashing SD/BL/APP correct?

Reply Children
No Data
Related