Hi. I am using a Nordic nRF51422_xxAA (Cortex-M0) and a JLink plus. When I attempt to debug, the message "No Cortex-M Device found in JTAG chain." and "Error: Flash Download failed - Target DLL has been cancelled". There are a couple of problems with the first statement. First, when I use J-Flash software, I am able to connect to the part, so I believe the hardware to be OK. Second, this device uses a SWD connection, not a JTAG. So, I attempt to reconfigure the Flash interface (Flash->Configure Flash Tools, Debug Tab) "Use" is selected, as is "J-LINK / J-TRACE Cortex", then I click on Settings, and "uVision IDE has stopped working ... Windows will close the program..." appears. The only option at that point is a "Close program" button, which closed the IDE.
Please tell me what I am missing. Thank you.
Hi, can you please raise a support request?
Hello Dave,
it seems that you are doing the right things. I have tested it here with MDK v5.11a (I have a nRF51822_xxAA instead of the nRF51422_xxAA) and it works. I can do the Flash download and start the debug session. Settings button works as expected. Which version of MDK are you using?
Kind regards,
Christopher
View all questions in Keil forum