Programming errors with µVision (Keil) IDE and PSoC 6 devices - KBA220892

Version: **


Question: Using µVision IDE with the ULink2 probe, either CMSIS-DAP or JTAG protocol, programming a PSoC 6 device fails. Why?

Answer: This is a known issue with PSoC 6 devices and Keil uVision IDE. Using CMSIS-DAP an ‘RDDI-DAP’ error appears during an attempt to download an image to a PSoC 6 device. The JTAG protocol fails as well – ‘Flash Download failed - Target DLL has been cancelled’ error appears.

The only workaround is to use a different probe and protocol (for example, a JLink probe with SWD). We are working with Keil to resolve the issue.