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

Flashing nRF52DK pass but not running , J-Link and segger embedded studio

Hi,

I am using nRF52Dk dev kit with nRF_SDK_15. I did some using segger embedded studio with J-Link for debugging. I am way past the blinky stuff. I am able to flash and run on the PCA_10040 kit. I belive all my flashing and compiling environment are set. 

I was trying to use inbuilt ble_uart_app example. I am able to compile it, when I try to flash it, I could see the J-Link pop up erasing and flashing, but my example wouldnot run. I tried erasing the and re-flashing, it still would not run. I also checked whether I am flashing the soft_devices.hex its getting flashed. I tried with nfjprog, still the same. But my blinky runs anyway, if i flash it. So I went to debugging mode and clicked the play button,now my example runs. But its not running when I just flash it in donwload. The example is not occupyng too much program memory, roughly 40% of it. checked the address spaces, all seems fine. 

Thanks

Parents
  • Hi!

    I don't have any problems with the ble_app_uart example from SDK 15.

    Did you make any modifications or changes at all to the code?
    Could you test the pre-compiled hex file in the SDK? You should find this in the;
    sdk_folder/examples/ble_peripheral/ble_app_uart/hex/ble_app_uart_pca10040_s132.hex

    I also checked whether I am flashing the soft_devices.hex its getting flashed.

    Which version of the softdevice are you using?

    Best regards.

Reply
  • Hi!

    I don't have any problems with the ble_app_uart example from SDK 15.

    Did you make any modifications or changes at all to the code?
    Could you test the pre-compiled hex file in the SDK? You should find this in the;
    sdk_folder/examples/ble_peripheral/ble_app_uart/hex/ble_app_uart_pca10040_s132.hex

    I also checked whether I am flashing the soft_devices.hex its getting flashed.

    Which version of the softdevice are you using?

    Best regards.

Children
Related