Error on uploading the code [SOLVED]

Hi, I am trying to upload the code, and followed the example for the Hello World project. I am getting 2 errors on u0ploading the code:
Error: unable to find CMSIS-DAP device
Error: No Valid JTAG Interface Configured.
I have been looking in the cypress environment, but cannot find any setting to configure this. What am I doing wrong?
Using the prototyping kit (the programmer part) connected to the lorawan onethinx demo kit.


Which kit do you use? Is it the red one with 'KITPROG2" noted below the CY8C5868LTI-LP039 micro?

If yes, please update the Kitprog FW first using PSoC Programmer 3.28

A few things:

  • You got to press the SW3 to switch between KitProg mode and CMSIS-DAP mode.
  • Update in KitProg mode
  • Use CMSIS-DAP mode for programming / debugging (led is flashing slowly)
  • Make sure no other programs are using the programmer (they will block access)


I am using the CY8CKIT-059 with KITPROG below the chip.
I did the upgrade, and that seemed to go fine, i now get different error:
Open On-Chip Debugger 0.10.0+dev- (2018-11-09-09:59)
Licensed under GNU GPL v2
For bug reports, read
adapter speed: 1500 kHz
Warn : Transport “swd” was already selected
adapter speed: 1000 kHz
** Auto-acquire enabled, use “set ENABLE_ACQUIRE 0” to disable
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = 1.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Error: kitprog3: get_version command failed
Error: No Valid JTAG Interface Configured.

it seems to be the PSoC 5LP, and capable for this module (supports 3)

The CY8CKIT-059 (with “KITPROG” on the board) is a KitProg1 which is not upgradeable to KitProg2/3, there are small differences in hardware.

You might try to do the upgrade which I suggested on the Cypress Community but I don’t think this will work well.

If you want a KitProg2, this one is the one we use: CY8CKIT-147

Hi guys,

Kitprog programmer ( green programmer from CY8CKIT-059 for example or other kits with Kitprog) can be used with Modus Toolbox.
It must be switched to CMSIS-DAP mode. If it is in Kitprog mode, press and hold reset switch until green led start blinking.
Change the following commands to OpenOCD command line

-c "source [find interface/kitprog3.cfg]"


-c "source [find interface/cmsis-dap.cfg]"

Actually any KitprogX (1,2,3) can be used if it is in CMSIS-DAP mode.

1 Like

Works like a charm! Thank you :slight_smile:

1 Like