Hi everyone,
I am a new developer and I am using the nRF52840 with SDK16 and s140 for prototyping and I have some questions about the bootloader and the softdevice.
Regarding the softdevice:
This getting started guide sais that if you want to run a BLE example you must program the softdevice first. From my experience, I never needed to program the softdevice before uploading a BLE example on nRF52840 DK. My guess is that your BLE examples incorporates the softdevice and it is programming automatically? If this is true why your guide sais that "you must program the softdevice on the board"? Another guess is that for older SDK versions, the BLE example didn't include the softdevice and hence it was necessary for the user to program the softdevice..
Regarding the bootloader:
I purchased a third-party nRF52840 module from Raytac. Before go ahead with flashing I came in contact with Raytac and I ask them If their modules are shipped with a bootloader or not. They respond back informing me that they ship their modules without a bootloader. So I was thinking that I have to program the bootloader on nRF52840 before attempting to upload my firmware. After searching I found the section programming the bootloader. I am straggling to understand the procedure.. What I've done so far in order to program the board using the "programmer" app of nRF connect for Desktop platform is:
I erase the memory of nRF52840, then added the HEX file and finally pressing "erasing and write" I programmed the module with my firmware (I use an external J-Link programmer for this procedure).
Despite the fact that I have successfully program the module, I do not understand how the bootloader was programmed since I didn't follow the programming the bootloader procedure..
Could someone enlighten me?
Thanks in advance
Nick