cypress usb controller firmware program
来源:互联网 发布:车载充电器 知乎 编辑:程序博客网 时间:2024/06/04 17:41
所需开发工具:
- Keil uVision3
- EZ-USB_devtools_version_261700
C:/Cypress/USB/Examples/有很多源代码,一般只需要修改部分代码就可以了.
Edit the program.c file
TD_Init(void)
DR_VendorCmnd(void)
Edit the dscr.a51 file:
DeviceDscr:
db DSCR_DEVICE_LEN ;; Descriptor length
db DSCR_DEVICE ;; Decriptor type
dw 0002H ;; Specification Version (BCD)
db 00H ;; Device class
db 00H ;; Device sub-class
db 00H ;; Device sub-sub-class
db 64 ;; Maximum packet size
dw 8808H ;; Vendor ID
dw 0210H ;; Product ID (Sample Device)
dw 0000H ;; Product version ID
db 1 ;; Manufacturer string index
db 2 ;; Product string index
db 0 ;; Serial number string index
db 1 ;; Number of configurations
build the project make the hex file
use follow command make the iic file for FX2 eeprom download
c:/cypress/usb/bin/hex2bix -i -f 0xC2 -v 0x0888 -p 0x1002 -o vend_ax.iic vend_ax.hex
0x0888 is Vendor ID
0x1002 is Product ID
Edit driver.inf file like this
[Cypress]
;%VID_VVVV&PID_PPPP.DeviceDesc%=CyUsb, USB/VID_VVVV&PID_PPPP
%VID_04B4&PID_8613.DeviceDesc%=CyUsb, USB/VID_04B4&PID_8613
%VID_0888&PID_1002.DeviceDesc%=CyUsb, USB/VID_0888&PID_1002
[Strings]
CYPRESS="Cypress"
MfgName="Cypress"
CYUSB_INSTALL="Cypress Generic USB Driver Installation Disk"
;VID_VVVV&PID_PPPP.DeviceDesc="Cypress Generic USB Device"
VID_04B4&PID_8613.DeviceDesc="Cypress Generic USB Device"
VID_0888&PID_1002.DeviceDesc="HJ USB Device"
- cypress usb controller firmware program
- USB设备firmware
- Cypress EZ-USB FX2(68013)-EEPROM
- USB CYPRESS 68013A开发重点讲解
- Cypress-USB-PnP事件注册方法
- CYPRESS
- usb hid firmware& PC software
- Cypress固件架构彻底解析及USB枚举
- Cypress固件架构彻底解析及USB枚举
- 关于Cypress公司USB芯片FX2的固件开发
- Cypress固件架构彻底解析及USB枚举
- Cypress固件架构彻底解析及USB枚举
- USB设备Firmware基本流程分析
- Usb设备驱动5:usb-firmware简易框架
- firmware
- firmware
- Firmware
- Inventra HDRC USB Controller
- [无情Dē温柔] 90后男孩的17-19岁三年生活
- 揭开CDP面纱
- ASP.NET页面刷新方法总结(转载)
- XP常用快捷键
- Contract Generation from WSDL/XML Schema - DataContractSerializer vs. XmlSerializer
- cypress usb controller firmware program
- Asp.net 中session存储的三种模式的具体运用
- EXT3.0实现的同步请求
- 用任务管理器揪出暗藏的木马
- 记我的10年18家工作经历 (转载.完整版)
- 十天复习,过不到计算机二级是你的运气PIE
- C#多线程UI界面处理
- 将一个Form窗体放到Panel(或者splitContainer的Panel)上去
- 让文本框textarea自动适应内容的高度