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

how can I burn adafruit nRF52 Bootloader to nRF52832 chip

Hi

I have the Adafruit Feather nRF52 Bluefruit - nRF52832 board that I can program it using Arduino via Adafruit library in Arduino without any problems. 

Now I have an external nRF52832 chip and I have nRF52 DK too. I tried to program the external nRF52832 using the Adafruit library in Arduino but seems like it won't work until I burn the adafruit Bootloader to the external nRF52832 first (excuse me for not figuring this out from the beginning cause I'm a beginner in this field).

So, the question now is how can I burn the adafruit bootloader to my external nRF52832 so that I can program it using Adafruit Arduino library?

Thanks in advance!

  • Schematic required in order to be able to answer tis question.

    A naked nRF52832 chip is not programmable without being soldered on a proper PCB.

  • Working under assumptions.
    The output hex is getting signed by nrfutil before flashing the chip. If you can find where the hex file is stored before getting signed you can directly flash the external nRF52832 with your application.

    File > preferences. Settings tab > verborse output during. Tick compilation and upload will help you see where files are going on your system.

    Not aware of any support for using J-links with the IDE.

    You can also try using the DK to flash the bootloader from here.

  • I downloaded the bootloader from the github link that you gave to me and I built and ran the project to my chip and it was downloaded successfully as shown in the following figure

    However, when I connect the chip to the USB to program it using Arduino, I get the following error

    So, this Arduino error means that the bootloader is not installed successfully on the chip or it means what?

  • This is the schematic that I'm using

    and the nRF52832 is perfectly soldered on the PCB and I tested it by myself and it is working properly 

  • No need to compile the bootloader. There is a section on the git that shows how to burn bootloaders.
    Just make sure you are not flashing the chip on the DK. Have a look at this. VTG need to be equal to VDD to tell the DK it is flashing an external chip.

    Don't see a exposed SW interface on your schematic witch will make it impossible to burn a bootloader on a clean chip.


1 2 3