Cypress技术论坛
直播中

刁文洁

7年用户 154经验值
私信 关注
[问答]

OpenOCD失败,CY8CKIT-WiFi-BT Pioneer Kit

我无法使用PSoC 6 WiFi BT先锋套件来运行以下目标:
SNIP.SCA-CY8CKITY062下载程序下载运行
当我构建SNIP.SCA-CY8CKITY062下载下载程序时,我收到以下错误:
构建应用程序查找表
正在下载引导加载程序…
“***OpenOCD失败了——确保您已经从驱动程序目录中安装了驱动程序,并且调试器没有在Linux中运行***,这可能是由于USB访问权限。在虚拟机中,可能是由于USB通过设置。检查任务列表中另一个OpenCCD进程没有运行。检查您是否有正确的目标和JTAG设备插入。******
下载DCT…
“***OpenOCD失败了——确保您已经从驱动程序目录中安装了驱动程序,并且调试器没有在Linux中运行***,这可能是由于USB访问权限。在虚拟机中,可能是由于USB通过设置。检查任务列表中另一个OpenCCD进程没有运行。检查您是否有正确的目标和JTAG设备插入。******
下载应用程序…
“***OpenOCD失败了——确保您已经从驱动程序目录中安装了驱动程序,并且调试器没有在Linux中运行***,这可能是由于USB访问权限。在虚拟机中,可能是由于USB通过设置。检查任务列表中另一个OpenCCD进程没有运行。检查您是否有正确的目标和JTAG设备插入。******
正在下载资源文件系统…Buff/SnIP.SCA-CY8CKITAU062/FielSistM.Bin在扇区1大小96…
工具/MaxFrime/WiCdEsApp.MK:308:目标“FraseSistMyIMAGE下载”的配方
制作.exe〔1〕:**[文件系统映像下载]错误1
Ex.EXE(1):***等待未完成的工作…
使:***[MNIONAPP]错误2
MaFixFiel: 349:目标“MeNIApp”失败的配方
我能够成功地建立一个snip.scan以WICED 6.1.0.85使用两个其他开发板:未来电子的neb1dx_01和muratatype1ld。然而,我没有运气使用CY8CKITY062。
我开始按SW3在cy8ckit WIFI BT直到LED2关闭通知用户指南。
用户指南:“按板SW3开关改变端口设置,cmsis-dap。”
我从来没有收到在设备管理器的端口设置的改变然而我看到只有LED4照任何指示。有一个名为“KiPrim2 UB-UART”的设备。
在wiced-studio-6.1 文件   openocd_log.txt信息建立43xxx_wi-fi:
打开芯片调试器0.10.0 + dev-00225-ga9a9861c(2018-02-06-09:36)
GNU GPL V2授权
对于bug报告,请阅读
HTTP://OpenCord.Org/DoC/doxGeung/Bugs.HTML
信息:自动选择第一个可用的会话传输“SWD”。重写使用“传输选择& lt;传输& gt;”。
适配器速度:1000千赫
CordXym ReStay-CONFIG系统
CORTEXYM RESETHI配置
错误:无法找到CMIS-DAP设备
有没有解释为什么WICED是无法找到cmsis-dap装置?
非常感谢您的帮助。

以上来自于百度翻译


     以下为原文
  I am unable to run the following target using the PSoC 6 WiFi-BT Pioneer Kit:
snip.scan-CY8CKIT_062 download_apps download run

When I build snip.scan-CY8CKIT_062 download_apps download run I receive the following error:

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 Application ...
"**** 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 96...
tools/makefiles/wiced_apps.mk:308: recipe for target 'FILESYSTEM_IMAGE_DOWNLOAD' failed
make.exe[1]: *** [FILESYSTEM_IMAGE_DOWNLOAD] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
make: *** [main_app] Error 2
Makefile:349: recipe for target 'main_app' failed
I am able to successfully build a snip.scan example using WICED 6.1.0.85 using two other development boards: Future Electronic's NEB1DX_01 and MurataType1LD. However I have no luck using the CY8CKIT_062.

I start by pressing SW3 on the CY8CKIT-WiFi-BT until LED2 turns off as instructed in the user guide.

User guide: "Press the SW3 switch on the board to change the port settings to CMSIS-DAP."

I never receive any indication within device manager that the port settings are changed however I do see that only LED4 is illuminated. There is a device named "KitProg2 USB-UART".

Information posted in DocumentsWICED-Studio-6.143xxx_Wi-Fibuildopenocd_log.txt:

Open On-Chip Debugger 0.10.0+dev-00225-ga9a9861c (2018-02-06-09:36)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select '.
adapter speed: 1000 kHz
cortex_m reset_config sysresetreq
cortex_m reset_config vectreset
Error: unable to find CMSIS-DAP device

Is there any explanation of why WICED is unable to find CMSIS-DAP device?

Any help is greatly appreciated.

回帖(3)

李春梅

2018-10-17 16:18:36
你能提供你的设备管理器窗口的屏幕截图吗?

以上来自于百度翻译


     以下为原文
  Could you please provide the screenshot of your device manager window?
举报

刁文洁

2018-10-17 16:36:08
引用: chm5 发表于 2018-10-17 08:49
你能提供你的设备管理器窗口的屏幕截图吗?

以上来自于百度翻译

谢谢你的回复,我重新安装了WICE 1.1.0.85,错误还在发生。这里有一些关于驾驶员信息的更详细的信息:
驾驶状态,而DEL2是“呼吸”:
ReD2为固态或关闭时的驱动器状态:

以上来自于百度翻译


     以下为原文
  Thank you for the response, I have re-installed WICED 6.1.0.85 and the error is still occurring. Here is some greater detail on driver information:
 
Driver status while LED2 is "breathing":



Driver status while LED2 is solid or off:



举报

刁文洁

2018-10-17 16:50:28
引用: 60user176 发表于 2018-10-17 09:07
谢谢你的回复,我重新安装了WICE 1.1.0.85,错误还在发生。这里有一些关于驾驶员信息的更详细的信息:
驾驶状态,而DEL2是“呼吸”:
ReD2为固态或关闭时的驱动器状态:

我已经解决了这个问题。
我正在使用Windows 7。
当DEL2是“呼吸”时,我卸载了KITPRO2 UB-UART。我必须确保Windows不会自动重新安装驱动程序:
我必须通过在设备管理器中选择设备来手动安装驱动程序-gt;浏览我的计算机以获得驱动软件-gt;文档WICED Studio1.6\DaveWindows WICEDEU-UART GT;让我从我的计算机上的设备驱动程序列表中挑选-gt;取消选中“显示兼容硬件”。赛普拉斯半导体公司模型:WICE USB串口B
我成功地构建了SNIP.SCA-CY8CKITY062下载程序下载运行。
请注意,我只能在LED是“呼吸”,而不同于文件。

以上来自于百度翻译


     以下为原文
  I have resolved the issue.
 
FYI I am using Windows 7.
 
While the LED2 was "breathing" I uninstalled KitProg2 USB-UART. I had to ensure that Windows would not automatically re-install the drivers:
 

 
I had to manually install the driver by selecting the device in device manager -> Browse my computer for driver software -> DocumentsWICED-Studio-6.1DriversWindowswiced_uart -> Let me pick from a list of device drivers on my computer -> Uncheck "Show compatible hardware" - > Manufacturer: Cypress Semiconductor Corporation Model: WICED USB Serial Port B
 
I am successfully able to build snip.scan-CY8CKIT_062 download_apps download run.
 
Please note I am able to build only while the led is "breathing" which differs than the documentation.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分