I have a sparkfun nrf52832 breakout board that needs to have it’s bootloader installed. I am using a Segger j-link to program the bootloader from sparkfun’s gethub https://github.com/sparkfun/nRF52832_Breakout. I have tried both versions.
I am able to use the Segger j-link to flash the bootloader and the Segger J-Flash says that it is programmed (Using .hex file) but regardless of what I do the blue led doesn’t flash as it should. I have erased the flash and tried several times. Each time it says it’s programming was successful.
I am able to programmer using SES to flash leds etc no problem. The problem seems to be with the hex files supplied by Sparkfun. I don’t think they are correct. I have noticed the the person who seems to have done the firmware is no longer with Sparkfun.
There are several people on this forum asking how to flash the nrf52832 with the bootloader and sparkfun hasn’t helped anyone on this topic.
Thanks for the zip file. Inside I found the four files below. I’ve tried them all with an erase flash in between with no luck. After flashing I have done the two button reset with no blue led flashing. Can you tell me which file is the firmware I should be loading, as I mentioned I tried them all but I expect it is the dfu file that is the bootloader.
Using ses I was able to test the function of the blue led and the button on pin 6. The reset button also works…
It looks like we bootload these with Nordic’s [nRF52832 Hardware Development Kit, I don’t know if that makes any difference but you might need that in order for things to run properly. Here’s the commands we use in production to do the programming:
Excused me, I am now using Arduino IDE to program the same board. However, even though the LED in pin 7 bright in the pattern of timebomb, I still receive the error that says “Upgrading on target on COM3 with DFU package C:\USER\AppData\Local\Temp\arduino_build_516516\My_test.ino.zip. Flow control is disabled.” What’s going on? I have never set up any bootloader or DFU package in advance because the guiding website says that breakout already have bootloader inside the board.
Can anyone tell me if the nrf52832 board requires the 32kHz crystal in order to be programed with the Arduino IDE?
I have a project board that is a production board based on the Sparkfun board but I didn’t include the crystal as I don’t need the RTC function or great accuracy. I am able to load the boot loader but I can’t get the time bomb to work on the LED.
I am able to run programs on the Segger Embedded Studio without a problem. I would really like to use the Arduino IDE for this project. If the 32kHz crystal is required with the bootloader to function can it be modified to not need it?