I have built a code for AT91R4008 in keil and now I want to debug it by J-Link 14 pin on pcb. But when I connect the J-Link to the USB port of my pc and the 14 pin Jtag IDE connector on pcb, keil does not recognize anything. Even windows find j-link and install the driver, but there is no change in keil and when I click on start debug session an error comes saying:
Target DLL has been cancelled. Debugger aborted!
Without connecting the j-link to the pc, if you click on start debug session, this error will be announced too.
I have searched a lot about debugging with j-link but I couldn't find any solution.