Hide thumbs Also See for EFP-RC2:
Table of Contents

Advertisement

Quick Links

Front page
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 ).
4th Edition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EFP-RC2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Suisei EFP-RC2

  • Page 1 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...
  • Page 2: Table Of Contents

    Creation of user program ( HEX / MOT ) and script file ( PBT ) ........ 15 Convert user program ( HEX / MOT ) to data file ( Hxw ) ..........16 Download data file and script file to EFP-RC2 ............... 17 Connect the Target system and EFP-RC2 ................. 18 Execute ( write ) the script file......................
  • Page 3 Function explanation ..............77 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 ( 3 /143 )
  • Page 4 (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...
  • Page 5 CF card file specification ........................134 Directory structure ............................. 134 Restrictions on downloading ......................135 CF card error ..............................135 Precautions ..............................136 Trouble shooting ................ 137 About supported devices ............ 142 Specification ................142 EFP-RC2 Instruction Manual 4th Edition ( 5 /143 )
  • Page 6: Safety Precautions

    ● 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 ( 6 /143 )
  • Page 7: Please Read This Part First

    ○ 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. E-mail : support@suisei.co.jp http://www.suisei.co.jp/ EFP-RC2 Instruction Manual 4th Edition ( 7 /143 )
  • Page 8: Preparation Needed To Start Using Efp-Rc2

    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)...
  • Page 9: Name Of Each Part Of The Product

    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.
  • Page 10 Serial transmission data for target T_RXD Serial receive data from target T_Busy Busy signal from target Start External start switch signal T_Reset Target reset control signal (NC) ― Table 1.2 Target connector terminal description EFP-RC2 Instruction Manual 4th Edition ( 10 /143 )
  • Page 11: How To Connect

    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.
  • Page 12: How To Install Cf Card

    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...
  • Page 13 ③ 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 ( 13 /143 )
  • Page 14: Procedure For Using Efp-Rc2

    2. Procedure for using EFP-RC2 •Install control software (P15) Step1 •Create user program ( HEX / MOT ) (P15) •Create script file ( PBT ) (P19~70) Step2 •Create each file with compiler, assembler tool , editor application •Convert user pogram to data file ( Hxw ) (P16) •Operate with control software "RC-Downloader"...
  • Page 15: Install Control Software

    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.
  • Page 16: Convert User Program ( Hex / Mot ) To Data File ( Hxw )

    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 ( 16 /143 )
  • Page 17: Download Data File And Script File To Efp-Rc2

    ② 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...
  • Page 18: Connect The Target System And Efp-Rc2

    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 Target system...
  • Page 19: Command Description

    Security setting for prohibitiong program rewriting Security release Disable security Checksum H Confirm checksum value of MCU built-in ROM Wait W Temporarily stop script action Command of "◆" does not correspond to RL78 / G10. EFP-RC2 Instruction Manual 4th Edition ( 19 /143 )
  • Page 20: Command List That Can Be Used With Rx

    Program the contents of the Hxw file to the MCU built-in ROM Verify V Collate contents of Hxw file with MCU built-in ROM Read R Read data of MCU built-in ROM to EFP-RC2 Checksum H Confirm checksum value of MCU built-in ROM Lockbit set K...
  • Page 21: Command List That Can Be Used With Sh

    Program the contents of the Hxw file to the MCU built-in ROM Verify V Collate contents of Hxw file with MCU built-in ROM Read R Read data of MCU built-in ROM to EFP-RC2 Checksum H Confirm checksum value of MCU built-in ROM Lockbit set K...
  • Page 22: Command List That Can Be Used With R8C

    Program the contents of the Hxw file to the MCU built-in ROM Verify V Collate contents of Hxw file with MCU built-in ROM Read R Read data of MCU built-in ROM to EFP-RC2 Wait W Temporarily stop script action EFP-RC2 Instruction Manual 4th Edition ( 22 /143 )
  • Page 23: Command List That Can Be Used With M16C

    Collate the check sum of the Hxw file and MCU built-in ROM High-speed verify V data Read R Read data of MCU built-in ROM to EFP-RC2 Lockbit set K Enable lock bit of MCU built-in ROM Wait W Temporarily stop script action...
  • Page 24: Command List That Can Be Used With 720 / 4500 / 740

    Program the contents of the Hxw file to the MCU built-in ROM Verify V Collate contents of Hxw file with MCU built-in ROM Read R Read data of MCU built-in ROM to EFP-RC2 Read-protect Enable read protect function Wait W Temporarily stop script action...
  • Page 25: Mcu Set Command ( Common To All )

    09: 720 QzROM 10: 4500 QzROM 11: 7544 QzROM 12: 7545 QzROM 13: 7546 QzROM 14: 7547-9 QzROM 15: 385x QzROM 16: 38238-A QzROM 17: 38Dx Qz 8Byte 18: 7542 Flash EFP-RC2 Instruction Manual 4th Edition ( 25 /143 )
  • Page 26 MCU, so pay attention to the setting carefully. ・Please refer to http://www.suisei.co.jp/devicelist_e.html for the device list. ・When upgrading the firmware, the order of corresponding products may be changed. ・When using the target MCU setting from 8 to 18, 24 to 30, a dedicated interface board ( EFXQZP-01-x ) is required.
  • Page 27: Vdd Supply Command ( Common To All )

    37: RL78 Note: ・It is only +5V that can output VDD from EFP-RC2. If it is used for an MCU with other VDD voltage, there is a risk of damaging the MCU. Please use after confirming sufficiently. ・Although the current capacity that can be supplied is possible up to 300mA, if the inrush current of the board is large, an error occurs, and in the worst case the EFP-RC2 itself will reset.
  • Page 28: Baudrate Set Command ( Rl78 / Battery Management Ic )

    By changing the setting value you can change the communication speed and reduce processing time. Corresponding variety: RL78 family ( This function can not be used with RL78/G10 series ), Battery Management IC EFP-RC2 Instruction Manual 4th Edition ( 28 /143 )
  • Page 29 MCU access and a device error occurs. Please change communication speed and use. ・After setting, it operates at the baud rate set until changing the MCU setting (T command) or turning off the power of the EFP-RC2. ・Please describe this command after MCU set command.
  • Page 30: Baudrate Set Command ( Rx / Sh )

    MCU access and a device error occurs. Please change communication speed and use. ・After setting, it operates at the baud rate set until changing the MCU setting (T command) or turning off the power of the EFP-RC2. ・Please describe this command after MCU set command.
  • Page 31 N=53 37735 N=81 24691 N=109 18348 N=26 76923 N=54 37037 N=82 24390 N=110 18181 N=27 74074 N=55 36363 N=83 24096 N=111 18018 N=28 71428 N=56 35714 N=84 23809 N=112 17857 Unit[bps] EFP-RC2 Instruction Manual 4th Edition ( 31 /143 )
  • Page 32 N=165 12121 N=193 10362 N=221 9049 N=138 14492 N=166 12048 N=194 10309 N=222 9009 N=139 14388 N=167 11976 N=195 10256 N=223 8968 N=140 14285 N=168 11904 N=196 10204 N=224 8928 Unit[bps] EFP-RC2 Instruction Manual 4th Edition ( 32 /143 )
  • Page 33 N=237 8438 N=245 8163 N=253 7905 N=230 8695 N=238 8403 N=246 8130 N=254 7874 N=231 8658 N=239 8368 N=247 8097 N=255 7843 N=232 8620 N=240 8333 N=248 8064 N=256 7812 Unit[bps] EFP-RC2 Instruction Manual 4th Edition ( 33 /143 )
  • Page 34: Baudrate Set Command ( R8C )

    By changing the setting value you can change the communication speed and reduce processing time. Corresponding variety: R8C/14-(1Line), R8C/2x, R8C/3x, R8C/Lx ( This function can not be used with R8C/10-13 group ) EFP-RC2 Instruction Manual 4th Edition ( 34 /143 )
  • Page 35 MCU access and a device error occurs. Please change communication speed and use. ・After setting, it operates at the baud rate set until changing the MCU setting ( T command ) or turning off the power of the EFP-RC2. ・Please describe this command after MCU set command.
  • Page 36: Mode Entry Command ( Rx / Sh )

    In order to execute each command in the RX family and SH family, it is necessary to first execute the mode entry command. Please describe this command after Baudrate setting command. EFP-RC2 Instruction Manual 4th Edition ( 36 /143 )
  • Page 37: Id Collation Command ( Rx / Sh )

    ・The number of bytes transmitted is fixed at 16 bytes. ・In case of SH family, please fill in the unnecessary part on the upper side of the ID code with FF. EFP-RC2 Instruction Manual 4th Edition ( 37 /143 )
  • Page 38: Id Collation Command ( R8C / M16C / 720 / 4500 / 740 )

    The HEX/MOT files that are created without having to worry about an ID, IDs of all zeros are normally set. ( For details, please check each MCU's program , user manual etc. ) EFP-RC2 Instruction Manual 4th Edition ( 38 /143 )
  • Page 39 If program and verify are executed with the same script using "ALeRASE", the program data will be erased before the verify check. When "ALeRASE" is used, it is recommended to execute only the ID collation command. EFP-RC2 Instruction Manual 4th Edition ( 39 /143 )
  • Page 40: Signature Command ( Rl78 / Battery Management Ic )

    RL78 family ( This function can not be used with RL78/G10 series ), Battery Management IC Example of use: Since an error occurs when the parameters do not match, erroneous writing to a different series MCU can be prevented. EFP-RC2 Instruction Manual 4th Edition ( 40 /143 )
  • Page 41: Erase Command ( Rl78 / Battery Management Ic )

    Battery Management IC Note: ・If you all erase with the battery management IC, erase all other than erase prohibited area. If erase prohibited area is specified by block erase, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 41 /143 )
  • Page 42: Erase Command ( Rx / Sh )

    Write end block address as FF7FFFFF. ( Common to both RX and SH ) ・For the SH family, it is always erasable regardless of whether the lock bit format is valid or invalid. EFP-RC2 Instruction Manual 4th Edition ( 42 /143 )
  • Page 43: Erase Command ( R8C / M16C )

    Corresponding variety:R8C family , M16C family Note: ・Please note that some MCUs ( such as M16C / 62P ) of the M16C have blocks that can not be erased with the all erase command. EFP-RC2 Instruction Manual 4th Edition ( 43 /143 )
  • Page 44: Erase Command ( 720 / 4500 / 740 )

    Description example: e,1000 ; Set the ROM start address to 1000H Note: An error occurs if an address not supported by the MCU is described in the start address. EFP-RC2 Instruction Manual 4th Edition ( 44 /143 )
  • Page 45: Blank Check Command ( Rl78/Rx/R8C/M16C/Battery Management Ic )

    ・It can not be used in the data flash area of the RX family. ・If the address of the write / erase prohibited area is specified for both the start address and the end address in the battery management IC, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 45 /143 )
  • Page 46: Blank Check Command ( Sh )

    ・If address other than MCU compatible address is described in start address or end address, an error occurs. ・It can not be used in the data flash area of the RX family. EFP-RC2 Instruction Manual 4th Edition ( 46 /143 )
  • Page 47: Blank Check Command ( 720 / 4500 / 740 )

    ・If address other than MCU compatible address is described in start address or end address, an error occurs. ・In case of MCU of page writing, an error occurs unless you specify start address to end address in 1 page unit (256 byte). EFP-RC2 Instruction Manual 4th Edition ( 47 /143 )
  • Page 48 Blank data Hxw file is stored in "\ Software \ 8bit QzROM Blank Data" folder of Product CD Data. Please download it in the same folder as the execution script file of EFP-RC2 when using it. EFP-RC2 Instruction Manual 4th Edition...
  • Page 49: All Block Blank Check Command ( Rx / Sh )

    The erase confirmation is executed by the boot program, so it can be checked faster than usual blank command. Corresponding variety:RX family , SH family Note: ・An error occurs when setting the MCU type incorrectly. EFP-RC2 Instruction Manual 4th Edition ( 49 /143 )
  • Page 50: All Block Blank Check Command ( R8C )

    The erase confirmation is executed by the boot program, so it can be checked faster than usual blank command. Corresponding variety: R8C/3x, Lx series ( choose MCU Type T=31, T=32 or T=36 ) Note: ・An error occurs when setting the MCU type incorrectly. EFP-RC2 Instruction Manual 4th Edition ( 50 /143 )
  • Page 51: High-Speed Blank Command ( R8C / M16C )

    ・In case of MCU of page writing, an error occurs unless you specify start address to end address in 1 page unit (256 byte). ・An error occurs when setting the MCU type incorrectly. EFP-RC2 Instruction Manual 4th Edition ( 51 /143 )
  • Page 52: Program Command ( Other Than Sh )

    Format: p,[ Hxw file name ],[ start address ],[ end address ], [ lockbit format ] ; p can be either uppercase or lowercase letters ・Hxw file name: Hxw file name downloaded to the CF card of EFP-RC2 ・start address : Start address of area to be executed ・end address :...
  • Page 53 0xFF data is embedded in the unused area of the conversion source MOT file. ・Writing is not executed for the program / erase prohibited area of the battery management IC. EFP-RC2 Instruction Manual 4th Edition ( 53 /143 )
  • Page 54: Program Command ( Sh )

    Format: p, [ Hxw file name ],[ area type ],[ start address ],[ end address ], [ lockbit format ] ; p can be either uppercase or lowercase letters ・Hxw file name: Hxw file name downloaded to the CF card of EFP-RC2 ・area type: 1 = User area , 2 = Data area , 3 = User boot area ・start address :...
  • Page 55: Verify Command ( Other Than Sh )

    Format: v,[ Hxw file name ],[ start address ],[ end address ] ; v can be either uppercase or lowercase letters ・Hxw file name: Hxw file name downloaded to the CF card of EFP-RC2 ・start address : Start address of area to be executed ・end address :...
  • Page 56: Verify Command ( Sh )

    Format: v, [ Hxw file name ],[ area type ],[ start address ],[ end address ] ; v can be either uppercase or lowercase letters ・Hxw file name: Hxw file name downloaded to the CF card of EFP-RC2 ・area type: 1 = User area , 3 = User boot area ・start address :...
  • Page 57: High-Speed Verify Command ( M16C )

    ・In case of MCU of page writing, an error occurs unless you specify start address to end address in 1 page unit (256 byte). ・An error occurs when setting the MCU type incorrectly. EFP-RC2 Instruction Manual 4th Edition ( 57 /143 )
  • Page 58: Read Command ( Rx / R8C / M16C )

     Read command ( RX / R8C / M16C ) The data of the MCU built-in ROM is read into EFP-RC2. Format: r,[ Hxw file name ],[ start address ],[ end address ] ; r can be either uppercase or lowercase letters ・Hxw file name:...
  • Page 59: Read Command ( Sh )

     Read command ( SH ) The data of the MCU built-in ROM is read into EFP-RC2. Format:r,[ Hxw file name ],[ area type ],[ start address ],[ end address ] ; r can be either uppercase or lowercase letters ・Hxw file name:...
  • Page 60: Read Command ( 720 / 4500 / 740 )

     Read command ( 720 / 4500 / 740 ) The data of the MCU built-in ROM is read into EFP-RC2. Format: r,[ Hxw file name ],[ start address ],[ end address ] ; r can be either uppercase or lowercase letters ・Hxw file name:...
  • Page 61: Security Setting Command ( Rl78 / Battery Management Ic )

    After that, you can not perform block erase on the MCU, erase and write to the boot cluster 0. We recommend that you execute it with PBT dedicated to security setting alone after checking target board operation. EFP-RC2 Instruction Manual 4th Edition ( 61 /143 )
  • Page 62 Compare the parameters described in the command with the security status set in the target MCU. Note: If the boot block number, FSW start block, FSW end block, and protect contents do not all match, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 62 /143 )
  • Page 63: Security Release Command ( Rl78 )

    RL78 family ( This function can not be used with RL78/G10 series ), Note: ・After executing the security setting command in the battery management IC, the security release command can not be used. EFP-RC2 Instruction Manual 4th Edition ( 63 /143 )
  • Page 64: Checksum Command ( Rl78 / Battery Management Ic )

    ・The checksum value is the value obtained by subtracting from the start address to the end address in 1 byte units. ・For the battery management IC, calculate the checksum value except the write / erase prohibited area. EFP-RC2 Instruction Manual 4th Edition ( 64 /143 )
  • Page 65: Checksum Command ( Rx / Sh )

    ( n = 0 , 1 , 2・・・) ◎ User area : 64kByte × 2 n ( n = 0 , 1 , 2・・・) ・If there is an unwritten area in the data area, the data becomes undefined. EFP-RC2 Instruction Manual 4th Edition ( 65 /143 )
  • Page 66: Lockbit Set Command ( Rx )

    ・In the RX family, the lock bit protect function exists only in the user area. ・If the corresponding block end address of the MCU is written incorrectly, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 66 /143 )
  • Page 67: Lockbit Set Command ( Sh )

    ・In the SH family, the lock bit protect function exists only in the user area. ・If the corresponding block end address of the MCU is written incorrectly, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 67 /143 )
  • Page 68: Lockbit Set Command ( M16C )

    Please specify the last even value of the end address of the locked block as an argument. Corresponding variety:M16C family Note: ・If the corresponding block end address of the MCU is written incorrectly, an error will occur. EFP-RC2 Instruction Manual 4th Edition ( 68 /143 )
  • Page 69: Read-Protect Command ( 720 / 4500 / 740 )

    ・Execution of this command makes it impossible to access data such as data read, verify and write to the MCU afterwards. We recommend that you run it on a single protect-only PBT after checking the operation of the target board. EFP-RC2 Instruction Manual 4th Edition ( 69 /143 )
  • Page 70: Wait Command ( Common To All )

    If resetting is canceled after writing, MCU operation may be affected by the circuit to which the writing cable is connected. EFP-RC2 Instruction Manual 4th Edition ( 70 /143 )
  • Page 71 Writing demonstration program 1 w=60 Run Demonstration program 1 for 1 minute i,ffffdf,,1 ID setting e,,1 Erase target MCU data p,demo2.hxw,fc0000,ffffff,1 Writing demonstration program 2 w=60 Run Demonstration program 2 for 1 minute EFP-RC2 Instruction Manual 4th Edition ( 71 /143 )
  • Page 72: Sample Script

    Verify check L,3,0,0,4 Write-protected setting with security setting command L,3,0,0,4,V Confirm security contents with security verify command. An error occurs if it does not match the contents of the security setting command. EFP-RC2 Instruction Manual 4th Edition ( 72 /143 )
  • Page 73 Program to user boot area v,User_Program.hxw,FFF80000,FFFFFFFF Verify the user area v,Boot_Program.hxw,FF7FC000,FF7FFFFF Verify the user boot area H,2,8,000FED0B Since the verify check is not possible for the data area, confirm with the checksum. EFP-RC2 Instruction Manual 4th Edition ( 73 /143 )
  • Page 74 Program to user boot area v,User_Program.hxw,1,00000000,0013FFFF Verify the user area v,Boot_Program.hxw,3,00000000,00007FFF Verify the user boot area H,2,32,003FD1E3 Since the verify check is not possible for the data area, confirm with the checksum. EFP-RC2 Instruction Manual 4th Edition ( 74 /143 )
  • Page 75 When this setting is not done, it is set to 19200 bps. i,ffdf,SUISEIS,0 Cancel ID protect e,,0 Erase all areas (lockbit valid) b,4000,13fff Blank check p,data.hxw,4000,13fff,0 Writing the program (lockbit valid) v,data.hxw,4000,13fff Verify check EFP-RC2 Instruction Manual 4th Edition ( 75 /143 )
  • Page 76 Blank check p,data.hxw,c0000,fffff,1 Writing the program (lockbit invalid) v,data.hxw,c0000,fffff Verify check r,read_data.hxw,c0000,fffff Read written data k,cffff Enable the lock bit of each block. k,dffff k,effff k,f7fff k,f9fff k,fbfff k,fdfff k,fefff k,fffff EFP-RC2 Instruction Manual 4th Edition ( 76 /143 )
  • Page 77: Function Explanation

    5. Function explanation 5.1 Menu explanation At the time of EFP-RC2 start, the upper two rows of the following five items are displayed on the LCD, and the display items can be switched with ↑ key and ↓ key. Move the cursor to each item and press the →...
  • Page 78: Change Menu Name

    ・The number of characters that can be used for the menu name is 1 to 18 characters. ・When replacing the CF card, the setting of the menu file returns to the initial state (MENU 01). Please set the menu file again. EFP-RC2 Instruction Manual 4th Edition ( 78 /143 )
  • Page 79: Change Link Destination

    ・The link to "CF ROOT" of menu item 1 can not be changed. ・When replacing the CF card, the setting of the menu file returns to the initial state (MENU 01). Please set the menu file again. EFP-RC2 Instruction Manual 4th Edition ( 79 /143 )
  • Page 80: Copy Menu File

    Press the B key while holding down ↑ key on the menu screen to enter menu file selection mode. Step2 Select MENU01 with the ↑ or ↓ key and press the S key to return to the menu screen and initialization is completed. EFP-RC2 Instruction Manual 4th Edition ( 80 /143 )
  • Page 81: Display Information Description

    Firmware version and CF card free space indication Pressing the ← key while the menu screen is displayed displays the firmware version of EFP-RC2 in the upper row of the LCD, and the free space of the CF card in the lower row. EFPRC2 Ver.1.xx.xx ←...
  • Page 82: Display Of Cumulative Execution Count Of Pbt

    B key. Release the B key to return to the file or folder display screen. 201x/xx/xx 00:00:00 ← Creation date xxKbyte a----- ← Data size EFP-RC2 Instruction Manual 4th Edition ( 82 /143 )
  • Page 83: Display Checksum Of Hxw File

    If you press the S key with something other than the following files selected, dump display will start. Press the B key to cancel. < Excluded files > PBT file, Hxw file, MOT file, HEX file EFP-RC2 Instruction Manual 4th Edition ( 83 /143 )
  • Page 84: One Touch Write

    Even if [ Auto Execute = on ] is set, if the file is insufficient, a normal menu screen will be displayed. ・The created trace file is automatically overwritten every time. EFP-RC2 Instruction Manual 4th Edition ( 84 /143 )
  • Page 85: Hxw File Conversion Function

    ・When using an MCU in which the data flash area, program area, and boot area are arranged separately, program data for each area must be created. If you convert from one data you can not convert correctly with over capacity. EFP-RC2 Instruction Manual 4th Edition ( 85 /143 )
  • Page 86: Edit Hxw File

    5.5 Edit Hxw file It is possible to edit the Hxw file by operating the EFP-RC2. < Operation procedure > Step1 Move the folder from FILES and select the Hxw file to edit. Step2 When you press the S key, a selection screen for checksum display and Hxw file edit is displayed.
  • Page 87: Quick Trace

    ;Success or failure of execution TIME = 3.147sec. ;Processing time 6:<v,RL78_sample.hxw,0000,FFFF> ;Command executed DATA VERIFING NOW! ;Processing content V COMMAND OK! ;Success or failure of execution TIME = 3.084sec. ;Processing time [TRACE END] ;End tracing EFP-RC2 Instruction Manual 4th Edition ( 87 /143 )
  • Page 88: Counter Preset Function

    When it is set to 0, it operates with the normal integration counter. When it is set to 1 or more, it operates in preset mode. Set PBT COUNT:00000 ← PBT execution count setting value U/D=chg. B=CAN S=SET EFP-RC2 Instruction Manual 4th Edition ( 88 /143 )
  • Page 89 ← Number of error occurrences Note: ・When set to preset mode, the counter clear function is invalid. ・After the counter value of PBT becomes 0, it needs to set again the execution count. EFP-RC2 Instruction Manual 4th Edition ( 89 /143 )
  • Page 90: Counter Clear Function

    B key, it will be canceled and you will return to the counter display screen. Note: ・When the counter preset function is used, the counter can not be initialized. EFP-RC2 Instruction Manual 4th Edition ( 90 /143 )
  • Page 91: How To Use User Memory File

    If you save another data in a file marked with ←, the data will be overwritten. ・Once you overwrite the stored PBT file with download etc., the memory will be deleted. EFP-RC2 Instruction Manual 4th Edition ( 91 /143 )
  • Page 92 S key, the memory file will be erased. Press the B key to return to the menu screen. Alternate display MEMORY01 MEMORY01 DELETE THIS MEMORY? B=CANSEL / S=YES Note: ・If you are loading a user file with no data, pressing the S key is also invalid. EFP-RC2 Instruction Manual 4th Edition ( 92 /143 )
  • Page 93 Note: ・If you replace the CF card, the settings will be canceled so you need to set it again. ・When using memory execution, do not set the MCU type with EFP-RC2. Please set with T command in PBT file. EFP-RC2 Instruction Manual 4th Edition...
  • Page 94: Option Function Setting

    If you change the setting other than the forced reset of item 1, you will be stored in the EFP-RC2 main unit by pressing the S key. Pressing the B key will exit the setting mode and return to the menu screen.
  • Page 95: Forced Reset Of Efp-Rc2 Main Unit

    GO TO RESET? A=RESET S=CANSEL Step2 Pressing the A key restarts the EFP-RC2 after reset. If automatic execution is permitted, it will wait for execution. Step3 Press the S key to move to the next setting. Also, even if 5 seconds elapse without pressing anything, it will shift to the next setting.
  • Page 96: Display Time Between Commands

    Short:Omit display of CF card free space etc. at startup Step3 Press the S key to complete the setting and move to the next setting. Pressing the B key cancels the setting and returns to the menu screen. EFP-RC2 Instruction Manual 4th Edition ( 96 /143 )
  • Page 97: Automatic Execution Of Pbt File At Power On

    ・When you set Sum check to permission, Sum check is executed every time when turning on the power, so if you use a large file, the startup time will be longer. EFP-RC2 Instruction Manual 4th Edition ( 97 /143 )
  • Page 98: Automatic Sun Check At Hxw Download

    B key cancels the setting and returns to the menu screen. Note: ・If the setting of "(6) Sum check of executable file at power on" is off, checksum is executed even if this item is set to off. EFP-RC2 Instruction Manual 4th Edition ( 98 /143 )
  • Page 99: Hxw File Match

    ◎ abc.hxw × abc01.hxw × xyz.hxw × ◎:Executable ×:Not executable Note: ・Please note that if there are multiple matching files in the execution folder, the first file found will be used. EFP-RC2 Instruction Manual 4th Edition ( 99 /143 )
  • Page 100: Id Code Output Of Trace File

    No:Hide ID code ( All "5Fh". ( "_" underscore code )) Step3 Press the S key to complete the setting and move to the next setting. Pressing the B key cancels the setting and returns to the menu screen. EFP-RC2 Instruction Manual 4th Edition ( 100 /143 )
  • Page 101: Measure Download Time

    ・If you execute the PBT file first after setting the time measurement to ON, the time measurement setting will be canceled. ・It is not displayed when multiple files are downloaded by dragging and dropping. EFP-RC2 Instruction Manual 4th Edition ( 101 /143 )
  • Page 102: Secure Function Of Efp-Rc2

    5.11 Secure function of EFP-RC2 It is possible to set the ID code on the EFP-RC2 and make it impossible to read the internal data of the CF card. Setting and releasing of secure function can be set by operation of EFP-RC2 main unit or RC-downloader operation.
  • Page 103 ・If you enable the secure function, the CF card will be scrambled and it will be unusable with other EFP-RC2. Also, it can not be read by a CF card reader or the like. ・If you attempt to read a scrambled CF card with a CF card reader etc., a format confirmation screen will be displayed.
  • Page 104: How To Set / Cancel Secure Function On Efp-Rc2

    Step4 When entering 4 digit ID code on the screen below and pressing → key or S key to confirm, EFP-RC2 is reset and SECURITY LEVEL1 setting is completed. Alternate display NEW No. = **** NEW No. = **** New Number Setting Select=U/D and→B=CAN...
  • Page 105 Step5 Pressing the ↓ key displays the counter mode change screen, so press the S key. Step6 Enter the ID code set in the EFP-RC2 on the following screen. Alternate display OLD No.= **** OLD No.= **** Old PIN.No input! Up/Down Select No.
  • Page 106 CF card route, the security level setting screen will not be displayed. It works as counter preset function of SECURITY LEVEL1. ・When set to SECURITY LEVEL2, secure function can not be canceled with EFP-RC2 main unit. ・With SECURITY LEVEL2, data can not be downloaded. To change data, ID code authentication or secure function must be canceled.
  • Page 107 ・If you permit only ID code authentication, data can be uploaded until the power of EFP-RC2 is turned off or the main unit is reset. ・If you set an ID code using alphabet characters with RC-Downloader, you can not cancel secure function with EFP-RC2 main unit.
  • Page 108 When you press the S key, a new ID code input screen is displayed as shown below. After entering 4 digit ID code and pressing → key or S key, EFP-RC2 is reset and ID code change is completed. Alternate display NEW No.
  • Page 109: How To Set / Cancel Secure Function In Rc-Downloader

    Step1 Step2 Step3 Step4 After the data transfer is complete, EFP-RC2 is reset and SECURITY LEVEL1 setting is completed. Note: ・"0000" can not be set as the ID code of the secure function. ・When alphabet characters are used for ID code, cancellation of secure function and change of setting can not be done with EFP-RC2 main unit.
  • Page 110 Step4 Step5 Step6 Step7 After the data transfer is complete, EFP-RC2 is reset and SECURITY LEVEL2 setting is completed. Step8 When setting of SECURITY LEVEL2 is completed, the PBT file name to be executed as below and the number of remaining execution times are displayed on EFP-RC2 and it waits for input of S key.
  • Page 111 CF card route, it works as counter preset function of SECURITY LEVEL1. ・When set to SECURITY LEVEL2, secure function can not be canceled with EFP-RC2 main unit. ・With SECURITY LEVEL2, data can not be downloaded. To change data, ID code authentication or secure function must be canceled.
  • Page 112 Step2 Step3 Step4 Step5 After the data transfer is completed, EFP-RC2 is reset and the setting change of the secure function is completed. Note: ・Please be aware that if you mistype the ID code three consecutive times, ID code authentication can not be performed for one hour thereafter. Functions other than ID code authentication can be used.
  • Page 113: Operation After Secure Function Setting

    When the specified number of normal writes are completed, all data in the CF card will be deleted. Step1 When SECURITY LEVEL2 setting is completed, the PBT file name to be executed and the remaining execution count are displayed in EFP-RC2 as shown below. Alternate display Sample Sample Ready to Start...
  • Page 114 ■ Check on LCD of EFP-RC2 ① If "Normal" is set in the time setting at EFP-RC2 startup, the security level is displayed when EFP-RC2 is started. ② If it is set to "Short", you can check with the following procedure.
  • Page 115: Security Move Function

    5.11.4 Security move function The EFP-RC2 and the CF card with the secure function set will operate only the originally set. This function is to move the CF card while keeping the security level and the set number of execution times and to continue using the secure function with another EFP-RC2.
  • Page 116 When power on to EFP-RC2, the above screen is displayed. Step6 After selecting "READ" with the ↑ and ↓ keys as shown below and pressing the S key, the EFP-RC2 is reset and the move of the secure function setting is completed. SECURITY PROG.= READ U/D=SELECT S=SET Note:...
  • Page 117: On / Off Setting Of Buzzer Sound

    ○ ○ ○ ○:To sound, ×:Does not sound 5.12.1 How to set using EFP-RC2 ■No security Step1 Press the ↑ key and A key on the menu screen to display the following security setting screen. ( initial state ) Alternate display...
  • Page 118 Press the ↑ and ↓ keys to select "YES" and "NO", and press the S key to set the ON / OFF of buzzer sound. YES:Set the buzzer sound to ON NO:Set the buzzer sound to OFF EFP-RC2 Instruction Manual 4th Edition ( 118 /143 )
  • Page 119: How To Set Using Rc-Downloader

    Select Buzzer ON / OFF. Step3 When you click the Download button, buzzer sound setting data is transferred to EFP-RC2. Step4 EFP-RC2 is reset after completion of data transfer, and the buzzer sound setting is completed. Step2 Step3 ■SECURITY LEVEL1 / LEVEL2 Step1 Open the Security tab of RC-Downloader and select "SET"...
  • Page 120: Change File Name

    ・If you change the folder name of the link destination, the link destination will not open from the menu, so you need to set it again. ・In case of file name change, the number of characters of the extension can not be changed. EFP-RC2 Instruction Manual 4th Edition ( 120 /143 )
  • Page 121: How To Create The Folder

    ・If there is no free space on the CF card or the folder can not be created due to an error in the file structure etc, "ERROR! NOT CREATED!" is displayed and creation is canceled. EFP-RC2 Instruction Manual 4th Edition ( 121 /143 )
  • Page 122: How To Erase The File

    Step2 Pressing the S key to erase all the files in the folder. ( The folder is not erase. ) Pressing the B key cancels and returns to the previous screen. EFP-RC2 Instruction Manual 4th Edition ( 122 /143 )
  • Page 123 ・To erase the file, it must be expanded from "FILES" on the menu screen. If you use a link other than "FILES" to open the folder, erase operation will be invalid. EFP-RC2 Instruction Manual 4th Edition ( 123 /143 )
  • Page 124: Firmware Update

    Step2 Please connect EFP-RC2 and PC with USB cable and start RC-Downloader.exe. Step3 Select "5:FIRM UPDATE" on the menu screen of EFP-RC2 and move to the FIRMWARE folder with the → key. Step4 Open the File Download tab of RC-Downloader and download the EFP-RC2 firmware in the ProductCD data.
  • Page 125: About External Control Signal

    5.17 About external control signal The EFP-RC2 has "S key", "Running display", and "Error display" signals on the target connector. By using these signals, write operation can be performed by external control. Figure 5.1 shows an example of external control signal connection.
  • Page 126: Rc-Downloader Detailed Explanation

    6. RC-Downloader Detailed explanation RC-Downloader is an application that creates an Hxw file and executes data transfer between the built-in CF card and the PC in EFP-RC2. 6.1 Create Hxw file In the Hxw file conversion tab, it is possible to convert the user program ( HEX / MOT ) to Hxw file.
  • Page 127 Data of FE000h - FE007h and FFFFFh which does not exist in the Hex file is converted to Hxw file as FFh. ⑥ Progress bar of the Hxw file making is displayed. ⑦ Start creating Hxw file. EFP-RC2 Instruction Manual 4th Edition ( 127 /143 )
  • Page 128: Calculate Checksum Of Hxw File

    When calculating the CRC sum value, set the check sum area. ⑥ The sum of the user program data or the CRC sum value is displayed here. ⑦ Perform checksum calculation. EFP-RC2 Instruction Manual 4th Edition ( 128 /143 )
  • Page 129: File Download

    6.3 File download In the file download tab, it is possible to download the data file to the CF card of EFP-RC2. < File download procedure > Step1 Set the file to be downloaded to the CF card of EFP-RC2 in the "Download File"...
  • Page 130: Uploading Files

    6.4 Uploading files In the file upload tab, it is possible to upload the data stored in the CF card of EFP-RC2 to the PC. < File upload procedure > Step1 Operate EFP-RC2 and move the cursor to the file to be uploaded.
  • Page 131: Secure Function Setting

    ① ② ③ ④ Dialog item function Select ID code setting or cancelation of EFP-RC2. ① "CANSEL":Selected when canceling, "SET":Selected when setting Enter the ID code. You can enter up to 4 alphanumeric characters for ID code. ② ( Upper case letters and lower case letters are distinguished ) Enter the number of write execution counts.
  • Page 132: Buzzer Sound Setting

    6.6 Buzzer sound setting When executing the script of EFP-RC2, it is possible to turn ON / OFF the buzzer sound of each command. < Buzzer sound setting procedure > Step1 On the Security tab, select Buzzer ON or OFF.
  • Page 133: How To Install Rc-Downloader

    The installation procedure of RC-Downloader is shown below. Step1 Download ProductCD data from our site, and decompress the downloaded ZIP file to an arbitrary place. ProductCD data of EFP-RC2 can be downloaded from the following site. http://www.suisei.co.jp/download_e/productdata_efprc2_e.html Step2 Execute install.exe in the RC-Downloader folder.
  • Page 134: About Handling Cf Card

    Files downloaded to the FIRMWARE folder are protected and can not be deleted on this machine. Because the SYSTEM folder is protected, it can not be displayed / deleted on this machine. EFP-RC2 Instruction Manual 4th Edition ( 134 /143 )
  • Page 135: Restrictions On Downloading

    If the CF card is not installed or the format of the CF card does not correspond to EFP-RC2, the following error is displayed and all operations are prohibited. If the error below is displayed, please confirm that the CF card is installed correctly and format is compatible.
  • Page 136: Precautions

    ・When initializing ( formatting ) the CF card, the setting of the EFP-RC2 main unit will also be initialized. ・ Be sure to initialize ( format ) the CF card used by another device with EFP-RC2. If you use it without initialization it may malfunction.
  • Page 137: Trouble Shooting

    When an error is detected, an error code is displayed on the LCD. Here we will list the errors that occur in EFP-RC2 and how to deal with common errors. If the symptom does not improve after reconfirming the connection or restarting EFP-RC2, please contact us or our distributor.
  • Page 138 If the lock bit is valid and erasing, please erase with the lock bit invalid. [ ID mismatch error ] 8200 (1) It does not match the written ID code. The ID codes do not match. EFP-RC2 Instruction Manual 4th Edition ( 138 /143 )
  • Page 139 Serial read status error Serial BUSY "H" check error Target Vdd voltage error R8C communication timeout error R8C baud rate setting error When an error occurs, code and status are displayed in 4 digits. EFP-RC2 Instruction Manual 4th Edition ( 139 /143 )
  • Page 140 Read error Data length error Entry error Erase error Lock bit error Not erased error Program error Write error When an error occurs, code and status are displayed in 4 digits. EFP-RC2 Instruction Manual 4th Edition ( 140 /143 )
  • Page 141 Command can not be executed with SYSYTEM CF card error CF write error CF reading error Hxw file header read error When an error occurs, code and status are displayed in 4 digits. EFP-RC2 Instruction Manual 4th Edition ( 141 /143 )
  • Page 142: About Supported Devices

    108 ( W ) × 78 ( D ) × 23 ( H )mm Weight 230g Microsoft, Windows are registered trademarks of Microsoft Corporation in the United States and other countries. EFP-RC2 Instruction Manual 4th Edition ( 142 /143 )
  • Page 143 Editoevision History Edition Date Content September, 2015 Japanese only April, 2016 Japanese only March, 2017 Japanese only May, 2017 English version issued Copyright©2017 4th Edition Issued in May, 2017 EFP-RC2 Instruction Manual 4th Edition ( 143 /143 )

Table of Contents