如何解决CY3684_EZ-USB_FX2LP_DVK中的实例用keil5无法运行?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

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

cross mob
lock attach
Attachments are accessible only for community members.
user_4533981
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

hello:

请问在Windows10下可以安装USB2.0驱动么?为什么HID的实例无法运行,且用烧录程序后,这样显示,能具体告知如何正确导入hid_kd程序么,如何让CY7C68013实现HID功能么?操作结果如附件:由于本人第一次开发CY7C68013的HID功能,请帮忙告知详细步骤谢谢。

Can you install USB2.0 driver under Windows10?Why did the HID instance fail to run and show this after using the burn program? Could you tell me how to import the hid_kd program correctly? How to make CY7C68013 realize HID function?The operation result is as shown in the attachment: since I developed the HID function of CY7C68013 for the first time, please help to inform me of the detailed steps. Thank you.

0 点赞
1 解答
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

您好,

首先,从你的截图可以看出,你不是用我们的软件包中包含的uVision 2打开的我们的工程,而是其他的版本,这样显然是无法编译的。

其次,如果你用的不是CY3684而是自己的板子,需要把periph.c中的

      EZUSB_WriteI2C(LED_ADDR, 0x01, &leds);

      EZUSB_WaitForEEPROMWrite(LED_ADDR);

这两句删除再编译,这样就不会被识别为未知设备而是键盘

在原帖中查看解决方案

0 点赞
7 回复数
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

您好,

首先,从你的截图可以看出,你不是用我们的软件包中包含的uVision 2打开的我们的工程,而是其他的版本,这样显然是无法编译的。

其次,如果你用的不是CY3684而是自己的板子,需要把periph.c中的

      EZUSB_WriteI2C(LED_ADDR, 0x01, &leds);

      EZUSB_WaitForEEPROMWrite(LED_ADDR);

这两句删除再编译,这样就不会被识别为未知设备而是键盘

0 点赞
user_4533981
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

您好:

首先感谢您的回复,我已经尝试用软件包里面的uVision2 打开hid的工程仍然无法编译的,截图如附件截图.png

Windows10可以安装软件包里Windows8的驱动么?

0 点赞
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

这个不是驱动的问题。键盘使用的是windows的驱动,无需手动安装驱动。

你确定你的C:\Keil\C51\BIN目录下有C51.EXE这个文件吗?

0 点赞
user_4533981
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

也就是说我用自己的板子时,烧录正确的程序后,设备就会变成键盘对么,C51.EXE有的,您看是这个对吧,就在下载好的软件包里,位置也没有改动。C51.png

0 点赞
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

是的

但是你的keil在C:\Keil\C51\BIN这个目录下找C51.exe啊,你要确定这个目录下有c51.exe

0 点赞
user_4533981
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

我刚刚发的截图就有啊,这个就是keil2的,我之前用的keil5目录下也有C51.EXE,好奇怪啊,软件包里的uVision2我装在D盘了,是不是要到D盘去找呢?UC2.png

0 点赞
user_4533981
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

HI:

Hello, thank you very much for your patient reply. I will try to download the installation package again and delete the redundant parts as you said. The device has been displayed as the keyboard, thank you!

0 点赞