SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
User avatar
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 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.

User avatar
By TS-Chris
Hi Kevin.

We might have the wrong firmware files posted. Try these, they are the ones our production department uses to build this board.
You do not have the required permissions to view the files attached to this post.
User avatar
Hello Chris

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...


User avatar
By TS-Chris
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:
Code: Select all
nrfjprog -e -f nrf52
nrfjprog --program C:\Users\%username%\Desktop\nRF52832_PGM\s132_nrf52_2.0.0_softdevice.hex -f nrf52 --chiperase
nrfjprog --program C:\Users\%username%\Desktop\nRF52832_PGM\sfe_nrf52832_dfu.hex -f nrf52
nrfjprog --reset -f nrf52
The procedure might be different if you're using a different programmer though.
User avatar
Thanks Chris

That was a big help. The procedure with a J-Link is first erase.

Program with the s132_nrf52_2.0.0_softdevice.hex file
Then program with the sfe_nrf52832_dfu.hex file

The blue led starts to time bomb right away.

 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]