C8051F340/1/2/3/4/5/6/7
C2 Register Definition 23.3. REVID: C2 Revision ID
Reset Value
Variable
Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 |
This
C2 Register Definition 23.4. FPCTL: C2 Flash Programming Control
Reset Value 00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
This register is used to enable Flash programming via the C2 interface. To enable C2 Flash programming, the following codes must be written in order: 0x02, 0x01. Note that once C2 Flash programming is enabled, a system reset must be issued to resume normal operation.
C2 Register Definition 23.5. FPDAT: C2 Flash Programming Data
Reset Value
00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
This register is used to pass Flash commands, addresses, and data during C2 Flash accesses. Valid commands are listed below.
Code | Command |
0x06 | Flash Block Read |
0x07 | Flash Block Write |
0x08 | Flash Page Erase |
0x03 | Device Erase |
280 | Rev. 0.5 |