TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 174

no-image

TMP91xy40FG

Manufacturer Part Number
TMP91xy40FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP91xy40FG

Package
LQFP100
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/F
Rom Combinations
128
Ram Combinations
4
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
4
I2c/sio Bus Channels
-
(s)dram Controller
-
Adc 10-bit Channel
4
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
3
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
61
Power Supply Voltage(v)
2.2 to 3.6
3.14.3
ROMCMP00
ROMCMP01
ROMCMP02
ROMSUB0L
ROMSUB0H
Operational Description
(1) Replacing data
Correction procedure:
Examples:
address where ROM data need be replaced. Store 2-byte patch code in the RMOSUB0L
and ROMSUB0H registers.
a.
be replaced must start at an even address. If only a single byte at an even or odd
address need be replaced, set the current masked ROM data in the other byte.
registers, the program patch logic disables RD output to the masked ROM and drives
out the code stored in the ROMSUB0L and ROMSUB0H to the internal bus. The CPU
thus fetches the patch code.
Two consecutive bytes of data can be replaced for each bank. A two-byte sequence to
Load the address compare registers (ROMCMP00 to ROMCMP02) with the target
When the CPU address matches the value stored in the ROMCMP00 to ROMCMP02
The following shows some examples:
Replacing 00H at address FF1230H with AAH
7
0
0
1
1
0
Figure 3.14.8 Example Patch Code Implementation
6
0
0
1
0
0
5
1
0
1
1
0
a
4
1
1
1
0
1
FFFFFFH
FE0000H
FF1230H
FF1231H
000000H
001000H
3
0
0
1
1
0
2
0
0
1
0
0
91CW40-172
1
0
1
1
1
0
(Access not allowed)
Internal ROM
Internal RAM
Internal area
Vector table
Internal I/O
0
0
0
1
0
1
00H
11H
Store 30 in address compare register 0 for bank0.
Store 12 in address compare register 1 for bank0.
Store FF in address compare register 2 for bank0.
Store AA in data substitution register L for bank0.
Store 11 in data substitution register H for bank0.
Replace with AAH
Replace with 11H
(same as current
value)
TMP91CW40
2008-09-19

Related parts for TMP91xy40FG