Specifications

C8051F330/1
100 Rev. 1.1
Access limit set
according to the
FLASH security lock
byte
C8051F330/1
0x0000
0x1DFF
Lock Byte
Reserved
0x1DFE
0x1E00
FLASH memory
organized in 512-byte
pages
0x1C00
Unlocked FLASH Pages
Locked when any
other FLASH pages
are locked
Figure 11.1. FLASH Program Memory Map
Bits7-2: UNUSED: Read = 000000b, Write = don’t care.
Bit1: PSEE: Program Store Erase Enable
Setting this bit (in combination with PSWE) allows an entire page of FLASH program memory to be
erased. If this bit is logic 1 and FLASH writes are enabled (PSWE is logic 1), a write to FLASH
memory using the MOVX instruction will erase the entire page that contains the location addressed
by the MOVX instruction. The value of the data byte written does not matter.
0: FLASH program memory erasure disabled.
1: FLASH program memory erasure enabled.
Bit0: PSWE: Program Store Write Enable
Setting this bit allows writing a byte of data to the FLASH program memory using the MOVX write
instruction. The FLASH location should be erased before writing data.
0: Writes to FLASH program memory disabled.
1: Writes to FLASH program memory enabled; the MOVX write instruction targets FLASH memory.
RRRRRRR/WR/WReset Value
- - - - - - PSEE PSWE 00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
SFR Address:
0x8F
Figure 11.2. PSCTL: Program Store R/W Control