TMP89xy60UG/FG Toshiba, TMP89xy60UG/FG Datasheet - Page 336

no-image

TMP89xy60UG/FG

Manufacturer Part Number
TMP89xy60UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP89xy60UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
32/60
Ram Size
3K
Driver Led
8
Driver Lcd
-
Spi/sio Channels
-
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
Y
Number Of I/o Ports
58
Power Supply (v)
4.3 to 5.5
21.2
Functions
RA006
21.2.2
be executed. If a memory transfer instruction is used to read or write data, a read or write can be performed only
on the data area. To perform an erase or write on the code area, therefore, part of the code area must be temporarily
switched to the data area. This switching between data and code areas is performed by making the appropriate
FLSCR1<FAREA> setting.
(AREA D0) in the data area is mapped to 0x9000 through 0xFFFF (AREA D1) in the data area.
(AREA C1) in the code area is mapped to 0x8000 through 0xFFFF (AREA D1) in the data area.
(AREA C0) in the code area is mapped to 0x9000 through 0xFFFF (AREA D1) in the data area.
FLSCR1<FAREA> to "11", and then execute the memory transfer instruction on 0xC000.
on FLSCR2<CR1EN>.
the memory transfer instruction on 0x8000 through 0xFFFF (AREA D1) in the data area.
area are mirror areas; these two areas refer to the same physical address in memory. Therefore, an erase or write
must be performed on one of these two mirror areas. For example, If a write is performed on 0x8000 in the data
area with FLSCR1<FAREA> set to "10" after performing a write on 0x8000 in the data area with
FLSCR1<FAREA> set to "00", data is overwritten. To write data to the flash memory that already has data written
to it, existing data must first be erased from the flash memory by performing a sector erase or chip erase, and then
data must be written.
or specifying such an area by using jump or call instructions.
To perform an erase or write on the flash memory, a memory transfer instruction (command sequence) must
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "01", 0x1000 through 0x7FFF
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "10", 0x8000 through 0xFFFF
By setting "0xD5" on FLSCR2<CR1EN> after setting FLSCR1<FAREA> to "11", 0x1000 through 0x7FFF
For example, to access 0x4000 in the code area, set "0xD5" on FLSCR2<CR1EN> after setting
To restore the flash memory to the initial state of mapping, set FLSCR1<FAREA> to "00", and then set "0xD5"
All flash memory areas can be accessed by performing the appropriate steps described above and then executing
0x1000 through 0xFFFF (AREA D1) in the data area and 0x1000 through 0xFFFF (AREA C1) in the code
Additionally, access to areas to which memory is not assigned should be avoided by executing an instruction
Flash memory area switching (FLSCR1<FAREA>)
Page 320
TMP89FS60

Related parts for TMP89xy60UG/FG