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

Impossible to load .bin into PCA10040

Hi!

Friday I can load the binary into PCA10040 (blinky example) ands works well. But today I load de binary but not works, nothing happen.

I'm used this example /Nordic/nRF52/examples/peripheral/blinky/pca10040/blank/armgcc

and other this (softDevice s132) /Nordic/nRF52/examples/peripheral/blinky/pca10040/s132/armgcc

Which maybe the mistake?

Regards

Parents Reply Children
  • Thanks Ladasky,

    I have installed JLinkExe but I cann't to connect to the board, I get this error:

    javi@PC:~/Development/Nordic/nRF5x-Command-Line-Tools_9_0_0_Linux-x86_64/nrfjprog$ JLinkExe -device nRF52
    
    JLinkExe -device nRF52
    SEGGER J-Link Commander V6.10b (Compiled Sep 26 2016 19:09:58)
    DLL version V6.10b, compiled Sep 26 2016 19:09:49
    
    Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
    

    I'm going to try add a dev rule in my Linux installationto see if it solves the problem.

    Greetings

    PD: I have the PCA10040 connected to PC via USB and Power ON

  • I think that the FIRST time that you run JLinkExe, you should not use the "-device nRF52" option. JLink updates the SEGGER firmware on the board when you run it the first time, and that is when the device ID is created. Starting with the second time you run JLink, you can (and should) use "-device nRF52".

  • In other machine with Ubuntu Xenial I installed JLinkExe and the first time I executed so, JLinkExe , the second time I run JLink with -device nRF52 but I get the same error:

    SEGGER J-Link Commander V6.10b (Compiled Sep 26 2016 19:09:58)
    DLL version V6.10b, compiled Sep 26 2016 19:09:49
    
    Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
    
Related