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

Blinky doesn't work on PCA10040

Hi all,

I can't get the Blinky example working on my PCA10040 kit. After flashing, LED1 stays on and there is some activity on LD5 but the kit is not detected on all my devices. I have flashed SoftDevice for s132 on it before and I built the example using SEGGER Embedded Studio. I have also tried reinstalling Windows on my machine and it still doesn't work. Do anyone have a fix for that?

Edit: I have tried programming different examples and also tried different boards and that didn't work.

  • If you are new to the environment a good place to start is the precompiled versions of the examples.  In each example folder is a hex folder which contains a complete image of the example complete with the soft device.  This way you only have to flash one file and do not have to flash the SD separately.

    Once you successfully get the image file running and visible on your smartphone or other ble device, then move forward and try to compile the same application and get it working.

    Remember the source code versions of the examples don't include the SD. Depending on how you have the IDE set up it may do an erase before loading the compiled code. Thus it is a little easier when starting out to compile the app, then use nRFGo or similar to flash the SD and the app hex file to your nRF device. After you get this working then try to do the same from the IDE debugger.

  • The correct hex files are in: .../examples/ble_peripheral/ble_app_blinky/hex/

    There is one for pca10040e and pca10040.  You will need to check which version you have.

    Start by erasing the chip completely.  In nRFgo you choose erase all.

    Then from the application tab in nRFgo select your hex file and load it. 

    You load nothing else since the hex contains an SD.

    The corresponding smartphone client app is part of nRF toolbox for iOS or Android. It's just called "blinky".

Related