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

ULINK2 as CMSIS-DAP Communication Failure

When using the ULINK2 as a CMSIS-DAP Debugger via the SW Port, I keep getting a "SWD/JTAG" Failure. My computer successfully detects the ULINK and provides the serial number, it just can't setup the SWDIO properly. I noticed that the Firmware version is actually 1.0 (should it be something higher?), even though I updated the firmware on the ULINK to work with CMSIS-DAP as indicated here: http://www.keil.com/support/man/docs/ulink2/ulink2_boot_mode.htm.

I've lowered the clock rate to 100kHz, but that doesn't help.
I've tried switching J1 to ARM or 3.3V.
I'm not using the ribbon cable, but just individual jumpers from the ULINK to my microcontroller (MT7687).

Any suggestions on what else to check would be greatly appreciated!

  • So the problem was that for MT7687, the microcontroller I was working with, I had to use pins GPIO59 and GPIO60 for SWD_DIO and SWD_CLK, not the pins I was using. I switched the wiring and it worked like a charm.

    Apparently, to use other pins, I need to setup pin-mux. Hope this helps!