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

nRF51DK not running after programming through nRFGo studio

Hello,

I am using nRF51 DK and it is programmed with s130 soft device and uart application hex file with nFGo studio.

It programmed successfully but device not showing in app and also the advertising LED not blinking.If i debug in segger then it works fine.

(uart code ported in segger).

Plz. help.

I read in dev zone that need to reset the device after programming through nRFGo studio or have to give external supply.

I am using USB instead of external supply or coin cell.

Thanks in advance

Parents Reply Children
  • Hi, Thank you.

    The issue resolved when my application code build using keil and then programmed and the device advertising successfully.

    Previously my code was in segger Embedded studio, and evrything works fine in debug mode but problem when I flash using command tools, program flash successfully but it not advertising.

    But what exact issue don't find, it works fine when I flash the hex file which build on keil and if same code build on segger then it works only in debug mode, and not works when flash.

    Thanks & regards,

      Archana 

  • Hi,

    It could be that you forgot to flash the SoftDevice. The SES projects in the SDK are configured to flash the SoftDevice for you. With Keil and command-line-tools you need to make sure that the SoftDevice is flashed yourself.

    It could also be that you need to add the --reset switch to nrfjprog when you flash the application, for the CPU to start running after flashing. . e.g. nrfjprog –program my_app.hex –sectorerase –reset

  • Hi,

    Thanks.

    I have flashed softdevice S130 first and then application hex. But it didn't worked.

    I had not added --reset switch to nrfjprog i.e. nrfjprog --program my_app.hex --sectorerase --reset.

    Hopefully this  could resolve my issue.

    Thanks. 

Related