| 数据搜索系统,热门电子元器件搜索 |
|
AN1603 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1603 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 21 page ![]() 6/21 USING THE ST7 USB DEVICE FIRMWARE UPGRADE DEVELOPMENT KIT (DFU-DK) 4 DFU-DK PROGRAMMING INTERFACE 4.1 OVERVIEW This module is used to allow the application to access the low level USB protocol, such as re- ceiving descriptor information, configuring a device etc, and also for managing all DFU re- quests that are implemented in this module and are not linked to the application layer. The following table summarize the DFU class-specific requests used to accomplish the up- grade operation. 4.2 DRIVER INSTALLATION FILE (.INF) Before creating or customising the DFU inf file, you have to obtain two licence keys for your vendor ID and product IDs, in order to use the DFU driver : One for the product ID of your com- posite device (Functional mode + DFU mode) and one for the only DFU mode device. In our example we have two distinct keys, one for the PID=0xDF11 (STMicroelectronics DFU devices) which is “6f72a98be4e1edad” and another one for a composite device, PID= 0xFF03 (STMicroelectronics EvalKit and DFU) which is “d083fc290a34aa18”. Once you have your licence keys, you need to make your own inf file. The inf file is a text file used by Windows to install a driver. The one given in this package can be customised to fit your needs. Anyway, you have to choose your own name for the inf file, and you shouldn’t use the one given in the package. After a successful driver installation the correct values in this inf file will be entered in the reg- istery. Table 1. DFU Class specific requests bmRequetType bRequest wValue wIndex wLength Data 00100001b DFU_DETACH wTimeout Interface Zero None 00100001b DFU_DNLOAD wBlockNum Interface Length Firmware 10100001b DFU_UPLOAD wBlockNum Interface Length Firmware 10100001b DFU_GETSTATUS Zero Interface 6 Status 00100001b DFU_CLRSTATUS Zero Interface Zero None 10100001b DFU_GETSTATE Zero Interface 1 State 00100001b DFU_ABORT Zero Interface Zero None |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |