| Electronic Components Datasheet Search |
|
AN1603 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1603 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 21 page ![]() 19/21 USING THE ST7 USB DEVICE FIRMWARE UPGRADE DEVELOPMENT KIT (DFU-DK) 5.1.2.3 ST_DeviceFirmwareUpgrade Prototype DWORD WINAPI ST_DeviceFirmwareUpgrade(DWORD Nb, UCHAR * pBufferIn, UCHAR * pBufferOut); Description This is the main DFU protocol function, you can use it and/or develop your own solution and it is only intended as an example. Its functional goal is to start all the previous DFU request func- tions and process the device upgrade automatically. Parameters Nb :Number of the selected DFU Device (given by STDFU_EnumGetNbDevices) pBufferIn : pointer to a 64KByte RAM buffer where the new firmware image is stored. pBufferOut :pointer to a 64KByte RAM buffer where the oldfirmware image will be stored. Returned Value STDFU_NOERROR in case of success, otherwise (Error Code). 5.1.2.4 ST_GetDFUStatus Prototype DWORD WINAPI ST_GetDFUStatus( PDWORD pPercent, PDWORD pStage, PDWORD pError); Description Returns DFU status and errors data to the application GUI. Parameters pPercent: stage process completion percentage. pStage:DFU process stage such as detach, upload, upgrade etc. pError: DFU error. Returned Value STDFU_NOERROR in case of success, otherwise (Error Code). |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |