All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Technology Corp. without notice. Please review the latest information published
by Renesas Technology Corp. through various means, including the Renesas Technology
Corp. website (http://www.renesas.com).
Rev.1.40
Revision Date: Mar. 06, 2007
Notes regarding these materials
1. This document is provided for reference purposes only so that Renesas customers may select the appropriate
Renesas products for their use. Renesas neither makes warranties or representations with respect to the
accuracy or completeness of the information contained in this document nor grants any license to any
intellectual property rights or any other rights of Renesas or any third party with respect to the information in
this document.
2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising
out of the use of any information in this document, including, but not limited to, product data, diagrams, charts,
programs, algorithms, and application circuit examples.
3. You should not use the products or the technology described in this document for the purpose of military
applications such as the development of weapons of mass destruction or for the purpose of any other military
use. When exporting the products or technology described herein, you should follow the applicable export
control laws and regulations, and procedures required by such laws and regulations.
4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and
application circuit examples, is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas products listed in this
document, please confirm the latest product information with a Renesas sales office. Also, please pay regular
and careful attention to additional and different information to be disclosed by Renesas such as that disclosed
through our website. (http://www.renesas.com )
5. Renesas has used reasonable care in compiling the information included in this document, but Renesas
assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information
included in this document.
6. When using or otherwise relying on the information in this document, you should evaluate the information in
light of the total system before deciding about the applicability of such information to the intended application.
Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any
particular application and specifically disclaims any liability arising out of the application and use of the
information in this document or Renesas products.
7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas
products are not designed, manufactured or tested for applications or otherwise in systems the failure or
malfunction of which may cause a direct threat to human life or create a risk of human injury or which require
especially high quality and reliability such as safety systems, or equipment or systems for transportation and
traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication
transmission. If you are considering the use of our products for such purposes, please contact a Renesas
sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above.
8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below:
(1) artificial life support devices or systems
(2) surgical implantations
(3) healthcare intervention (e.g., excision, administration of medication, etc.)
(4) any other purposes that pose a direct threat to human life
Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who
elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas
Technology Corp., its affiliated companies and their officers, directors, and employees against any and all
damages arising out of such applications.
9. You should use the products described herein within the range specified by Renesas, especially with respect
to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or
damages arising out of the use of Renesas products beyond such specified ranges.
10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific
characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use
conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and
injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for
hardware and software including but not limited to redundancy, fire control and malfunction prevention,
appropriate treatment for aging degradation or any other applicable measures. Among others, since the
evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or
system manufactured by you.
11. In case Renesas products listed in this document are detached from the products to which the Renesas
products are attached or affixed, the risk of accident such as swallowing by infants and small children is very
high. You should implement safety measures so that Renesas products may not be easily detached from your
products. Renesas shall have no liability for damages arising out of such detachment.
12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written
approval from Renesas.
13. Please contact a Renesas sales office if you have any questions regarding the information contained in this
document, Renesas semiconductor products, or if you have any other inquiries.
Precautions on Using The Product Described Herein
1. The product described herein should be used in combination with the parts included with
the starter kit. If the product is operated in combination with any other item, its operation
cannot be guaranteed. Nor will requests for help or suggestion be answered.
2. The product described herein was prepared for program development or evaluation
purposes. The product cannot be used for the mass production.
3. Renesas Technology Corporation and Renesas Solutions Corporation will not assume any
responsibility for the results of development no matter what systems may have been
developed by customers by using the product described herein.
4. Guarantee for the product described herein shall conform to stipulations under which
guarantee is provided for the starter kit.
5. The product described herein was prepared assuming it will be used in a laboratory or
similar environment for program development or evaluation purposes. It is not covered in
the electrical product safety laws, nor is it protected against electromagnetic hazards for
use in Japan or elsewhere.
For Inquiries About Product Contents or This Manual
Please contact:
Renesas Technology Corporation
at csc@renesas.com
* Microsoft, MS-DOS, Windows, and Windows NT are registered trademarks of Microsoft Corporation in the U.S. and
other countries.
* Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated.
* All other brand names and product names are trademarks or registered trademarks of each proprietary company.
2.4 Host PC ................................................................................................................................................. 4
3. Installation of the M3S-UFLA32R..................................................................................5
3.1 Installation of the M3S-UFLA32R.......................................................................................................... 5
4. Operation Method of the M3S-UFLA32R ......................................................................6
4.3 Operation Outline of the M3S-UFLA32R............................................................................................... 6
5. Function Description of the M3S-UFLA32R ..................................................................8
5.1 Function list ........................................................................................................................................... 8
5.2 Program Data (Motorola S-format file) Selection .................................................................................. 9
5.3 Exit the Application .............................................................................................................................. 10
5.4 Lock Bit Information..............................................................................................................................11
5.17 ID Code Setting ................................................................................................................................. 27
5.18 Version Information ........................................................................................................................... 29
6. Error Message List ......................................................................................................30
Contents-1
M3S-UFLA32R
UART Flash Memory Programming Utility
1. Overview
This user’s manual is intended to provide explanations about system configuration and operation
method of the UART Flash Memory Programming Utility M3S-UFLA32R Ver.1.40 (hereinafter
referred to as M3S-UFLA32R) for the M32R/ECU Series (Refer to the Table 2.3.1 for
corresponding MCU).
2. System Configuration
Figure 2.1.1 shows connection configuration of the system using the M3S-UFLA32R
Target Board
Host PC
Communication
Cable
(M3A-2145G50)
DC Power Supply
Figure 2.1.1 Connection Configuration
2.1 Outline of the M3S-UFLA32R
The M3S-UFLA32R is a Windows application program that performs UART communication with
SIO1 of a MCU serial interface by the boot program built into a MCU (flash programming
firmware) and executes write/erase operation to the MCU flash memory.
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 1 of 30
M3S-UFLA32R
UART Flash Memory Programming Utility
2.2 Communication Cable (M3A-2145G50)
Communication cable consists of two different cables below.
•Interface Cable (M3A-2145G02)
It is a conversion cable to connect to the test pins on the target when the connection cable for the
MF-TEN-NINE can not be mounted on the target board. Figure 2.2.1 shows connecting diagram.
•MF-TEN-NINE Cable (M3A-0652CBL)
It is a cable to connect host PC to target board. Figure 2.2.2 shows connecting diagram.
Communication cable receives power supply from the target board. The power supply voltage can
be used at 3.3V or 5.0V.
Table 2.2.1 shows usage specification of the communication cable.
Connector (Manufactured by Hirose Electric Co., Ltd.
HIF3FC-10PA-2.54DSA)
10-pin Connector (Male)
Cable side (Front side)
IC Clip (Miyama Electric Company., Ltd
MJ-033)
Add label to IC Clip (Pin Name)
10 2
9 1
NC
NC
NC
NC
NC
10
1
2
3
4
5
6
7
8
9
47KΩ
VCC
SCLK
RXD
GND
TXD
150mm
47KΩ
Figure 2.2.1 Interface Cable Connecting Diagram
Lable name of IC clip
and color of wiring
coatings
VCC
(Red)
RXD
GND
TXD
(Blue)
(Yellow)
(Black)
(Green)
SCLK
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 2 of 30
M3S-UFLA32R
UART Flash Memory Programming Utility
RJJ99J0021-0100
Figure 2.2.2 MF-TEN-NINE Cable Connecting Diagram
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 3 of 30
UART Flash Memory Programming Utility
Table 2.2.1 Usage Specification
Parameter
DC Power Supply
RS-232C Communication Rate
Consumption Current
Operating Ambient Temperature
Storage Ambient Temperature
Rated Value
MIN MAX
3.0 3.6 V Target Supply Voltage
4.5 5.5 V Target Supply Voltage
9600 115200 bps Communication Speed with PC
- 60 mA MAX3221EAE Specification
5 35 °C
0 60 °C
Unit Condition
No Condensation, No Corrosive Gas
Environment
No Condensation, No Corrosive Gas
Environment
2.3 Target MCU/Target Board
Target MCU and Target Board should be prepared by the user.
Table 2.3.1 lists the M3S-UFLA32R compatible MCUs and Target Boards.
Table 2.3.1 Target MCU and Target Board
Target MCU Target Board Type Name Starter Kit Type Name
32170/32174 Group
32171 Group
32172/32173 Group
32176 Group
32180 Group
32182 Group
32185/32186 Group
32192/32195/32196 Group
Table 2.4.1 shows the system requirements of a host PC. Host PC should be prepared by the user.
Table 2.4.1 System Requirements of a Host PC
Host PC IBM PC/AT and its Compatible Machine
OS
Communication Port COM1
Windows 2000
Windows XP
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 4 of 30
M3S-UFLA32R
UART Flash Memory Programming Utility
3. Installation of the M3S-UFLA32R
3.1 Installation of the M3S-UFLA32R
To install the M3S-UFLA32R, perform the following steps.
1) Execute Setup.exe in "¥Eng¥Tool¥Ufla32r¥W95E" folder contained in the provided CD. (Note1)
2) Continue installation by following the instruction of the installation window.
3) Installation is completed when Setup Complete dialog appears.
Note 1: To use the file which is downloaded from our homepage, uncompress the file before execute Setup.exe.
Note: Administrator authority is required to install software under Windows2000 and WindowsXP.
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 5 of 30
UART Flash Memory Programming Utility
4. Operation Method of the M3S-UFLA32R
4.1 Startup
Double-click the icon after the M3S-UFLA32R setup is completed.
4.2 Exit
Choose [Exit(X)] from [File(F)] menu.
4.3 Operation Outline of the M3S-UFLA32R
To write to the flash memory, perform the following steps.
1) Connecting Host PC to Target Board
•Connect D-Sub 9 pin connector of the MF-TEN-NINE cable to COM1 of the host PC.
•Connect MF-TEN-NINE cable to the interface cable.
•Connect IC clip of the interface cable to the target board by referring to Table 4.3.1.
M3S-UFLA32R
MF-TEN-NINE CableInterface Cable
Connect to
COM1 of the
Host PC
Target Board
Figure 4.3.1 Connection Diagram
Table 4.3.1 Connecting Interface Cable to the Target Board
Interface Cable
IC Clip Color IC Clip Pin Name
Red VCC VCCE power supply
Blue SCLK P87 pin
Yellow RXD P86 pin (RXD1)
Black GND GND pin
Green TXD P85 pin (TXD1)
Destination of the Target Board Connection
2) Setting for FP Pin, MOD0 Pin, and MOD1 Pin
Set FP pin of the target board to "H," MOD0 pin to "H," and MOD1 pin to "L," respectively.
For setting procedure, refer to respective board manuals.
3) Power to the Target Board
Start power supply to the target board.
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 6 of 30
UART Flash Memory Programming Utility
4) Reset the Target MCU
Reset the target MCU by pressing the reset switch on the target board.
5) Starting the M3S-UFLA32R
Start the M3S-UFLA32R.
6) Execution of Writing to the Flash Memory by the M3S-UFLA32R
Operate the M3S-UFLA32R and perform writing to the flash memory.
For detail about operation method, refer to "5. Function Description of the M3S-UFLA32R."
Note: During erasing or writing, it is prohibited to reset the target board and to turn off the power.
7) Exit the M3S-UFLA32R
Exit the M3S-UFLA32R.
8) Power off the Target Board
Cut the power supply to the target board.
M3S-UFLA32R
REJ10B0239-0140/Rev.1.40 Mar. 2007 Page 7 of 30
M3S-UFLA32R
UART Flash Memory Programming Utility
5. Function Description of the M3S-UFLA32R
5.1 Function List
Table 5.1 lists functions of the M3S-UFLA32R. Choose each function from menu or click a button
for execution.
Table 5.1 Function List
Menu Button Function Reference
Load Refer Read the program data of specified Motorola S
format file into the internal buffer
Exit - Exit the M3S-UFLA32R 5.3
Display Lock Bit Information- Display lock bit information 5.4
Device
Help Version information - Display the versions of the M3S-UFLA32R and F/W 5.18
Program Program Write program data from internal buffer to the flash
memory
Erase Erase Erase all blocksfrom the flash memory 5.6
Block Erase - Erase the specified blocks from the flash memory 5.7
Lock Bit / Set - Write lock bit to the specified blocks in the flash
memory
Lock Bit / Enable - Enable memory protect by the lock bit 5.9
Lock Bit / Disable - Disable memory protect by the lock bit 5.10
Blank Check Blank CheckCheck if all the flash memory blocks are erased 5.11
Verify Check Verify CheckCheck if the program data of internal buffer and the