S3F84B8_UM_REV 1.00 19 EMBEDDED FLASH MEMORY INTERFACE19-119 EMBEDDED FLASH MEMORY INTERFACE19.1 OVERVIEW OF EMBEDDED FLASH MEMORY INTERFACES3F84B8 microcontroller supports an internal (on-chip) flash memory instead of a masked ROM. The sectorerasable and byte programmable flash memory in S3F84B8 can also be programmed by the user using ‘LDC’instruction. You can program the data in flash memory area at any time.The embedded 8KB memory in S3F84B8 has two operating modes, namely: User Program Mode Tool Program ModeNOTE: For more information about Tool Program Mode, refer to the Chapter 18, “Flash MCU”.19.1.1 FLASH ROM CONFIGURATIONThe flash memory in S3F84B8 consists of 64 sectors. Each sector, in turn, consists of 128 bytes. So, the total sizeof flash memory is 12864 bytes (8KB). You can erase the flash memory by a sector unit at any time, and evenwrite data into the flash memory by a byte unit at any time.19.1.2 KEY FEATURES OF EMBEDDED FLASH MEMORY INTERFACEThe key features of embedded flash memory interface include: 8kB internal flash memory Sector size: 128 bytes 10 years of data retention Fast programming Time: Sector Erase: 4ms (minimum) and Byte Program: 20us (minimum) Byte programmable User programmable by ‘LDC’ instruction Sector erase (128 bytes) External serial programming Endurance: 10,000 Erase/Program cycles (minimum) Expandable On Board Program (OBP)