Keil Logo

ULINK: Debug issue - "USB Communication Failure" on Windows 8.x and 10


Information in this knowledgebase article applies to:

  • MDK-ARM V5.16a and earlier
  • ULINK2, ULINKPro, ULINKPro-D debug adapter
  • Windows 8.x and Windows 10

QUESTION

I'm working on a MDK-ARM v5.x.x project within Windows 8.x. The erase/program/verify procedures on the target device via a ULINK2 or ULINKPro debug adapter work fine. But the debug session does not always start properly. It displays the errors:

USB Communication Failure

and

Error: Target DLL has been cancelled. Debugger aborted

Sometimes the debug session starts once but fails the second time. It can lead to the crash of µVision when trying to restart the debug session.

How can I solve this issue?

ANSWER

The reason, which causes such an issue, is that some specific DLL files for ULINK debug sessions cannot be initialized properly in some cases within Windows 8.x and Windows 10.

To solve this issue, update your MDK to v5.17 and newer versions.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, September 13, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.