TMP86xy48UG/FG Toshiba, TMP86xy48UG/FG Datasheet - Page 171

no-image

TMP86xy48UG/FG

Manufacturer Part Number
TMP86xy48UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy48UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
F/E
Rom Size
32
Ram Size
2K
Driver Led
11
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
1
High-speed Serial Output
2
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
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
54
Power Supply (v)
2.7 to 3.6
2.17.6.2 Method of Using Support Programs in the BOOT-ROM
Support program 1
Support program 2
of FLASH. This program supports three subroutines.
BOOT-ROM incorporates support programs for simplifying a write to the data memory
of FLASH in the MCU mode. The support programs take the form of a subroutine.
After setting general-purpose registers with the necessary data, just execute a CALL
instruction for a support program. It enables a write to and a read from the FLASH.
There are two subroutines in BOOT-ROM. The Table 2.17.2 shows the function of
these subroutines.
program in advance or develop it in the RAM area.
RAM area to any data memory of FLASH page in block. (Only data memory of FLASH
is available.) Support program 2 enables data to be transferred from any FLASH
memory page (Both data memory of FLASH and program memory are available.) to a
specified 64-byte consecutive RAM area in block.
“Support program 1,” and (4), “Support program 2,” for the source code of the support
programs.
(1) Example of using support program 1 to write data to the FLASH data area
Program
The BOOT-ROM of TMP86FM48 has Support Program to simplify writing/reading
In addition to a program for controlling a write in the serial PROM mode, the
When using the support program, it is unnecessary to prepare an FLASH write
Support program 1 enables 64 consecutive data bytes to be transferred from the
How to use the support programs in the BOOT-ROM is explained below. See (3),
1.
2.
3.
4.
5.
6.
7.
8.
1. Writing to data FLASH from RAM
2. Reading from data FLASH to RAM
3. Reading from program FLASH to RAM
(Block transfer from the RAM area to the FLASH data area)
Table 2.17.2 Support Program (Subroutines) in BOOT-ROM
For the emulation chip, set the EEPEVA register with the optimum time
according to the operating frequency.
Set data in the transfer-source RAM area.
Set the RAM area start address (Transfer source) in the HL register.
Set the FLASH data area start address (Transfer destination) in the DE
register.
Set “1FH” in the B register. (Be sure to set 1FH (Half of the number of bytes to
be written.))
Clear the binary counter if the watchdog timer is in use.
Execute a CALL instruction to “3E00H”.
Data is transferred from the RAM area to the FLASH data area in block. After
several milliseconds, program control is returned to the main routine.
CALL address
3E2CH
3E00H
86FM48-167
Writing to data memory of FLASH (8000H to 81FFH) from RAM
area is available. 64-byte data can be written at a time.
Reading from FLASH memory (8000H to FFFFH) into RAM area
is available. 64-byte data can be read at a time.
Function
TMP86FM48
2007-08-24

Related parts for TMP86xy48UG/FG