전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN1603 데이터시트(PDF) 17 Page - STMicroelectronics

부품명 AN1603
상세설명  This Application Note describes
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1603 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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