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

Example code "Template Application" doesn't work.

Hi all!

I flashed and got both SoftDevice s130 and the example code onto my nRF51802 without prior modifications.

I flashed softdevice according to: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_keil%2FUG%2Fgsg%2Fprogram_sd.html with the command 

nrfjprog --family nRF51 --program _build\xxx.hex
after erasing the board with "nrfjprog --eraseall"

And then I flashed the example code with 

nrfjprog --program _build\xxx.hex
nrfjprog --reset
after running make script.

I've read somewhere to use nRFgo studio to flash my softdevice and all but that application is just crashing all the time so I used above solution. The problem is that I can't get it to advertise, cause when I open nrf connect on my android phone, I see no device with name "Nordic_Template". 

I use windows 10, flashing a nRF51802 chip on a custom board, ie no dk.

Parents Reply
  • Sorry missed that,

    yes it is ok to flash the soft device once then flash again with the application.

    Just make sure the chip is blank/erased first.  

    You can add a --chiperase in the command like so:
     nrfjprog --program softdevice.hex --chiperase && nrfjprog --program app.hex -r 



    As for if you should uninstall 64 bit version, that would be up to you. If you are fine suing nrfjprog and the terminal to interface with the device then there is nothing wrong with that, and if you have other projects that use 64 versions then it might be a hassle. But if you don't have anything else and want to use nRFgo then you can go ahead and uninstall. 

    SDK 12 should work yes, but if you have more progress on SDK 10 then that should work also, its just that SDK 12 at least in theory is better supported. 

    Regards,
    Jonathan 

Children
No Data
Related