Download USER`S MANUAL
Transcript
S3F80P9_UM_ REV1.00 EMBEDDED FLASH MEMORY INTERFACE SMART OPTION Smart option is the program memory option for starting condition of the chip. The program memory addresses used by smart option are from 003CH to 003FH. The S3F80P9 only use 003EH and 003FH. User can write any value in the not used addresses (003CH and 003DH). The default value of smart option bits in program memory is 0FFH (Normal reset vector address 100H, ISP protection disable). Before execution the program memory code, user can set the smart option bits according to the hardware option for user to want to select. ROM Address: 003CH MSB .7 .6 .5 .4 .3 .2 .1 .0 LSB .1 .0 LSB .1 .0 LSB Not used ROM Address: 003DH MSB .7 .6 .5 .4 .3 .2 Not used ROM Address: 003EH MSB .7 .6 .5 ISP Reset Vector Change Selection Bit: (1) 0 = OBP Reset vector address 1 = Normal vector (address 100H) .4 .3 .2 ISP Protection Size Selection Bits: (4) 00 = 256 bytes 01 = 512 bytes 10 = 1024 bytes 11 = 2048 bytes Not used ISP Reset Vector Address Selection Bits: 00 = 200H (ISP Area size: 256 bytes) 01 = 300H (ISP Area size: 512 bytes) 10 = 500H (ISP Area size: 1024 bytes) 11 = 900H (ISP Area size: 2048 bytes) (2) ISP Protection Enable/Disable Bit: 0 = Enable (Not erasable) 1 = Disable (Erasable) (3) ROM Address: 003FH MSB .7 .6 .5 .4 .3 .2 .1 .0 LSB Not used RESET Control Bit (5) 0 = External interrupts by P0 and P2 or SED&R generate the reset signal 1 = External interrupts by P0 and P2 or SED&R do not generate the reset signal Figure 14-2. Smart Option 14-3