10:39 AM

Flash program memory

There are two internal flash memory blocks in the device. Block 0 has 64 Kbytes and contains the user’s code. Block 1 contains the Philips-provided ISP/IAP routines and may be enabled such that it overlays the first 8 Kbytes of the user code memory.

The 64 kB Block 0 is organized as 512 sectors, each sector consists of 128 bytes. Access to the IAP routines may be enabled by clearing the BSEL bit in the FCF register. However, caution must be taken when dynamically changing the BSEL bit.

Since this will cause different physical memory to be mapped to the logical program address space, the user must avoid learning the BSEL bit when executing user code within the address range 0000H to 1FFFH.