English
Language : 

C8051F388-B Datasheet, PDF (279/285 Pages) Silicon Laboratories – Flash MCU Family
C8051F388/9/A/B
C2 Register Definition 27.4. FPCTL: C2 Flash Programming Control
Bit
7
6
5
4
3
2
1
0
Name
FPCTL[7:0]
Type
R/W
Reset
0
0
0
0
0
0
0
0
C2 Address: 0x02
Bit Name
Function
7:0 FPCTL[7:0] Flash Programming Control Register.
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 27.5. FPDAT: C2 Flash Programming Data
Bit
7
6
5
4
3
2
1
0
Name
FPDAT[7:0]
Type
R/W
Reset
0
0
0
0
0
0
0
0
C2 Address: 0xAD
Bit Name
Function
7:0 FPDAT[7:0] C2 Flash Programming Data Register.
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
Rev. 1.1
279