AT89C51SND1_06 ATMEL [ATMEL Corporation], AT89C51SND1_06 Datasheet - Page 18

no-image

AT89C51SND1_06

Manufacturer Part Number
AT89C51SND1_06
Description
USB Microcontrollers
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Request from Host
Write Command
Firmware
DFU Suffix
18
AT89C51SND1
Table 16. DFU File Suffix
The write command is 6 bytes long. In order to reach the USB specification of the Control type
transfers, the write command is completed with 26 (=32-6) non-significant bytes. The total length
of the command is then 32 bytes, which is the length of the Default Control Endpoint.
The firmware can now be downloaded to the device. In order to be in accordance with the Flash
page size (128 bytes), X non-significant bytes are added before the first byte to program. The X
number is calculated to align the beginning of the firmware with the Flash page. X =
start_address [32]. For example, if the start address is 00AFh (175d), X = 175 [32] = 15.
The DFU suffix of 16 bytes are added just after the last byte to program. This suffix is reserved
for future use.
Command Identifier
bmRequestType
Offset
- 12
- 14
0010 0001b
Id_prog_start
01h
Field
idProduct
bcdDevice
DFU_DNLOAD (1)
data[0]
bRequest
00h
data[1]
Size
start_address
2
2
wValue
wBlock
data[2]
Value
BCD
ID
Description
The product ID associated with this file. Either FFFFf
or must match device’s product ID
The release number of the device associated with this
file. Either FFFFh or a BCD firmware release or
version number
data[3]
Interface (4)
end_address
wIndex
data[4]
wLength
Init Flash programming
Length
Description
4254C–MP3–03/06
Firmware
Data

Related parts for AT89C51SND1_06