This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to debug the custom nrf51822 board through Segger j-link ??

Hi,

I am using custom nrf51822 board. I am trying to debug through JTAG(segger j-link). While downloading the program into flash, I am getting error like "Error: Flash Download failed - Target DLL has been cancelled" . I have changed the settings from SW to JTAG in the Debug column.

Can you please give the solution for this error.

Thanks & Regards, Venkat

  • The most common reason for this error is that you are trying to flash an application on top of a SoftDevice.

    It is difficult to determine the reason of the error by the error alone, it would be helpful if you could include what you did before you got the error. What SDK, SoftDevice, and example you are using could also be of help. Please edit your question to include this, if the error persists.

Related