| Electronic Components Datasheet Search |
|
AN1603 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1603 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 21 page ![]() 18/21 USING THE ST7 USB DEVICE FIRMWARE UPGRADE DEVELOPMENT KIT (DFU-DK) Reads and decodes the file image stored in disk and stores all its binary data contents to a buffer in RAM and extracts useful device information (Vendor ID, Product ID, and firmware version) Parameters pPathFile : the entry path name of the firmware image stored on disk. pBuffer : a pointer to a data buffer where the useful data will be stored in RAM. pVid: a pointer to the Vendor ID parameter. pPid: a pointer to the productID parameter. pBcd:a pointer to the firmware version parameter. Returned Value STDFU_NOERROR in case of success, otherwise (Error Code). 5.1.2.2 ST_ImageToDFUFile Prototype DWORD WINAPI ST_ImageToDFUFile( CHAR * pPathFile, UCHAR * pBuffer, UINT nVid, UINT nPid, UINT nBcd ); Description Writes and codes data stored in RAM buffer and received from the device during the up- loading process to a valid firmware image on local disk. Parameters pPathFile : the entry path name of the firmware image where the file will be stored on disk. pBuffer : a pointer to a data buffer received from the device. nVid : device Vendor ID. nPid : device product ID. nBcd: old firmware version. 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 |