| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(HTML) 34 Page - STMicroelectronics |
|
34 / 76 page ![]() Device firmware upgrade UM0290 34/76 4.5.2 Special command/protocol descriptions In order to support all features (Address decoding and Memory block to erase etc.) of the DFU Extension implementation from STMicroelectronics, a few format rules are added to the DFU_DNLOAD request. They are defined as shown in Table 10. This new custom DFU implements only three supported basic commands: ● Get Commands Byte0 = 0x00 then no additional bytes. The next DFU_UPLOAD request with wBlockNum = 0 should give the supported commands. The maximum size of the supported commands buffer is 256 bytes and the buffer must support the following commands: – 0x00 (Get Commands) – 0x21 (Set Address Pointer) – 0x41 (Erase Sector containing address) ● Set Address Pointer Byte0 = 0x21 then 4 bytes containing the address pointer from which the blocks will be downloaded or uploaded starting from the next DFU_DNLOAD or DFU_UPLOAD request with wBlockNum >1. ● Erase Sector containing address Byte0 = 0x41 then 4 bytes containing a valid address contained in a memory sector to be erased and as already exported by the string descriptors of the Alternate settings. Note: wBlockNum = 1 for both DFU_DNLOAD and DFU_UPLOAD requests is reserved for future STMicroelectronics use. Table 10. Special command descriptions Command Request wBlockNum wLength Data Get Commands DFU_DNLOAD 0 1 0x00 Set Address Pointer DFU_DNLOAD 0 5 21h, Address (4bytes) Erase Sector containing address DFU_DNLOAD 0 5 41h, Address (4bytes) |
|
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 |