Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

AN1603 Datasheet(PDF) 17 Page - STMicroelectronics

No. de pieza AN1603
Descripción Electrónicos  This Application Note describes
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1603 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN1603 Datasheet HTML 13Page - STMicroelectronics AN1603 Datasheet HTML 14Page - STMicroelectronics AN1603 Datasheet HTML 15Page - STMicroelectronics AN1603 Datasheet HTML 16Page - STMicroelectronics AN1603 Datasheet HTML 17Page - STMicroelectronics AN1603 Datasheet HTML 18Page - STMicroelectronics AN1603 Datasheet HTML 19Page - STMicroelectronics AN1603 Datasheet HTML 20Page - STMicroelectronics AN1603 Datasheet HTML 21Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 17 / 21 page
background image
17/21
USING THE ST7 USB DEVICE FIRMWARE UPGRADE DEVELOPMENT KIT (DFU-DK)
5 EXAMPLE VENDOR UPGRADE SOFTWARE (DFU DEMONSTRATOR)
This section describes the DFU demonstrator software, as previously mentioned, this applica-
tion is divided into two distinct modules: a protocol dynamic link library and a graphical user in-
terface.
5.1 ST7DFUPRT PROGRAMMING INTERFACE
5.1.1 Overview
This DLL is in charge of the protocol layer management between the firmware image (stored
on local disk) and data sent/received to/from the ST7 USB device through the ST7DFU.dll ge-
neric module by means of DFU requests to the Control Pipe (Endpoint0).
The main features of this DLL are the following :
– Reading & decoding the new firmware image (processing the suffix and useful binary data ).
– Writing & coding the old firmware image.
– Performing the firmware upgrade operations by responding to all DFU interface states and
the transitions between them.
– Sending to upper layers status, errors, warning messages and progress.
The firmware image will encapsulate the following information : target Addresses, data record
sizes, useful data and a suffix.
The purpose of the DFU suffix is to allow the host software to detect and prevent attempts to
download incompatible firmware.
For more details about the DFU File suffix and how to compute the CRC please refer to Device
Class Specification for DFU Version 1.0 , Appendix B.
Note: Due to the fact that all functions exported by this DLL take a longer time than other mod-
ules, its structure will be based on (mainly asynchronous) processes and threaded code.
5.1.2 Programming Interface
This is the application programming interface of the STDFUPRT.dll module. The documenta-
tion describes the interface in C language .
5.1.2.1 ST_ImageFromDFUFile
Prototype
DWORD WINAPI ST_ImageFromDFUFile(
CHAR * pPathFile,
UCHAR * pBuffer,
UINT * pVid,
UINT * pPid,
UINT * pBcd );
Description



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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