Open OCD failed - error with PSoC 6 WiFi-BT Pioneer Kit Example snip-scan

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

How can I avoid an error in the Console output of WICED  "**** OpenOCD failed - ensure you have installed the driver...

I get this error using a CY8CKIT-062-WiFi-BT kit and following Section 3.4 “Programming and Debugging in WICED” in “PSoC 6 WiFi-BT Pioneer Kit Guide” https://www.cypress.com/file/407731/download

I opened WICED, plugged in a CY8CKIT-062-WiFi-BT kit, then copied the line from Section 3.4.1, “snip.scan-CY8CKIT_062 download_apps download run” into the Make window of WICED and double clicked it.

The end of the Console output is:

====================

----------------------------------+---------+---------|

TOTAL (bytes)                     |   99919 |   48004 |

----------------------------------|---------|---------|

Building apps lookup table

Downloading Bootloader ...

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

Downloading DCT ...

"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"

Downloading resources filesystem ... build/snip.scan-CY8CKIT_062/filesystem.bin at sector 1  size 104...

tools/makefiles/wiced_apps.mk:335: recipe for target 'FILESYSTEM_IMAGE_DOWNLOAD' failed

make.exe[1]: *** [FILESYSTEM_IMAGE_DOWNLOAD] Error 1

Makefile:351: recipe for target 'main_app' failed

make: *** [main_app] Error 2

13:05:39 Build Finished (took 1m:7s.10ms)

====================

I changed between KitProg3 and KitProg2 with no change in result.Reference "PSoC 6 MCU KitProg Firmware Loader" in Modus_user_guide @ https://community.cypress.com/docs/DOC-15457

I uninstalled and re-installed drivers with no change in result. Reference https://community.cypress.com/community/wiced-wifi/wiced-wifi-forums/blog/2018/02/23/upgrade-usb-dri...

Greg

https://community.cypress.com/docs/DOC-15457

0 Likes
1 Solution

Greg,

Thanks a lot for your detailed inputs. I believe section 4.3.3 of the kit guide​ talks about the modes and corresponding LED status. Could you please check whether that instructions are consistent with your finding mentioned above?

Thanks,

Raktim

View solution in original post

5 Replies