Suisei EFP-RC2 User manual

Front page
4th Edition
SUISEI ELECTRONICS SYSTEM CO., LTD.
Thank you very much for purchasing EFP-RC2 this time.
If you have any comments about the product, please contact us or our
distributor.
The contents of this manual are subject to change without notice . The latest
information can be viewed on our website ( http://www.suisei.co.jp ).

EFP-RC2 Instruction Manual 4th Edition
( 2 /143 )
Index
Safety Precautions ...................................................................................................................................................................... 6
Please read this part first ....................................................................................................................................................... 7
1. Preparation needed to start using EFP-RC2...............8
1.1 Check content in a package and accessories..............................................................................8
1.2 Operation environment .................................................................................................................................8
1.3 Name of each part of the product .......................................................................................................9
1.4 How to connect.............................................................................................................................................. 11
1.5 How to install CF card ............................................................................................................................... 12
2. Procedure for using EFP-RC2............................................ 14
2.1 Install control software.............................................................................................................................. 15
2.2 Creation of user program ( HEX / MOT ) and script file ( PBT ) ................................15
2.3 Convert user program ( HEX / MOT ) to data file ( Hxw ) ..............................................16
2.4 Download data file and script file to EFP-RC2 ....................................................................... 17
2.5 Connect the Target system and EFP-RC2................................................................................. 18
2.6 Execute ( write ) the script file..............................................................................................................18
3. Command Description............................................................... 19
3.1 Command list that can be used with RL78 and Battery Management IC ..........19
3.2 Command list that can be used with RX ..................................................................................... 20
3.3 Command list that can be used with SH ..................................................................................... 21
3.4 Command list that can be used with R8C.................................................................................. 22
3.5 Command list that can be used with M16C ............................................................................. 23
3.6 Command list that can be used with 720 / 4500 / 740...............................................24
MCU set command ( common to all ).............................................................................................25
VDD supply command ( common to all ) ..................................................................................... 27
Baudrate set command ( RL78 / Battery Management IC ) ......................................... 28
Baudrate set command ( RX / SH )................................................................................................. 30
Baudrate set command ( R8C ).......................................................................................................... 34
Mode entry command ( RX / SH ).....................................................................................................36
ID collation command ( RX / SH )...................................................................................................... 37

EFP-RC2 Instruction Manual 4th Edition
( 3 /143 )
ID collation command ( R8C / M16C / 720 / 4500 / 740 ).......................................38
Signature command ( RL78 / Battery Management IC ) ................................................. 40
Erase command ( RL78 / Battery Management IC )........................................................... 41
Erase command ( RX / SH ) ..................................................................................................................42
Erase command ( R8C / M16C )....................................................................................................... 43
Erase command ( 720 / 4500 / 740 ) ........................................................................................ 44
Blank check command ( RL78/RX/R8C/M16C/Battery Management IC )....... 45
Blank check command ( SH )...............................................................................................................46
Blank check command ( 720 / 4500 / 740 ) ........................................................................ 47
All block blank check command ( RX / SH ) ............................................................................. 49
All block blank check command ( R8C )...................................................................................... 50
High-speed blank command ( R8C / M16C )..........................................................................51
Program command ( Other than SH )............................................................................................ 52
Program command ( SH )........................................................................................................................ 54
Verify command ( Other than SH ) .................................................................................................. 55
Verify command ( SH ) .............................................................................................................................. 56
High-speed verify command ( M16C )...........................................................................................57
Read command ( RX / R8C / M16C )............................................................................................ 58
Read command ( SH )................................................................................................................................ 59
Read command ( 720 / 4500 / 740 ) .........................................................................................60
Security setting command ( RL78 / Battery Management IC )....................................61
Security release command ( RL78 )................................................................................................. 63
Checksum command ( RL78 / Battery Management IC ) ............................................... 64
Checksum command ( RX / SH ) ...................................................................................................... 65
Lockbit set command ( RX ) .................................................................................................................. 66
Lockbit set command ( SH )..................................................................................................................67
Lockbit set command ( M16C ) .......................................................................................................... 68
Read-protect command ( 720 / 4500 / 740 )......................................................................69
Wait command ( common to all ) .......................................................................................................70
4. Sample script ................................................................................... 72
5. Function explanation ................................................................. 77
5.1 Menu explanation..........................................................................................................................................77
Switch display language of menu...................................................................................................... 77
Change menu name....................................................................................................................................78
Change link destination............................................................................................................................. 79
Copy menu file ................................................................................................................................................. 80

EFP-RC2 Instruction Manual 4th Edition
( 4 /143 )
Menu display and Initialization of link destination..................................................................80
5.2 Display information description............................................................................................................ 81
Firmware version and CF card free space indication .........................................................81
CF card ID display.......................................................................................................................................... 81
USB-PID display.............................................................................................................................................. 81
Display of cumulative execution count of PBT........................................................................82
Counter display ...............................................................................................................................................82
Property display function ......................................................................................................................... 82
Display checksum of Hxw file ...............................................................................................................83
Dump display .................................................................................................................................................... 83
5.3 One touch write.............................................................................................................................................. 84
5.4 Hxw file conversion function ................................................................................................................ 85
5.5 Edit Hxw file....................................................................................................................................................... 86
5.6 Quick trace ......................................................................................................................................................... 87
5.7 Counter preset function...........................................................................................................................88
5.8 Counter clear function .............................................................................................................................. 90
5.9 How to use user memory file................................................................................................................. 91
5.10 Option function setting .............................................................................................................................94
(1) Forced reset of EFP-RC2 main unit........................................................................................ 95
(2) Time to recover at the end of command............................................................................. 95
(3) Display time between commands.............................................................................................. 96
(4) Startup time of EFP-RC2................................................................................................................ 96
(5) Automatic execution of PBT file at power on.................................................................. 97
(6) Sum check of executable file at power on.........................................................................97
(7) Automatic sun check at Hxw download ............................................................................. 98
(8) Hxw file match ........................................................................................................................................ 99
(9) ID code output of trace file.........................................................................................................100
(10) Measure download time.............................................................................................................101
5.11 Secure function of EFP-RC2.............................................................................................................102
5.11.1 How to set / cancel secure function on EFP-RC2.................................................104
5.11.2 How to set / cancel secure function in RC-Downloader...................................109
5.11.3 Operation after secure function setting..........................................................................113
5.11.4 Security move function ...............................................................................................................115
5.12 ON / OFF setting of buzzer sound................................................................................................117
5.12.1 How to set using EFP-RC2......................................................................................................117
5.12.2 How to set using RC-Downloader......................................................................................119
5.13 Change file name........................................................................................................................................120
5.14 How to create the folder.......................................................................................................................121

EFP-RC2 Instruction Manual 4th Edition
( 5 /143 )
5.15 How to erase the file................................................................................................................................122
5.16 Firmware update.........................................................................................................................................124
5.17 About external control signal ............................................................................................................125
6. RC-Downloader Detailed explanation ........................126
6.1 Create Hxw file .............................................................................................................................................126
6.2 Calculate checksum of Hxw file.......................................................................................................128
6.3 File download ................................................................................................................................................129
6.4 Uploading files...............................................................................................................................................130
6.5 Secure function setting..........................................................................................................................131
6.6 Buzzer sound setting ..............................................................................................................................132
6.7 How to install RC-Downloader.........................................................................................................133
6.8 How to uninstall RC-Downloader ..................................................................................................133
7. About handling CF card.......................................................134
7.1 CF card file specification .......................................................................................................................134
7.2 Directory structure.....................................................................................................................................134
7.3 Restrictions on downloading..............................................................................................................135
7.4 CF card error .................................................................................................................................................135
7.5 Precautions .....................................................................................................................................................136
8. Trouble shooting........................................................................137
9. About supported devices ....................................................142
10. Specification...............................................................................142

EFP-RC2 Instruction Manual 4th Edition
( 6 /143 )
Safety Precautions
This manual explains precautions in order of warnings, cautions, and important in order to
correctly use the product and to prevent injuries / property damage etc to the people who
use it and surroundings.
Before using the product, please understand the contents stated in the notes well.
WARNING
If the requirements shown in the "WARNING" sentences are
ignored, the equipment may cause serious personal injury or
death through improper handling.
CAUTIONS
If the requirements shown in the "CAUTION" sentences are
ignored, the equipment may cause injury or property damage
through improper handling.
IMPORTANT
It means important information on using this product.
WARNING
●Warnings for Installation
Please do not install this product in a place with high humidity and where it is wet with
water etc.
If water or the like spills into the inside, it can cause an unrepairable malfunction.
●Warning for Use Environment
The upper limit (maximum rated ambient temperature) of the ambient temperature when
using this product is 40℃.
Be careful not to exceed this maximum rated ambient temperature.
CAUTIONS
●Do not disassemble or modify the product. Doing so could result in equipment failure.
●Handle this product carefully, please do not give strong impact by falling etc.
●Do not touch the metal terminals of each connector directly with your hand.
●Do not use this product in the upright position.
●If you don't plan to use the hardware for an extended period of time, place in a vinyl
bag ,etc., to control humidity, and store in a place not exposed to direct sunlight where
the temperature is 0-37℃.

EFP-RC2 Instruction Manual 4th Edition
( 7 /143 )
Plaese read this part first
○This product is a writing device dedicated to one chip microcomputer with built-in flash
ROM made by Renesas Electronics. It can not be used for writing to other devices or for
other uses.
○The warranty period of this product is one year after purchase. In the meantime, defects
caused by manufacturing problems are repaired free of charge. Please contact your
dealer or our company.
However, in the following case, it becomes for a fee.
Breakage of articles of consumption (a socket, switch, etc.)
In case of damage due to mishandling of product
Moreover, it can not guarantee the defect of MCU device written by this device and the
problem caused by it.
○In domestic use, we are not subject to the Electrical Appliance and Material Control Law
and electromagnetic interference prevention measures.
In addition, this equipment does not acquire safety standards such as UL, IEC and other
standards. Therefore, please be aware of this point if you are brought overseas from
Japan.
○When using in Japan, we are not subject to the Electrical Appliance and Material
Control Law and electromagnetic interference prevention measures.
Moreover, this product does not acquire safety standard such as UL, IEC etc etc.
Therefore, please be aware of this point when taking it outside of Japan.
○The contents described in this document may be changed without notice for future
reasons such as performance improvement in the future. Please note that we can not
assume the responsibility for the result of the operation of the description contents.
○We are accepting inquiries about the contents of this document and software by our
company e-mail.
To 6-5-24, Tsurumi, Tsurumi-ku, Osaka City 538-0053, Japan
Suisei Electronics System Co., Ltd.
http://www.suisei.co.jp/

EFP-RC2 Instruction Manual 4th Edition
( 8 /143 )
1. Preparation needed to start using EFP-RC2
1.1 Check content in a package and accessories
EFP-RC2 main unit : 1
USB cable : 1
Power cable : 1
EF1TGCB-16WX(Target interface cable, cable end is not bound): 1
CF card(attached to the main unit): 1
1.2 Operation environment
①Computer environment
Please check if your computer environment satisfies the following conditions.
OS:Windows XP/Vista/7(32bit/64bit)/8(32bit/64bit)/
Windows 8.1(32bit/64bit)/10(32bit/64bit)
Hard disk space:Space capacity more than 100M byte is necessary
Memory:Memory more than 16M byte is necessary
②Power Supply Input
The power supply of EFP-RC2 canbe inputted from the following lines.
External power supply connector(outside:GND,inside:VCC)
USB_I/F connector(1:+5V)
Target connector (1:GND,4:T_VDD)
*When two kinds of power supplies are connected simultaneously, it is supplied from a
higher voltage side.
Please use external power supply voltage more than 4V and is less than 5.5V .
When power is turned on, please do not connect the target cable in the status of target
power ON and EFP-RC2 power OFF.
For how to connect with the target, please refer to serial unit support documentation
(MCU support documentation) on our website;
http://www.suisei.co.jp/download_e/download_e.html.

EFP-RC2 Instruction Manual 4th Edition
( 9 /143 )
1.3 Name of each part of the product
Fig. 1.1 Name of each part of EFP-RC2
Name
Description
①
Cursor key
Cursor keys for selecting commands and parameters
②
A key
Usage changes depending on the application
③
B key
Back key : Return operation route. Cancel the selected
command
④
S key
Set key : Determines the selected command or parameter
⑤
LCD display
Display commands, parameters, etc.
⑥
USB I/Fconnector
Connector to connect with USB cable
⑦
External power
supply connector
1.3mm round pin power supply connector for power supply
(outside : GND , inside : Vcc)
⑧
Target-connection
connector
Connector to be connected with target connection cable
Table 1.1 Each part name

EFP-RC2 Instruction Manual 4th Edition
( 10 /143 )
Fig. 1.2 Target connector pin layout
Signal name
In/Out
Description
1
GND
GND
2
(NC)
―
3
T_VPP
Out
Target programming power supply output
4
T_VDD
Out
Target power supply input ( 3.3V to 5V )
5
(NC)
―
6
Err
Out
External display signal : Programming execution
error
7
Exec
Out
External display signal : Under command execution
8
T_PGM/OE
Out
Target write-in read-out pulse
9
T_SCLK
Out
Clock for synchronous communication for target
10
T_TXD
Out
Serial transmission data for target
11
T_RXD
In
Serial receive data from target
12
T_Busy
In
Busy signal from target
13
Start
In
External start switch signal
14
T_Reset
Out
Target reset control signal
15
(NC)
―
16
GND
GND
Table 1.2 Target connector terminal description

EFP-RC2 Instruction Manual 4th Edition
( 11 /143 )
1.4 How to connect
①Connect EFP-RC2 with computer
In case data is downloaded to EFP-RC2, please connect EFP-RC2 and computer using
USB cable as shown in Fig.1.3.
Fig. 1.3 Connection with computer
②Connect EFP-RC2 with target system
When executing (writing) the script to the target system, connect EFP-RC2 and the
target system as shown in Fig. 1.4.
Fig. 1.4 Connection with target system

EFP-RC2 Instruction Manual 4th Edition
( 12 /143 )
1.5 How to install CF card
①Remove the back cover
Slide and remove the back cover as shown in Fig. 1.5.
Fig. 1.5 Remove the back cover
②CF card installation
Install the CF card in the EFP-RC2 as shown in Fig. 1.6.
Fig. 1.6 CF card installation

EFP-RC2 Instruction Manual 4th Edition
( 13 /143 )
③Back cover installation
Attach the back cover as shown in Fig. 1.7.
Fig. 1.7 Back cover installation

EFP-RC2 Instruction Manual 4th Edition
( 14 /143 )
2. Procedure for using EFP-RC2
Step1
•Install control software (P15)
Step2
•Create user program ( HEX / MOT ) (P15)
•Create script file ( PBT ) (P19~70)
•Create each file with compiler, assembler tool , editor application
Step3
•Convert user pogram to data file ( Hxw ) (P16)
•Operate with control software "RC-Downloader"
Step4
•Download data file ( Hxw ) and script file ( PBT )
to EFP-RC2 (P17)
•Operate with control software "RC-Downloader"
Step5
•Setting function of EFP-RC2 (P77~122)
Buzzer sound, security, display time between commands etc.
•If you do not change the setting , go to the next step
Step6
•Connect target system with EFP-RC2 (P18)
Step7
•Execute script file (P18)
•Operate with EFP-RC2

EFP-RC2 Instruction Manual 4th Edition
( 15 /143 )
2.1 Install control software
EFP-RC2 control software "RC-Downloader" is an application for creating Hxw file and
downloading it to the EFP-RC2.
Please download Product CD data from the following site and execute "install.exe".
For details of installation, refer to "6.7 How to install RC-Downloader" (P.133).
http://www.suisei.co.jp/download_e/productdata_efprc2_e.html
After the installation is completed, follow the procedure from STEP 2 to STEP 7 and
operate.
2.2 Creation of user program ( HEX / MOT ) and script file ( PBT )
Please create user program using Intel HEX or Motorola S format.
Please create script file ( PBT ) that run EFP-RC2 with an editor, etc.
For details on how to create a script file ( PBT ), refer to "3. Command Description" (P.19)
and "4. Sample script" (P.72).
All the script commands including file name should be described in English one byte
characters. (except for comment texts)
English characters are not case-sensitive.

EFP-RC2 Instruction Manual 4th Edition
( 16 /143 )
2.3 Convert user program ( HEX / MOT ) to data file ( Hxw )
Firstly start RC-Downloader.EXE and open Hxw File Exchange tab.
Enter the HEX / MOT file in the Hex file (E) and enter the Hxw file name to be created in the
Hxw file (X).
After completing the setting, please click “Hex -> Hxw”button.
Once progress bar reaches the right edge, Hxw file is to be completed.
For detailed usage of RC-Downloader, please refer to "6. RC-Downloader Detailed
explanation" (P.126).
①Enter HEX / MOT file
②Enter Hxw file to create
③After setting is completed, click

EFP-RC2 Instruction Manual 4th Edition
( 17 /143 )
2.4 Download data file and script file to EFP-RC2
Connect the personal computer and the EFP-RC2 with a USB cable.
Open the File Download tab of RC-Downloader and set the created Hxw file in the
Download File field. Please select Hxw file from Browse.
Please click the download button after setting is completed.
Download is completed when the progress bar reaches the right end.
In the same way, please select the created script file from Browse and download it.
After downloading is completed, connection with the personal computer is unnecessary.
①Set Hxw file or PBT file
②After setting is completed, click
Note:
・The downloaded data is saved in the directory displayed on the LCD screen of EFP-RC2.
For the directory structure of the CF card, refer to "7.2 Directory structure" (P.134).

EFP-RC2 Instruction Manual 4th Edition
( 18 /143 )
2.5 Connect the Target system and EFP-RC2
Connect the target system (MS board etc.) and EFP-RC2 with the target cable.
For details of the connection method, please refer to the serial unit supplementary
materials etc on our website.
http://www.suisei.co.jp/download_e/download_e.html
2.6 Execute ( write ) the script file
Move to the folder where the PBT file is saved, move the cursor to the PBT file to be
executed and press the S key.
When you press the S key, the execution confirmation screen is displayed alternately as
shown below.
If you press the S key again, execution of the script file will start.
B key is cancel. For the memory function of A key, refer to "5.9 How to use user memory
file" (P. 91).
When an error occurs, refer to "8. Trouble shooting" (P.137).
Sample.PBT
Sample.Hxw
Sample.PBT
EXECUTE THIS FILE?
Sample.PBT
A=MEMORY B=NO S=YES
←Place the cursor on the PBT file and press the S key.
Display alternately
Target system
Power input
Target connection cable

EFP-RC2 Instruction Manual 4th Edition
( 19 /143 )
3. Command Description
3.1 Command list that can be used with RL78 and Battery Management IC
Table 3.1 shows the commands and their description pages that can be used with RL78
Family / Battery Management IC.
Table 3.1 Command list that can be used with RL78 and Battery Management IC
Command name
Description
Command
Summary
Page
MCU set
T
Set the target MCU
25
VDD supply
X
Supply VDD to target MCU
27
Baudrate set
S
Change communication speed
28
Signature
G
Check target MCU name
40
Erase
E
Erase MCU built-in ROM
41
Blank check
B
Confirm that the MCU built-in ROM is erased
45
Program
P
Program the contents of the Hxw file to the MCU built-in ROM
52
Verify
V
Collate contents of Hxw file with MCU built-in ROM
55
Security setting
L
Security setting for prohibitiong program rewriting
61
Security release
D
Disable security
63
Checksum
H
Confirm checksum value of MCU built-in ROM
64
Wait
W
Temporarily stop script action
70
Command of "◆" does not correspond to RL78 / G10.

EFP-RC2 Instruction Manual 4th Edition
( 20 /143 )
3.2 Command list that can be used with RX
Table 3.2 shows the commands and their description pages that can be used with RX
family.
表3.2 Command list that can be used with RX
Command name
Description
Command
Summary
Page
MCU set
T
Set the target MCU
25
VDD supply
X
Supply VDD to target MCU
27
Baudrate set
N
Change communication speed
30
Mode entry
M
Carry out a mode entry
36
ID collation
I
Cancel ID code protect function
37
Erase
E
Erase MCU built-in ROM
42
Blank check
B
Confirm that the MCU built-in ROM is erased
45
All block
blank check
B
Confirm that all blocks of the MCU built-in ROM are erased
49
Program
P
Program the contents of the Hxw file to the MCU built-in ROM
52
Verify
V
Collate contents of Hxw file with MCU built-in ROM
55
Read
R
Read data of MCU built-in ROM to EFP-RC2
58
Checksum
H
Confirm checksum value of MCU built-in ROM
65
Lockbit set
K
Enable lock bit of MCU built-in ROM
66
Wait
W
Temporarily stop script action
70
Other manuals for EFP-RC2
1
Table of contents
Other Suisei Motherboard manuals
Popular Motherboard manuals by other brands

Infineon
Infineon CY8CPROTO-062S2-43439 quick start guide

Intel
Intel BLKD945GNTL - LGA775 1066 800FSB 4DDR2 A/V Lan SATA ATX 10Pack... Technical product specification

Supermicro
Supermicro SUPERO X8ST3-F user manual

Linear Technology
Linear Technology DC875 quick start guide

Asus
Asus AAEON UP Squared UPS-APL user manual

Gigabyte
Gigabyte B660M D2H DDR4 user manual