Rainbow-electronics AT89C5132 Manual de usuario Pagina 17

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 31
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 16
17
AT89C5132
4256A–USB–06/03
Answers from Bootloader After each program request, the Host can request the device state and status by send-
ing a DFU_GETSTATUS message.
If the device status indicates an error, the host can send a DFU_CLRSTATUS request
to the device.
Reading the Flash The flow described below allows the user to read data in the Flash memory. A blank
check command on the Flash memory is possible with this flow.
This operation is performed in 2 steps:
1. DFU_DNLOAD request with the read command (6 bytes)
2. DFU_UPLOAD request which correspond to the immediate previous command.
First Request from Host The Host sends a DFU Download request with a Display command in the data field.
Second Request from Host The Host sends a DFU Upload request.
Answers from the Device The device send to the Host the firmware from the specified start address to the end
address.
Command
Identifier data[0] data[1] data[2] data[3] data[4] Description
Id_display_data
03h
00h
start_address end_address
Display Flash Data
01h Blank Check in Flash
OUT
Display_Data (6 bytes)
SETUP
DFU_DNLOAD
IN
ZLP
IN Firmware Packet 1
IN
Firmware Packet 2
IN
Firmware Packet n
OUT
ZLP
SETUP
DFU_UPLOAD
Vista de pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 30 31

Comentarios a estos manuales

Sin comentarios