5 Command Sequence (CSEQ) Flash Request Overview
This chapter provides details about the procedure to perform the DFU with the CSEQ Flash Request. There are five CSEQ Requests to manipulate the Flash as shown in the following table.
After setting P2_0 to ON and P2_4/EAN pins into write Flash mode, the CSEQ Flash Requests
are sent in sequence:
- Set Flash Request
- Get Flash ID Request
- Erase Flash Request
- Switch Bank Request
- Write Flash Request
- Repeat steps 4 and 5 until all the banks are written
OPCODE |
Parameter Description | |
---|---|---|
0x45 – Write Flash |
Write to program space | |
0x50 – Get Flash ID |
Read Flash ID | |
0x51 – Erase Flash |
Erases the entire Flash | |
0x63 – Switch Bank |
Switches the Flash bank | |
0x70 – Set Flash |
Set Flash ID |