Page 224
19. Flash Memory
19.1 Flash Memory Control
T
5CL8
19.1 Flash Memory Control
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
to execute the command sequence are ineffective.
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
addresses (1000-FFFFH) regardless of BANKSEL.
Note 4: Bits 2 through 0 in FLSCR are always read as don’t care.
19.1.1 Flash Memory Command Sequence Execution Control (FLSCR<FLSMD>)
The flash memory can be protected from inadvertent write due to program error or microcontroller misoper-
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.
19.1.2 Flash Memory Bank Select Control (FLSCR<BANKSEL>)
In the serial PROM mode, a 2-kbyte BOOTROM is mapped to addresses 7800H-7FFFH and the flash mem-
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.
In the MCU mode, the flash memory is accessed with actual addresses at 1000H-FFFFH. In this case,
FLSCR<BANKSEL> is ineffective (i.e., its value has no effect on other operations).
Flash Memory Control Register
FLSCR
7
6
5
4
3
2
1
0
(0FFFH)
FLSMD
BANKSEL
(Initial value : 1100 1***)
FLSMD
Flash memory command sequence exe-
cution control
1100: Disable command sequence execution
0011: Enable command sequence execution
Others: Reserved
R/W
BANKSEL
Flash memory bank select control
(Serial PROM mode only)
0: Select BANK0
1: Select BANK1
R/W
Table 19-1 Flash Memory Access
Operating Mode
FLSCR
<BANKSEL>
Access Area
Specified Address
MCU mode
Don’t care
1000H-FFFFH
Serial PROM mode
0
(BANK0)
1000H-7FFFH
9000H-FFFFH
1
(BANK1)
8000H-FFFFH
Содержание CEM2100/00
Страница 2: ...2 ...
Страница 3: ...BLOCK DIAGRAM ...
Страница 4: ...WIRING DIAGRAM 4 ...
Страница 5: ...CIRCUIT DIAGRAM MAIN BOARD 5 ...
Страница 6: ...6 ...
Страница 7: ......
Страница 11: ...PCB LAYOUT MAIN BOARD TOP SIDE VIEW 11 ...
Страница 12: ...PCB LAYOUT MAIN BOARD BOTTOM SIDE VIEW 12 ...
Страница 13: ...PCB LAYOUT PANEL BOARD TOP SIDE VIEW ...
Страница 14: ...14 PCB LAYOUT PANEL BOARD BOTTOM SIDE VIEW ...
Страница 15: ...PCB LAYOUT REMOTE BOARD TOP SIDE VIEW 15 ...
Страница 16: ...PCB LAYOUT REMOTE BOARD BOTTOM SIDE VIEW 16 ...
Страница 17: ...PCB LAYOUT TUNER BOARD TOP SIDE VIEW 17 ...
Страница 18: ...PCB LAYOUT TUNER BOARD BOTTOM SIDE VIEW 18 ...
Страница 19: ...PCB LAYOUT SD BOARD TOP SIDE VIEW ...
Страница 20: ...20 PCB LAYOUT CD CONNECTOR TOP SIDE VIEW ...
Страница 21: ...PCB LAYOUT ISO BOARD BOTTOM SIDE VIEW 21 ...
Страница 22: ...22 SET EXPLODER VIEW DRAWING ...
Страница 23: ...1 of 2 CEM2100 Trouble shooting Trouble shooting Trouble shooting Trouble shooting ...
Страница 33: ...7 0 6SHFLILFDWLRQ 6 VWHP EORFN GLDJUDP ...
Страница 110: ...7 0 6SHFLILFDWLRQ 5HYLVLRQ KLVWRU 2 2 s u 2 u 2 7 t 2 2 2 S S 5 2 v 2 2 ...
Страница 111: ...8 Bit Microcontroller TLCS 870 C Series T5CL8 ...
Страница 113: ...Revision History Date Revision 2008 7 31 1 First Release ...
Страница 114: ......
Страница 122: ...viii ...
Страница 126: ...Page 4 1 3 Block Diagram T5CL8 1 3 Block Diagram Figure 1 2 Block Diagram ...
Страница 130: ...Page 8 1 4 Pin Names and Functions T5CL8 ...
Страница 155: ...Page 33 T5CL8 ...
Страница 156: ...Page 34 2 Operational Description 2 3 Reset Circuit T5CL8 ...
Страница 186: ...Page 64 5 I O Ports 5 8 Port P7 P77 to P70 T5CL8 ...
Страница 194: ...Page 72 6 Watchdog Timer WDT 6 3 Address Trap T5CL8 ...
Страница 214: ...Page 92 8 16 Bit TimerCounter 1 TC1 8 3 Function T5CL8 ...
Страница 270: ...Page 148 12 Asynchronous Serial interface UART1 12 9 Status Flag T5CL8 ...
Страница 280: ...Page 158 13 Asynchronous Serial interface UART2 13 9 Status Flag T5CL8 ...
Страница 332: ...Page 210 16 Serial Bus Interface I2C Bus Ver D SBI 16 6 Data Transfer of I2C Bus T5CL8 ...
Страница 342: ...Page 220 17 10 bit AD Converter ADC 17 6 Precautions about AD Converter T5CL8 ...
Страница 354: ...Page 232 19 Flash Memory 19 4 Access to the Flash Memory Area T5CL8 ...
Страница 388: ...Page 266 21 Input Output Circuit 21 2 Input Output Ports T5CL8 ...
Страница 397: ...Page 275 T5CL8 23 Package Dimensions LQFP64 P 1010 0 50D Rev 01 Unit mm ...
Страница 398: ...Page 276 23 Package Dimensions T5CL8 ...
Страница 400: ......
Страница 403: ...TC94B14MFG 2010 01 12 3 Pin Layout and Block Diagram Top View Pin Layout Top View TC94B14MFG Top View TEST1 ...
Страница 428: ...TC94B14MFG 2010 01 12 28 Package LQFP80 P 1212 0 50F Weight 0 6 g Typical ...