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

SoftDevice, Bootloader and Application Programming

Hi,

I am looking for the process of flashing the NRF52840 with the BLE SoftDevice (S140), a bootloader with uses the BLE link for DFU and my general application code. 

So far I have seen that the device must be programmed with the SoftDevice first, then bootloader and then the application. I can understand this process but what throws me is the errors I receive when trying to program the device via nRFGo Studio. My softdevice loads correctly but when I attempt to program the bootloader (via the bootloader tab) it fails and suggests programming via the SoftDevice tab. Then when I attempt to program via this tab I am given an error regarding GLENC0?

Can someone please just clarify what this process is? Because further reading is beginning to suggest I need to merge my bootloader hex file with it's setting hex file etc. 

A clear description would be greatly appreciated!

Many Thanks,

A

Parents Reply Children
  • I would still like to understand the actual process of programming a SoftDevice, Bootloader and Application code. Is there an existing example you could point me in the direction of? 

    When compiled, they are all hex files. Then they are programmed over SWD using e.g. the on-board J-link programer/debugger chip that you find on the development kits. You can usually flash the hex files directly from your preferred IDE(e.g. Segger Embedded Studio), or use command line tools like nrfjprog. If you already have the SoftDevice+bootloader on your chip, you can update the firmware on the chip wirelessly using BLE.

Related