Page 363
TMP89FM42
RA002
22.13Flowchart
Figure 22-5 Flowchart
Start
Setup
Receive data
Receive data
Receive data
Receive data
Receive data =0x30
(flash memory
write command)
Receive data =0x90
(flash memory SUM
output command)
S1O mode
UART mode
Transmit UART data
(0x86)
Transmit S1O data
(0x30)
Transmit UART data
(0x79)
Transmit data
(0x30)
Transmit data
(checksum of the entire area)
Transmit data
(detect double writes)
Transmit data
(detect all 0xFF)
Transmit data
(checksum of the entire area)
Transmit data
(0xD1)
Transmit data
(0xFB)
Transmit data
(0xF0)
Transmit data
(0x40)
Transmit S1O data
(0xCF)
Received data
= 0x86
Receive data
= 0x30
≠
0x86
Receive data
= 0x79
Receive data
Receive data
Change
FLSCR1<ROMSEL>
Receive data
= 0xCF
≠
0xCF
≠
0x79
Execute a write
Calculate checksum
Closed loop
Security Program
check
Blank check
Password check
NG
OK
0x55
:
There is no error.
0xAA:
There is an error.
(Double
writes
are
detected)
0x55 :
-
0xAA:
All data are 0xFF.
Disabled
Non-blank
product
Blank product
Enabled
Receive data =0x60
(RAM loader
command)
Transmit data
(0x60)
Jump to the user
program in RAM
Execute a write
Closed loop
Blank check
Password check
NG
OK
Closed loop
Blank check
Password check
NG
OK
Disabled
Enabled
Receive data =40H
(flash memory
read command)
Receive data =0xF0
(flash memory
erase command)
Transmit data
(0xD0)
Receive data =D0H
(mask ROM emulation
setting command)
Blank check
Enable Security Program
Closed loop
Password check
NG
OK
Receive data =0xFA
(Security Program
enable command)
Transmit data
(0xFA)
Transmit data
(0x90)
Receive data =0xC0
(product ID code
output command)
Transmit data
(product ID code)
Transmit data
(checksum)
Transmit data
(Read data)
Transmit data
(0xC0)
Receive data =0xC3
(status output
command)
Transmit data
(status)
Transmit data
(0xC3)
Security Program
check
DAFC-OP and
EPFC-OP check
Blank check
Transmit data
(checksum of the erased area)
Receive data
Chip erase
(erase the entire area)
Sector erase
(erase in 4KB units)
Received data
Blank check
Closed loop
Disabled
Execute an erase
Closed loop
EPFC-OP
EPFC-OP
Password check
NG
OK
≥
0x20
< 0x20
≠
0xFF
≠
0xFF
Perform
password check
Not perform
password check
= FFH
= 0xFF
Disable
Security Program
Disabled
Enabled
Non-blank
product
Blank product
Non-blank
product
Non-blank
product
Non-blank
product
Blank product
Blank product
Blank product
Enabled
Security Program
check
Security Program
check
Security Program
check
Summary of Contents for TLCS-870/C1 Series
Page 1: ...8 Bit Microcontroller TLCS 870 C1 Series TMP89FM42 查询TMP89FM42供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Page 3: ...Revision History Date Revision 2007 10 25 1 First Release 2007 11 3 2 Contents Revised ...
Page 4: ......
Page 14: ......
Page 18: ...1 3 Block Diagram TMP89FM42 1 3 Block Diagram Figure 1 2 Block Diagram ...
Page 22: ...1 4 Pin Names and Functions TMP89FM42 ...
Page 60: ...2 CPU Core 2 5 Revision History TMP89FM42 ...
Page 76: ...3 Interrupt Control Circuit 3 8 Revision History TMP89FM42 ...
Page 86: ...4 External Interrupt control circuit 4 3 Function TMP89FM42 ...
Page 102: ...7 Voltage Detection Circuit 7 5 Revision History TMP89FM42 ...
Page 126: ...8 I O Ports 8 3 I O Port Registers TMP89FM42 Note 2 i 0 to 1 ...
Page 136: ...8 I O Ports 8 5 Revision History TMP89FM42 ...
Page 142: ...9 Special Function Registers 9 3 SFR3 0x0E40 to 0x0EFF TMP89FM42 ...
Page 146: ...10 Low Power Consumption Function for Peripherals TMP89FM42 ...
Page 149: ...TMP89FM42 11 3 Revision History Rev Description RA001 Deleted SLEEP2 description ...
Page 150: ...11 Divider Output DVO 11 3 Revision History TMP89FM42 ...
Page 220: ...15 Real Time Clock RTC 15 4 Real Time Clock Operation TMP89FM42 ...
Page 250: ...16 Asynchronous Serial Interface UART 16 15 Revision History TMP89FM42 ...
Page 302: ...18 Serial Bus Interface SBI 18 7 Revision History TMP89FM42 ...
Page 338: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 ...
Page 384: ...22 Serial PROM Mode 22 15 Revision History TMP89FM42 ...
Page 388: ...24 Input Output Circuit 24 1 Control Pins TMP89FM42 ...
Page 404: ...25 Electrical Characteristics 25 11 Revision History TMP89FM42 ...
Page 406: ...26 Package Dimensions TMP89FM42 ...
Page 408: ......