31 #define DFU_ATTR_WILL_DETACH 0x08 32 #define DFU_ATTR_MANIFEST_TOLERANT \ 34 #define DFU_ATTR_CAN_UPLOAD 0x02 35 #define DFU_ATTR_CAN_DOWNLOAD 0x01 91 #define USB_DFU_FUNC_DESCRIPTOR_TYPE \ 100 #define USB_DFU_SUBCLASS 0x01 108 #define USB_DFU_PROTOCOL 0x02 109 #define USB_DFU_RUNTIME_PROTOCOL \ 117 #define USBD_DFU_REQUEST_DETACH 0 118 #define USBD_DFU_REQUEST_DNLOAD 1 119 #define USBD_DFU_REQUEST_UPLOAD 2 120 #define USBD_DFU_REQUEST_GETSTATUS \ 122 #define USBD_DFU_REQUEST_CLRSTATUS \ 124 #define USBD_DFU_REQUEST_GETSTATE \ 126 #define USBD_DFU_REQUEST_ABORT 6 134 #define DFU_TRANSFER_SIZE 1024 155 #define USBD_DFU_REQUEST_MSP432E 0x42 156 #define REQUEST_MSP432E_VALUE 0x23 158 #define DFU_PROTOCOL_MSP432E_MARKER \ 160 #define DFU_PROTOCOL_MSP432E_VERSION_1 \ 185 PACKED tDFUQueryMsp432eProtocol;
195 uint8_t bwPollTimeout[3];
199 PACKED tDFUGetStatusResponse;
217 #define DFU_CMD_PROG 0x01 218 #define DFU_CMD_READ 0x02 219 #define DFU_CMD_CHECK 0x03 220 #define DFU_CMD_ERASE 0x04 221 #define DFU_CMD_INFO 0x05 222 #define DFU_CMD_BIN 0x06 223 #define DFU_CMD_RESET 0x07 242 PACKED tDFUDownloadHeader;
293 PACKED tDFUDownloadProgHeader;
335 uint16_t ui16StartAddr;
342 PACKED tDFUDownloadReadCheckHeader;
369 uint16_t ui16StartAddr;
379 uint8_t pui8Reserved2[2];
381 PACKED tDFUDownloadEraseHeader;
402 uint8_t pui8Reserved[7];
404 PACKED tDFUDownloadInfoHeader;
442 uint8_t pui8Reserved[6];
444 PACKED tDFUDownloadBinHeader;
502 #endif // __USBDFU_H__
tDFUStatus
Definition: usbdfu.h:65
uint32_t ui32PartInfo
Definition: usbdfu.h:479
tDFUState
Definition: usbdfu.h:43
uint32_t ui32ClassInfo
Information on the part class and revision as read from SYSCTL DID0.
Definition: usbdfu.h:484
uint8_t ui8Binary
Definition: usbdfu.h:437
uint16_t ui16Version
Definition: usbdfu.h:183
uint8_t bState
Definition: usbdfu.h:196
uint16_t ui16Marker
Definition: usbdfu.h:178
uint8_t ui8Reserved
Definition: usbdfu.h:280
uint16_t ui16NumFlashBlocks
Definition: usbdfu.h:473
uint16_t ui16StartAddr
Definition: usbdfu.h:285
uint16_t ui16NumBlocks
Definition: usbdfu.h:374
uint32_t ui32Length
Definition: usbdfu.h:291
uint8_t iString
Definition: usbdfu.h:197
uint32_t ui32AppStartAddr
Lowest address the boot loader can write or erase.
Definition: usbdfu.h:494
uint32_t ui32FlashTop
Address 1 byte above the highest location the boot loader can access.
Definition: usbdfu.h:489
uint8_t bStatus
Definition: usbdfu.h:194
uint16_t ui16FlashBlockSize
The size of a flash block in bytes.
Definition: usbdfu.h:467
uint8_t ui8Command
Definition: usbdfu.h:235
USB_CDC_GET/SET_LINE_CODING request-specific data.
Definition: usbaudio.h:288