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

not able to debug nRF9160 DK getting error "Failed to download application Generic error"

Hi,

My working environment:

NCS folder Tag:v1.2.0

J-Link version : v6.62a

SES version:4.42a

test sample code:\NCS\nrf\samples\nrf9160\cloud_client

nrf connect environment option:

When I tried to debug by pressing F5, I am getting error as

"Failed to download application Generic error,Please check J-link and target connection"

Not able to enter into debug mode.Can you please help how to debug a code.

Parents
  • Hi Praveen,
    I was able to reproduce this issue, there seem to be some issues that we need to investigate.

    However, please try out this workaround:

    Please try to go in SES "Target"--> "Disconnect".

    Open CMD and use the command :

    Then in SES, "Build"--> "Build and Debug"

    (if a question pops up to rebuild, please press yes)

    Then you should be able to debug.

  • Hi Martin, your solution worked but apparently we need to do "nrfjprog -e" before every single time programming via SES.

    Is there going to be an update for SES or NRF Command Line Tools to solve the issue?

  • Hi Gurkan,

    This bug has been reported internally, and we are working on a solution.
    Most likely we will release an updated version of SES.

Reply Children
No Data