TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 240

no-image

TMP86FS49AFG

Manufacturer Part Number
TMP86FS49AFG
Description
8-Bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FS49AFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Company:
Part Number:
TMP86FS49AFG
Quantity:
3 200
Part Number:
TMP86FS49AFG(Z)
Manufacturer:
Toshiba
Quantity:
10 000
19.1 Flash Memory Control
19.1 Flash Memory Control
www.DataSheet4U.com
Flash Memory Control Register
19.1.1 Flash Memory Command Sequence Execution Control (FLSCR<FLSMD>)
19.1.2 Flash Memory Bank Select Control (FLSCR<BANKSEL>)
(0FFFH)
FLSCR
The flash memory is controlled via the flash memory control register (FLSCR) .
Note 1: The command sequence of the flash memory can be executed only when FLSMD="0011B". In other cases, any attempts
Note 2: FLSMD must be set to either "1100B" or "0011B".
Note 3: BANKSEL is effective only in the serial PROM mode. In the MCU mode, the flash memory is always accessed with actual
Note 4: Bits 2 through 0 in FLSCR are always read as don’t care.
ation. This write protection feature is realized by disabling flash memory command sequence execution via the
flash memory control register (write protect). To enable command sequence execution, set FLSCR<FLSMD>
to “0011B”. To disable command sequence execution, set FLSCR<FLSMD> to “1100B”. After reset,
FLSCR<FLSMD> is initialized to “1100B” to disable command sequence execution. Normally,
FLSCR<FLSMD> should be set to “1100B” except when the flash memory needs to be written or erased.
ory is mapped to 2 banks at 8000H-FFFFH. Flash memory addresses 1000H-7FFFH are mapped to 9000H-
FFFFH as BANK0, and flash memory addresses 8000H-FFFFH are mapped to 8000H-FFFFH as BANK1.
FLSCR<BANKSEL> is used to switch between these banks. For example, to access the flash memory address
7000H, set FLSCR<BANKSEL> to “0” and then access F000H. To access the flash memory address 9000H,
set FLSCR<BANKSEL> to “1" and then access 9000H.
FLSCR<BANKSEL> is ineffective (i.e., its value has no effect on other operations).
BANKSEL
The flash memory can be protected from inadvertent write due to program error or microcontroller misoper-
In the serial PROM mode, a 2-kbyte BOOTROM is mapped to addresses 7800H-7FFFH and the flash mem-
In the MCU mode, the flash memory is accessed with actual addresses at 1000H-FFFFH. In this case,
Table 19-1 Flash Memory Access
FLSMD
to execute the command sequence are ineffective.
addresses (1000-FFFFH) regardless of BANKSEL.
7
Serial PROM mode
Operating Mode
MCU mode
Flash memory command sequence exe-
cution control
Flash memory bank select control
(Serial PROM mode only)
6
FLSMD
5
<BANKSEL>
Don’t care
(BANK0)
(BANK1)
FLSCR
0
1
4
BANKSEL
Page 224
3
1100: Disable command sequence execution
0011: Enable command sequence execution
Others: Reserved
0: Select BANK0
1: Select BANK1
1000H-7FFFH
Access Area
2
1000H-FFFFH
8000H-FFFFH
1
Specified Address
0
9000H-FFFFH
(Initial value : 1100 1***)
TMP86FS49AFG
R/W
R/W

Related parts for TMP86FS49AFG