Home

PG-FP5 V2.13 Flash Memory Programmer User`s Manual Common

image

Contents

1. Prog Area now 1 Changes the valid programming area from Area 0 to Area 1 The currently selected programming area can be checked in the Programmer area in the programming parameter window of the programming GUI The factor for dividing the programming area is the value set in the Programming Area Setting area in the Device Setup dialog box R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 42 of 164 PG FP5 V2 13 USAGE IN STANDALONE MODE 4 3 2 Type Setting menu The Type Setting menu is used to check information target device programming environment settings contained in the ESF file downloaded to the FP5 The settings downloaded to the valid programming area are displayed All the values displayed are those downloaded last time by the programming GUI The settings cannot be changed using this menu Table 4 2 Type Setting Menu Main Menu Submenu Description Type Setting gt Device Port Displays any of the following to indicate which mode is selected for communication between the target device and the FP5 SIO 0 SIO 1 SIO 2 SIO H S IIC 0 IIC 1 IIC 2 IIC 3 UART 0 UART 1 UART 2 UART 3 PORT 0 PORT 1 PORT 2 Multiply Rate Displays the multiplication rate of the operating clock for the target device Serial CLK Displays the serial clock rate in Hz that is used for communication between the target device and the FP5 CLK sourc
2. Comm error during Trusted Memory get command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 142 of 164 PG FP5 V2 13 APPENDIX B SUPPLEMENTARY INFORMATION This chapter covers supplementary information referred to by the user s manual of the FP5 lt HEX Editor gt SUPPLEMENTARY INFORMATION address 0 1 2 3 4 5 6 7 8 9 A B C D E F ID Tag 400000 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 1100 lt Saved program file gt address Data Flash ID Tag Data Flash ID Tag 400000h 00 11 22 33 FF FF FF FF 44 55 66 77 FF FF FF FF 400010h 88 99 AA BB 00 00 00 00 CC DD EE FF 00 00 00 00 Figure B 1 Relationship Between HEX Editor and Saved Program File R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 143 of 164 PG FP5 V2 13 SUPPLEMENTARY INFORMATION Binary const u32 CRC32 Tab 0x00000000 0x2608edb8 Ox4clldb70 0x6a1936c8 0x9823b6e0 Oxbe2b5b58 0xd4326d90 0xf23a8028 0x34867077 0x128e9dcf 0x7897ab07 0x5e9f46bf Oxaca5c697 0x8aad2b2f 0xe0b41de7 Oxc 6bcf05f 0x690ce0ee 0x4f040d56 0x251d3b9e 0x0315d626 Oxf12 560e Oxd727bbb6 Oxbd3e8d7e 0x9b3660c6 0x5d8a9099 Ox7b827d21 0x119b4be9 0x3793a651 0xc5a92679 Oxe3alcbcl1 0x89b8fd09 Oxafb010b1 E 0x0
3. R20UT2922bEJ0200 Rev 2 00 RENESAS Page 119 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN 16 RH850 family 1 wire UART Target connecter 14pin type Target device Note2 FPMDO FLMDO FPMD1 FPDR VDD FLMD1 FPDR JPO 0 O j DO ajea UJN gt 1K 10KQ Note1 Clock Aff circuit RESET Reset Circuit Figure 8 16 Circuit Example for RH850 family 1 wire UART Circuit Example for RH850 F1x Notes 1 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector 2 Pin name differs according to the target device 3 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together lt 17 gt RH850 family 2 wire UART Target connecter 14pin type Target device Note2 FPMDO FPDT FPMD1 FPDR VDD FLMDO FPDT JPO 1 FLMD1 FPDR JPO 0 O j IN ojoje UJN 1K 10KQ Note1 Clock iia circuit Note3 MA RESET Jumper Q 4 Reset Circuit Figure 8 17 Circuit Example for RH850 family 2 wire UART Circuit Example for RH850 F1x Notes 1 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector 2 Pin name differs according to the target device 3 These
4. file name gt This file can not be used with command option minimum unit programming Invallid HEX file file name gt This file can not be used with command option minimum unit programming Message occurred when address defined in HEX file is out of range of parameter file defined Message occurred when HEX file has not valid E g Wrong checksum or wrong data format inside HEX file Checksum error in program file Confirm the selected program file Overlap error in program file Confirm the selected program file Format error in program file Confirm the selected program file R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 135 of 164 PG FP5 V2 13 MESSAGES A 3 Information Dialog Boxes for Programming GUI Operation Message Please setup host connection again Description After FP5 reset communication with FP5 was attempted but failed Try Programmer Setup host connection in the menu Please open Setup form menu It will help you down load parameter amp setting files Do you really want change parameter area format All data will lost after this action Open Setup in the menu and then download the PR5 or ESF file Select whether to change the factor for dividing the programming area After this operation all data will be lost Information defined in initial file is not enough or it is not matched with FlashProgrammer Setup parameters
5. Example of usage See below downprm downset Download parameter customer settings upprm upset Upload parameter customer settings lod Download Intel Hex or Motorola S record file hex srec Upload Intel Hex Motorola S record file progarea Change Progam area files Show downloaded HEX SREC files in FP5 memory prm Show Parameter file PRM SET information conf Show Modify FP5 configuration security Show Modify FP5 Security settings brt Set baudrate to host fcks Calculate file checksum FP5 memory fill Fill memory ver Show firmware version res Reset FP5 pwr off Switch OFF FP5 immediately set auto Power OFF sound Enable Disable sound generation trc Show Device communication trace version up Update firmware version fpga up Update FPGA version selftest Perform a Selfcheck Device commands Blankcheck Erase Program Verify Read Erase and Program Show device signature Get device checksum Set security information R20UT2922EJ0200 Rev 2 00 7tENESAS Page 68 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 11 lod command Downloads program files Input format lod add fhame filename ftime date and time Description of the function Downloads the program file to a valid programming area After this command is executed the program file must be downloaded to the FP5 in ASCII format using communi
6. 7 2 1 Serial cable The host cable is a standard shielded serial cable crossed approximately 3 meters long The connectors on both sides are 9 pin D SUB female connectors The following shows the connection OO JO Om P Gobh A OO JO Om P Gobh A Figure 7 5 Serial Cable Connection Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 3 USB Connector The mini B type USB connector is laid out on the host interface side of the FP5 USB connector Figure 7 6 USB Connector lt FP5 Host Interface Side Part number of mini B USB connector UX60A MB 5ST made by Hirose Electric Co Ltd 7 3 1 USB cable The USB cable is approximately 2 meters long The cable is equipped with a USB mini B type connector and USB type A connector i USB mini B type USB type A Figure 7 7 USB Cable Outline Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 4 Target Connector The target connector 15 pin HD SUB female connector is laid out on the target connector side of the FPS Figure 7 9 Target Connector 15 Pin HD SUB Female Connector Pin Assignment Table 7 2 Target Connector Pin Configuration Target Connector Signal Name 1 SO TxD IO3 FPDR FPMD3 2 SI RxD FPDT 3 SCK IO4 FPCK FPMD4 RFU 1 IO1 FPMD1 E ET FLMDO0 IO0 FPMDO GND Ge Note Part number of target connector 15 pin HD SUB female connector 070431FB015S200ZU Suyin Connector Corp Mar 02 2015 PG FP5
7. Example of usage Presents an example of using the command Note The symbols used to describe the input format are defined below Notation Description Characters within single quotation marks Characters that must be input as displayed Characters within angle brackets lt gt Information that must be provided Characters within parentheses Optional items Options separated by vertical bars Options where only one option can be selected Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 Description of FP5 Control Commands This section will describe the FP5 control commands 6 4 1 autocon command Selects and confirms automatic or manual execution of the processes from transition to flash memory programming mode to signature verification and the termination of the flash memory programming mode Input format autocon on off Description of the function Selects either automatic on or manual off execution to be executed before and after the device command completion of the processes from transition to the flash memory programming mode to signature verification con command and termination of the flash memory programming mode dcon command The initial value is automatic on If this command is executed without an option the current status is displayed automatic on or manual off The default setting is automatic on on The
8. Do not use the AC adapter for other equipment Cautions to Be Taken for Turning On the Power Observe the following specified order for the power on and power off procedures of the user system and this product Doing otherwise may cause the user system or this product to fail Power ON 1 This product power ON 2 User system power ON 3 Start programming GUI Power OFF 1 Exit programming GUI 2 User system power OFF 3 This product power OFF Cautions to Be Taken for Handling This Product o Use caution when handling the product Be careful not to apply a mechanical shock Do not touch the connector pins of this product and the target MCU connector pins directly Static electricity may damage the internal circuits When attaching and removing the cable hold the plug of the cable and do not touch the cable Do not pull this product by the communications interface cable or the flexible cable And excessive flexing or force may break conductors Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type screws When replacing screws use same type screws as equipped before Note on Transporting the Product When sending your product for repair use the packing box and cushioning material supplied with the product when it was delivered to you and specify caution in handling handling as precision equipment If packing of your product is not complete it may be d
9. Renesas Electronics Hong Kong Limited Unit 1601 1611 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2886 9022 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei 10543 Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 06 02 Hyflux Innovation Centre Singapore 339949 Tel 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 1207 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics India Pvt Ltd No 777C 100 Feet Road HALII Stage Indiranagar Bangalore India Tel 91 80 67208700 Fax 91 80 67208777 Renesas Electronics Korea Co Ltd 12F 234 Teheran ro Gangnam Gu Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2015 Renesas Electronics Corporation All rights reserved Colophon 4 0 PG FP5 V2 13 RENESAS Renesas Electronics Corporation R20UT2922EJ0200
10. Saving of the program file has failed Check if this file is occupied by another program Temporary file could not be created Abort Can not open lt file name gt Abort File load error Abort The temporary file cannot be created Creation was aborted Confirm that sufficient memory capacity is available in Windows lt file name gt cannot be opened An error occurred during file reading or writing E 1513 Memory cannot be allocated Memory reallocation error Confirm that sufficient memory capacity is available in Windows Confirm that sufficient memory capacity is available in Windows E 1514 Check sum error Continue It was detected that the checksum of the program file opened by the HEX editor was invalid Click OK to continue checksum verification Click Cancel to abort checksum verification E 1515 Cannot open file name Abort The program file specified by the HEX editor cannot be opened E 1516 Error line line number Data error Abort DATA Check An illegal data exists in line ine number in the program file E 1517 Shortage of memory Invalid file name Confirm that sufficient memory capacity is available in Windows The file name is invalid HEX format error Too large address An illegal program file format was detected The address is too large The maximum address that can be used by the HEX Editor is 420000h Can not run comm
11. Oxa06c0b5d 0xca753d95 Oxec7dd02d 0x2ac12072 OxO0cc9cdca 0x66d0f002 0x40d816ba 0xb2e29692 0x94ea7b2a Oxfef34de2 Oxd8fba05a 0x774bb0eb 0x51435d53 0x3b5a6b9b 0x1d528623 Oxef68060b Oxc960ebb3 0xa379dd7b 0x857130c3 0x43cdc09c 0x65c52d24 OxOfdclbec 0x29d4 654 Oxdbee767c Oxfde69bc4 0x97ffad0c 0xb1f740b4 Perform CRC sum algorithm use table for better speed CRC accum gt gt 24 u32 c amp Oxff CRC accum CRC accum 8 CRC32 Tab GU i Figure B 2 32 bit CRC Calculation Specifications R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 144 of 164 PG FP5 V2 13 SUPPLEMENTARY INFORMATION Thu Aug 02 14 11 46 2007 gt ep Blank check Chip ERROR E051 Not blank Erase needed Erase Chip PASS Program Chip 10 20 30 40 50 60 10 80 90 100 PASS Erase Program operation finished End record file Thu Aug 02 14 12 03 2007 Figure B 3 Log File Example define BLOCKSIZ 256 You have to store 1 Block ROM data unsigned char rom data BLOCKSIZ unsigned char bist calc int i unsigned short bist bist_temp bist 0 DH for i 0 i lt BLOCKSIZ i bist temp bist amp 0x1 bist temp bist temp lt lt 8 bist temp lt lt 9 bist temp 11 bist temp 12 bist bist gt gt 1 rom data i bist tem
12. 00 RENESAS Page 154 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE D 3 AC Characteristics Ta 0 to 40 C C 0pF Unloaded Condition D 3 1 Standard mode Fall time 8mA Low level width of input signal IPCNIN CANCEL ENTER NEXT START VRF CLEAR Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE 2 Pin name Symbol Parameter or onaitons Mm we MAK vum teinsu Time from the fall of the VRF START or ENTER signal until the rise of the BUSY signal feu Time from the fall of the BUSY signal 1 When the buzzer until the CLEAR signal can be input is disabled 510 When the buzzer is enabled tecLre Time from the fall of the CLEAR signal until the fall of the PASS or ERROR signal Ieren Time from the fall of the PASS or ERROR signal until the VRF START or ENTER signal can be input tPINBU iPcLPE TPBUIN lt gt R20UT2922EJ0200 Rev 2 00 7tENESAS Page 156 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE D 3 2 Bank mode Rise time lo 8mA Fall time lo 8mA Low level width of input signal tPCNIN R20UT2922EJ0200 Rev 2 00 7tENESAS Page 157 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE 2 EEN ies wu um tPBain Time from the fall of the BANK signal until the VRF or START signal can be input Tim
13. 1 wire UART or R8C is used the SO TxD IO3 FPDR FPMD5 signal line functions as an open drain output When the RESET signal line is at the high level the output is momentarily at the CMOS level The pin is otherwise an open drain output TALV 125 Pull up control circuit Signal output circuit Self testing circuit or signal input circuit 74LV125 Figure 9 1 SO TxD I03 FPDR FPMD3 RESETand SCK IO4 FPCK FPMDA Pins T4LV 125 EMZ6 8 E Target System 9 2 SI RxD FPDT and H S The SI RxD FPDT and H S input signal voltages must not exceed the rated maximum voltage However for the RL78 the SI RxD FPDT pin becomes an I O pin and it is open drain output upon output For the RX family and SuperH family the H S signal line is C MOS level output Self testing circuit TALV 125 or Signal output circuit FP5 Vpp m 2n Ke N fi Self testing circuit 7ALV125 or Signal input circuit Target System Figure 9 2 SURxD FPDT and H S Pins R20UT2922bEJ0200 Rev 2 00 RENESAS Page 123 of 164 Mar 02 2015 PG FP5 V2 13 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS 9 3 CLK IO5 FPMD5 It is recommended to supply the target device operating clock from the target system When supplying the target device operating clock from the FP5 communication may not be performed normally due to the waveform distortion caused by wiring of clock lines on the target system In such a case add elements such as CMOS buffers to the target sy
14. 109 9 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS sse ener 123 9 1 SO TxD IOS FPDR FPMD3 RESET and SCK IO4 FPCK FPMDA sse 123 9 2 SUBXD EPBDT and Rn iiit aret Lad erred oath erede iua aad cere d anu Keno Manes skies Faden a enit 123 9 3 CLKHOS F PMD Ss EU 124 9 4 FLMDO IOO FPMDO FLMD1 RFU 1 IO1 FPMD1 and VDE lIO2 FPMD2 onsas 124 9 5 Vpp and Vop2 SEENEN 125 BE Mee 125 10 TROUBLESHOOTING EE 126 10 1 Problems During Startup secet erc tte n enean Neger Eet eech 126 10 2 Problems During Operation 127 TI MAINTENANGE AND WARRBANT Y 22 cn thao eo rta esent ed ne dad et una Ende EES te 130 MERI rr 130 TLA VE ul SE S 130 NC Repair droite 130 11 4 How to Make Request for Repair essssssesseeseeeeene eene ener 131 APPENDIX A MESSAQGES ndi etin dag ede aed Do Fal coc ted nt dead Do D SEENEN 132 Ad Message Foma EE 132 A 2 Error Warning Dialog Boxes for Programming GUI Operation 133 A 3 Information Dialog Boxes for Programming GUI Operation sse 136 AA Error Messages Displayed in FP5 Message Display 139 APPENDIX B SUPPLEMENTARY INFORMATION 143 APPENDIX C ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE seen 147 C 1 Absolute Maximum Ratings TA 0 to A0 147 C 2 DC Characteristics TA 0 to A0 148 C 3 AC Characteristics TA 0 to 40 C
15. 110 of 164 Mar 02 2015 PG FP5 V2 13 Target Device Pin NOTES ON TARGET SYSTEM DESIGN 3 I O pins Recommended Design When a target device pin used by the FP5 is also connected to the input of an external device and if that target device malfunctions disconnect the external device as shown in the portion below enclosed in the dotted line or make it output high impedance like dotted line Example Target device FP5 input pin External device Adverse effect If a target device pin used by the FP5 is also connected to the output of an external device like dotted line and a signal collision occurs disconnect the external device as shown in the portion below enclosed in the dotted line Example Target device FP5 output pin gt Conflict External device Keep the wiring between the FP5 connector and the target device Ve pin as thick and as short as possible Insert neither capacitors nor resistors into the Ver line unless otherwise stated Incorrect circuit Target device Vep SS Target device Mer Insert neither capacitors nor resistors into the FLMDO line unless otherwise stated Target device FP5 FLMLO Connect the FP5 or GND using pull down resistance on board For the recommended connection of unused pins refer to the user s manual of the target device Some target devices have pins that must be connected differently For these pins also refer to the user s manual of
16. 6 Remote Connector The remote connector a 15 pin D SUB female connector is laid out on the target connector side of the FP5 Figure 7 19 Remote connector 15 Pin D SUB Female Connector Pin Assignment Note Part number of remote connector a 15 pin D SUB female connector 07433FB015S200ZU Suyin Connector Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN 8 NOTES ON TARGET SYSTEM DESIGN This chapter explains the basic notes on the target system for writing to the flash memory in the target device using the FPS 1 Target Device Pin Recommended Design Common item eWhen connecting the FP5 output signal pins refer to 9 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS and pull up or pull down with a resistance in compliance with the device specifications Vin Vi eWhen connecting the FP5 input signal pins refer to 9 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS and pull up or pull down with a resistance in compliance with the device specifications lou lot eAfter turning on the FP5 power supply the states of the various terminals before and after command execution will be as follows The RESET pin will use Low output However it will be Hi Z if Hi Z is set with the FP5 Manager The pins other than the RESET pin and GND pin will be in the Hi Z state eObserve the waveforms of the terminals on the target device If the electrical specifications are not satisfactory then shape the waveforms by adding buf
17. 65 11 GOD command TTT 88 6 5 12 GOT command EE 88 6 59 13 GOS GOMMAN TT 89 6 5 14 got COMMAND EE 90 65 15080 COMM ANG ET 91 6 5 16 9tM COMMAND cil eats dees hee dal cent ce ests eee cannes nee dvi eens 91 6917 de COMIMANG E 92 6 918 0P COmMMaNd EE 92 GOTIO CONNAN E 93 6 5 20 ptg COMMA E ects tice ebay ae 93 6 59 21 read command Me m 94 6 5 22 FSC COMMA EE 95 6 5 23 lt SCT COMMANG EM 95 R20UT2922EJ0200 Rev 2 00 RENESAS Page 11 of 164 Mar 02 2015 PG FP5 V2 13 PREFACE 0 0 24 sed COMMANA TEE 96 65 25 SIG COMMMANG ET 96 0 5 20 slg COMMING EE 97 6 59 27 SIO COMMAND TEE 97 e Bell ue DEE 98 is ponas SEM COMMA M m 98 6 5 30 suimicommald eom eie Oed cet ue uude mu e e ia te eiu DUE 99 6 90 31 VT COMMANG EE 99 Y CONNECTORS AND CABLES iniciar aep desir earn ean ag EECH 100 7 4 Power Supply COTHFrector o tct i Ett EES 100 ror Cevindaome G 101 VER BESI TIEIEZ I EE 101 E El nre 102 Y 9 1 USB cable E 102 E ME Le e Eet 103 7 4 1 Target cable 16 pin type cece ee eseeeeeeeeeeeeeeeeaeeeeeesaeeeeeesaeeeeeesaeeeeeeaeeeeeeseeaeeeeneeeeeeenneees 104 74 2 Target cable 14 pin type eessen g et cett eere deut tan eset eu i de dn eb ire an d 106 7B GND GOnMeCto ee 108 Veoueniiio mem cc 108 7 6 LCuIm Xesnepr c E 108 8 NOTES ON TARGET SYSTEM DESIGN
18. CF1 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF UB FF DF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F Option Bytes FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF Command protection FF ID code FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF LockBits CF1 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CF2 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF UB FF OTP flags CF1 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CF2 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF UB FF OFS FFFFFFFF FFFFFFFF Endianness Little Endian PASS Get Device Info operation finished Format Blank check CF1 The result of Blank check to Code Flash1 CF2 The result of Blank check to Code Flash2 UB The result of Blank check to User Boot DF The result of Blank check to Data Flash Option Bytes OPBTO OPBT1 OPBT7 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS Command protection xx ID code ID code IDO ID1 ID15 Lock Bits CF1 Lock Bits of Code Flash 1 CF2 Lock Bits of
19. HEX file Address OO000000 0003FFFF Restarting FP5 File checksum FFFFFFF PPPPP 555555 F P P 5 F P E E F P P 55555 FFFFF PPPPP 5 5 5 5 5 Taget device 5555 Name 78F1166 Port UART Pulse Num 0 Firmware Version V2 07 Speed 1 000 000 bps Board H W V1 FPGA V4 Vdd 05 00 V FP5 Serial No MC10340174 ics Internal Ose T Standard mode unsecured fed mental sc marge Multiply 00 gt Mode Board HAW V1 FPGA V4 Serial No MC10340174 Standard mode unsecured gt Figure 3 4 Action Log Window When Firmware Update Is Finished Note Depending on the changes made the following dialog box will be displayed In this case the information stored in the FP5 PR5 file ESF file program file will have been deleted so please download those files again Refer to each microcontroller edition 1 2 Startup of Programming GUI I x dE 12208 Information defined in initial file is not enough or it is not matched with FlashProgrammer weg Setup parameters are needed R20UT2922bEJ0200 Rev 2 00 RENESAS Page 33 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 4 4 Installation of FPGA update Install the latest FPGA by using the latest programming GUI Decompress the file to any folder The FPGA file fp5_fpga_vx rec will then be decompressed into the folder so copy it to any folder x indicates the FPGA version 1 Click the Programmer menu on
20. Logging Select Programming area fpc v Buzzer Prel Reset Self Test Update Firmware Update FPGA FPS Manager Figure 3 9 Setup host connection Command Host Connection xj USB Serial Port com z Baud 115206 z Figure 3 10 Host Connection Dialog Box R20UT2922EJ0200 Rev 2 00 RENESAS Page 37 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 6 Communication with the host PC is established FPGA Vx is displayed in the action log window thus the version can be checked S File Programmer Device Help Programmer 2s i T FP5GUI V2 07 irmware Version V2 Firmware V2 07 Board HN We i NUR ProgArea 0 erial No Mode Standard mode unsecured Standard mode unsecured gt Parameter and Setting file 1166 pr5 Name Version i Name 66 esf Date Wed Dec 07 20 57 31 2011 Tue Mar 8 07 57 00 2011 ile HEX fil 00000000 0003FFFF Target device 78F1166 UART 0 1 000 000 bps 05 00 V FP5 Internal Osc Target oo Figure 3 11 Version Confirmation After FPGA Update Is Finished R20UT2922EJ0200 Rev 2 00 RENESAS Page 38 of 164 Mar 02 2015 PG FP5 V2 13 USAGE IN STANDALONE MODE 4 USAGE IN STANDALONE MODE The FPS has a standalone mode in which the FP5 by itself can execute the Erase Program and Autoprocedure E P commands without a host PC This mode is useful for using the FP5 on the production line du
21. Mar 02 2015 7tENESAS Page 87 of 164 PG FP5 V2 13 6 5 11 gob command Get the information of option byte Input format gob Description of the function USAGE COMMUNICATION COMMANDS Obtains the information set by executing the Set Option bytes command on the Device menu of the programming GUI Example of usage Command Status Display after executing the command When completed normally Status LED Message display Returns to the display before executing the command Screen output See below Display after executing the abnormally command When terminated ERROR xxx XXXXXXXXXXXXXXXX ERROR Exxx lt text gt Option Bytes FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF PASS Option Bytes operation finished Format Option Bytes OPBTO OPBT1 OPBT7 6 5 12 gof command Get the information of OFS Input format gof Description of the function Get the information of OFS Example of usage Command Status Status LED Message display Screen output gof Display after executing the PASS Returns to the display Get OFS command When completed before executing the OFS FFFFFFFF FFFFFFFF normally command PASS Get OFS operation finished Format OFS OFSO OFS1 Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally R20U
22. OF TARGET INTERFACE APPENDIX C ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE This chapter explains the electrical specifications of target interface C 1 Absolute Maximum Ratings T4z0 to 40 C Input supply voltage 0 5 to 6 8 Vons Ve Output supply voltage 0 5 to 13 Input voltage 0 5 to V00 0 5 VN MN FLMD1 Output current 0 3 V lt Vo lt Vo0 0 5 V RESET SI RxD SO TxD SCK H S CLK Ir O Operating ambient temperature o 0040 rr S to 40 Ire f Storage temperature I 5 to 60 Note Must be less than 6 8 V Note Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any parameter That is the absolute maximum ratings are rated values at which the product is on the verge of suffering physical damage and therefore the product must be used under conditions that ensure that the absolute maximum ratings are not exceeded R20UT2922EJ0200 Rev 2 00 RENESAS Page 147 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE C 2 DC Characteristics Ts 0 to 40 C Vons Output See accuracy high EE 5 Vpp 5 lox 100MA Voo 3 0V ica Voo 4 5V En Vor oupa voraoe hon toeon Leni Ye Ee al Voo 3 0V Jos BMA Voo 4 5V lox 16mA Von Output current high Voo 1 2V pss or 3d fos t S a e fm Image ima lou Output current high 200 mA Output current low Output current high SI RxD Input leakage current low H S Input leakage cur
23. P P 5 F P P5 F P P 55555 PPPPP 5 P 5 5 5 P P 5 P 5555 Firmware Version Vx xx Board H W Vx FPGA Vx Serial No xxxxxxxxxx Standard mode unsecured Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 Description of The FP5 Device Commands This section describes the FP5 device commands 6 5 1 bIn command Executes Blank check command Input format bln Description of the function Executes a similar function to the programming GUI Device menu gt Blank check command Example of usage Command Status Status LED Message display Screen output bln Display while executing the BUSY Blank chk Chip Blank check User area command Chip mode ERROR Display while executing the BUSY Blank chk Block Blank check User Boot area command Block mode Blank check Data area Display while executing the BUSY Blank chk Area command Area mode 2 Display after executing the PASS Returns to the display PASS command For blank before executing the Blank check operation devices command finished Display after executing the ERROR ERROR 051 ERROR E051 Not Blank command For not blank Blank chk failed Blank check operation devices finished 6 5 2 clr command Executes the Configuration clear Input format clr Description of the function Executes the Configuration clear Example of usage Command Status Status LED Message display Screen o
24. Table 4 3 Option Setting Menu 1 Main Menu Submenu Description Option Setting gt BLN before ERS Displays the setting of the Blank check before Erase check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected VRF after PRG Displays the setting of the Verify after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected SCF after PRG Displays the setting of the Security after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected SUM after PRG Displays the setting of the Checksum after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected OPB after PRG Displays the setting of the Set Option bytes after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected IDC after PRG Displays the setting of the Set OCD Security ID after Program check box in the Command options area on the Advanced tab in the Device Setup dialog box on Selected off Not selected RUN after Disc Displays the setting status of the Run after Disconnect check box in the Command options area of the device setup dialog Advanced tab O
25. Tm Meaning 000000 Set Security Access window program All trademarks and registered trademarks are the property of the respective owner Mar 02 2015 PG FP5 V2 13 OVERVIEW 1 OVERVIEW The FP5 is a tool that erases writes and verifies programs on a Renesas Electronics on chip flash memory microcontroller on the target system 1 1 Features e Compatible with remote operation for FP5 from an external control device e Compatible with communications commands operated by the FP5 command through RS 232C e The customization and security settings of the FP5 unit can be changed with the FP5 Manager function e Supports on chip 2 power supply flash memory microcontrollers and single power supply on chip flash memory microcontrollers e Supports flash memory programming through the programming GUI using the host PC programming GUI operation and operation in standalone standalone operation e Supports on board programming through which programs are written with the target device mounted on the target system e Program files can be saved in the 16 MB flash memory in the FP5 divided by 2 in 10 MB and 6 MB units divided by 4 in 4 MB units or divided by 8 in 2 MB units e Device specific parameters required for programming can be saved in the FP5 internal flash memory by using the parameter file PR5 file together with programming settings ESF file e Multiple program files PRS files and ESF files can be saved e Supports CS
26. UART Target connector 16 pin type 4 RESET GND 4 6 VDD SU RxD s 3A Note VPP SO TxD 77T JUMPER m Figure 8 6 Circuit Example for 78K0R Single wire UART Target device Note These pins do not need to be shorted when using the FP5 Short them if necessary R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 114 of 164 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN T FC Target connector 16 pin type RESET GND t Voo Target device JUMPER Figure 8 7 Circuit Example for C lt 8 gt 78K0 TOOLCx TOOLDx Target connector 16 pin type i TOOLDx TOOLCx Target device JUMPER Figure 8 8 Circuit Example for 78K0 TOOLCx TOOLDx Note These pins do not need to be shorted when using the FP5 Short them if necessary R20UT2922EJ0200 Rev 2 00 RENESAS Page 115 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 9 gt V850E2 Single wire UART Target connecter 14pin type Target device VDD VDD VDD Clock circuit Figure8 9 Circuit Example for V850E2 Single wire UART Notes 1 The pin names might differ depending on the target device For details about the actual pin names see the user s manual of each target device 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 3 In case of using alternate function pin with pull up re
27. after executing the BUSY Read Press return to start continue command output Display after pressing the BUSY Read See below Return key Addr 0x000000 Display after Read ends PASS Returns to the display PASS When completed normally before executing the Read operation finished command Display after Read ends ERROR ERROR xxx ERROR Exxx lt text gt When terminated XXXXXXXXXXXXXXXX abnormally In the case of read hex 0 1000 10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFO0O 10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFO 100FFO00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFO1 00000001FF In the case of read srec 0 1000 S0030000FC 31500000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA S31500000010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEA S31500000FFO0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB S70500000000FA In the case of read 0 1000 000000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 000010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 000FF0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 22 rsc command Executes the Security Release command Input format 1 TSC Description of the function Executes the Security Release command Example of usage Command Status Status LED Message display Screen output rsc Display after executing the PASS Returns to the display Release security command When completed before executing the PASS normal
28. and the FP5 USB connector mini B type using a USB cable For details on the USB cable specifications refer to 7 CONNECTORS AND CABLES 2 1 4 AC adaptor Connect the FP5 power supply connector to the AC adaptor included with the FP5 The AC adaptor differs depending on the region where the product is being used For details see Table 1 3 AC Adaptors for PG FP5 Used in Each Region An AC adaptor is required when using the PG FP5 so be sure to purchase an AC adaptor 2 1 5 Target cable A 16 pin connector or 14 pin connector is equipped on the tip of the target cable which is connected to the target system or the program adaptor For details on the target cable specifications refer to 7 CONNECTORS AND CABLES Mar 02 2015 PG FP5 V2 13 HARDWARE CONFIGURATION 2 1 6 GND cable To reinforce the GND use a GND cable to connect the FPS GND connector and the signal GND of the target system or program adaptor For details on the GND cable specifications refer to 7 CONNECTORS AND CABLES Note The FP5 and target system may be damaged if the voltage between the FP5 GND and the target system GND is different Use the GND cable to match the voltage before connecting the target cable 2 1 7 Target system The target system must be equipped with a device interface that complies with the target cable specifications For details on the specifications refer to 7 CONNECTORS AND CABLES 8 NOTES ON TARGET SYSTEM DESIGN and 9 SPECIFICATIONS OF TARG
29. between the FP5 and target device Try the operation again Or the device may be damaged 4 SID Comm err Comm error during Serial programming ID code set command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged OFS Comm err Comm error during OFS set command or OFS get command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged SED Comm err Comm error during Endian set command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged GED Comm err Comm error during Endian get command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged SPD Comm err ICU Comm err STM Comm err Comm error during Serial Programming Disable command Comm error during ICU command Comm error during Trusted Memory set command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged GTM Comm err
30. check and flash option ged Get the information of endian gid Get the ID code g Get the information of option byte Get the information of lock bit g Get the information of OTP g Get the information of security g Ib gob gof Get the information of OFS Bi SC i tm Get the information of Trusted Memory idc Executes the ID code setting opb Executes the Set Option bytes command otp Executes the OTP setting prg Executes the Program command Executes the Read command Executes the Security Release command Executes the Set Security command Executes the endian settinng Sets the ID code and enables ID authentication in the serial programming mode Executes the Signature read command Executes the Set Lock bits command Executes the disable serial programming setting Executes the Trusted Memory settinng Executes the programming GUI Device menu gt Checksum command Executes the Verify command R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 56 of 164 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 3 Description of Commands Each of the commands is described using the following format Command name Presents an overview of the command Input format Presents the input format for the comman dete Description of the function Describes the function of the command
31. display Screen output Display after execution of the BUSY Preparing storage PASS command before downloading Now loading Display during downloading BUSY Display after normal ending of Returns to the display PASS the download before executing the command Display after error ending of the Returns to the display ERROR text download before executing the command Address range 0x000000 to 0x007FFF CRC32 0x61D5F67C PASS lod fname sample hex ftimez 2006 02 24 21 13 Same operation as lod lod add Same operation as lod R20UT2922EJ0200 Rev 2 00 7tENESAS Page 69 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 12 prm command Displays the information concerning the PR5 file and ESF file that were downloaded to the FPS Input format prm Description of the function Displays the information concerning the PR5 file and ESF file PR5 file name PR5 checksum ESF file checksum that were downloaded to all the programming areas of the FP5 Example of usage Command Screen output Area Parameter file PR5 CRC ESF CRC 0 78F1166 C8005840 D0401B9D invalid invalid invalid 6 4 13 progarea command Confirms changes and deletes data from valid programming areas Input format progarea clear 0 1 1 12 13 14 5 16 17 L CO L L L2 L3 L4 L5 L6 177 Description of the function The valid programming area can be cha
32. file in Intel HEX format Displays a list of available commands with simple descriptions Downloads the program file prm Displays the information concerning the PR5 file and ESF file that were downloaded to the FP5 progarea Confirms changes and deletes data in the valid programming areas pwr off Turns off the FP5 power supply res Resets the FP5 security Confirms the security state that can be set by the FP5 Manager command selftest Executes a self test serno Sets the unique code for embedding in the program file Sets the buzzer Uploads the program file in Motorola HEX format Displays the communication information between the FP5 and target device Uploads the PR5 file Uploads the ESF file ver Displays the FP5 version and FP5 mode version up Updates the firmware R20UT2922EJ0200 Rev 2 00 7tENESAS Page 55 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS Table 6 2 List of FP5 Device Commands Command name Description C bin Executes the Blank check command Ir Executes the Configuration clear con Executes the processes from transition to flash memory programming mode to signature verification dcon Executes the termination of the flash memory programming mode ep or epv Executes the Autoprocedure E P command ers Executes the Erase command gdi Get the information of blank
33. file that was downloaded to the FPS Input format files check Description of the function If no options are used then information file name creation date size checksum concerning the program file downloaded to the FP5 is displayed check The checksum of all programming areas stored in the program file from START to END is recalculated with the 32 bit CRC method and cross checked with the checksum stored in the FP5 during download Example of usage Command Screen output Files Area Filename Date Time Range CRC 0 sample hex 2006 02 24 21 13 000000 007FFF 61D5F67C 1 unknown data 2 unknown data 3 unknown data files check Area Filename Date Time Range CRC 0 sample hex 2006 02 24 21 13 000000 007FFF 61D5F67C 1 unknown data 2 unknown data 3 unknown data Checking Progareas No invalid data found R20UT2922EJ0200 Rev 2 00 7tENESAS Page 65 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 8 fpga_up command Updates the FPGA Input format fpga_up Description of the function Updates the FPGA version After this command is executed the FPGA file must be downloaded to the FP5 in ASCII format using communications software If using HyperTerminal select Transfer T gt Transfer text file T and then select the FPGA file After the FPGA version has been updated the FP5 power supply will be automatically turned off Example of
34. pins do not need to be shorted when using FP5 Short them when using E1 or E20 together R20UT2922bEJ0200 Rev 2 00 RENESAS Page 120 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 18 gt RH850 family CSI Target connecter 14pin type Target device Note2 FPCK GND FPCK JPO 2 FPMDO FPDT FPMD1 FPDR VDD FLMDO FPDT JPO 1 FLMD1 FPDR JPO 0 oO j ojoje CO rm lz 1K 10KQ Note1 Clock Aff circuit RESET Reset Circuit Figure 8 18 Circuit Example for RH850 family CSI Circuit Example for RH850 F1x Notes 1 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector 2 Pin name differs according to the target device 3 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 19 RH850 family 2 wire UART Target connecter 14pin type Target device Note1 FPMDO FPDT FPMD1 FPDR VDD MDO FPDT FLSCI3TX FLMODE FPDR FLSCI3RX MD1 O j IN ojoje UJN Clock circuit 1K 10KQ Note2 m AE RESET Jumper Q 4 Reset Circuit Figure 8 19 Circuit Example for RH850 family 2 wire UART Circuit Example for RH850 E1x Notes 1 Pin name differs according to the targ
35. prohibition to permission Set security setting to permission by chip erasure GSC Comm err An error occurred during execution of the Security Get command The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device CLR Comm err Error occurs in Configuration Clear command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 140 of 164 PG FP5 V2 13 No Message RSC Comm err Error Condition Error occurs in Security Release command MESSAGES 3 Possible Workaround A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged READ Comm err Device communication error It is a problem of communication between the FP5 and target device Improve the connection environment between the FP5 and the device It is displayed when read prohibition is set in security setting Set read permission by chip erasure Wrong FPGA Vers Not connected FPGA version does not match Please update the new FPGA The target device was not connected to FP5 when a dcon command was issued Already conn A con command was issued when the target device was already connected to FP5 Security ID err Security ID does
36. settings such as security settings Option data General term for flash options wide voltage mode and full speed mode HEX file A HEX file of Intel HEX format type or Motorola HEX format type without option data HCUHEX file DDI file Flash Development Toolkit INI file OCD security ID A HEX file that integrates option data into a HEX file generated by using the HEX Consolidation Utility HCU which is used to generate ROM code for flash memory products whose flash memories are pre written by Renesas Electronics File in which data in multiple flash areas generated by Flash Development Toolkit is integrated Flash Development Toolkit is a software to write in the flash memory of the Renesas microcontroller with on chip flash For details refer to the following websites http www renesas com fat File in which settings of the programming GUI are stored The file is saved when the programming GUI is closed The file name is FP5 ini Abbreviation of the on chip debug security ID Security function for on chip debugging of the microcontroller Mar 02 2015 PG FP5 V2 13 PREFACE 2 Term Meaning ID code Lock bit Signature ID authentication mode Command protection mode OTP OFS Trusted Memory Option Setting Memory Authentication code used in the ID authentication mode and in OCD For details refer to the user s manual of the microcontroller One of the secur
37. sure to read this chapter before using this product WARNING indicates a potentially dangerous situation that will cause death or heavy AN WARN NG wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight injury or AN CAUTION a medium degree injury or property damage unless it is avoided In addition to the two above the following are also used as appropriate Z means WARNING or CAUTION Example CAUTION AGAINST AN ELECTRIC SHOCK O means PROHIBITION Example DISASSEMBLY PROHIBITED means A FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE R20UT2922EJ0200 Rev 2 00 RENESAS Page 6 of 164 Mar 02 2015 PG FP5 V2 13 PREFACE N WARNING Warnings for AC Power Supply If the AC power cable of the optional AC adapter does not fit the receptacle do not alter the AC power cable and do not plug it forcibly Failure to comply may cause electric shock and or fire Use an AC power cable which complies with the safety standard of the country Do not touch the plug of the AC power cable when your hands are wet This may cause electric shock This product is connected signal ground with frame ground If yours developing product is transform less not having isolation transformer of AC power this may cause electric shock Also this may give an un repairable damage to this product and yours developing product While developing connect AC po
38. the ENTER button executes the Set Lock bits command Set OptionBytes Pressing the ENTERI button executes the Set Option bytes command Set OCD Sec ID Set ID Code Pressing the ENTER button executes the Set ID Code command Pressing the ENTER button executes the Set ID Code command Set Lock bits Pressing the ENTER button executes the Set Lock bits command Blank check Pressing the ENTER button executes the Blank check command Signature Connect Pressing the ENTER button executes the Signature read command The device name is displayed in the message display Display example Signature D78F1166 Pressing the ENTERI button executes the con command Issuing the autocon command autocon off causes display of this item in the submenu while the autocon command autocon on removes it from the submenu For more information on the function refer to chapter 6 Using Communications Commands Disconnect Progarea Pressing the ENTER button executes the dcon command FERA autoconzi 7 FT autocon off amp RITT 5 L7 A Ha CHARS Tv5 512720 autoconon Z RITT A Edel er SA 7R amp 72 0 ET PEABO SEN Glo POPEATER BIRULT lt TEV Used to select the valid programming area The valid programming area can be changed by pressing the ENTER button Display example if ENTER button is pressed Commands
39. the PASS Returns to the display Display example command When completed before executing the p code normally command X0000000000000000000000 PASS ID code operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 86 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 10 glb command Get the lock bit Input format glb Description of the function Get the lock bit Example of usage Command Status Status LED Message display Screen output glib Display after executing the PASS Returns to the display See below command When completed before executing the normally command Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally LockBits CF1 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CF2 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF UB FF PASS LockBits operation finished Format Lock Bits CF1 Lock Bits of Code Flash 1 CF2 Lock Bits of Code Flash 2 UB Lock Bit of User Boot Lock Bits Set 0 Unset 1 Bit 0 of 1st byte Block 0 Bit 1 of 1st byte Block 1 Bit 7 of 1st byte Block 7 Bit 0 of 2nd byte Block 8 R20UT2922EJ0200 Rev 2 00
40. the target device Example of pins connected differently MODE CKSEL REGOUT REGIN etc R20UT2922EJ0200 Rev 2 00 RENESAS Page 111 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN The following are examples of interface circuits Refer to the recommended design for the connection of pins in the target device 1 78K V850 SIO H S Vcc tee Target connector 16 pin type FLMDO Note 1 FLMDI Note 1 HS RESET Vpp Note 2 Target device User reset circuit Figure 8 1 78K V850 SIO H S Circuit Example Notes 1 Pin used in internal single power supply flash memory microcontroller 2 Pin used in internal two power supply flash memory microcontroller lt 2 gt 78K V850 UART Internal single power supply flash memory microcontroller Target connecter 14pin type Target device VDD Clock circuit Figure 8 2 78K V850 UART Internal single power supply flash memory microcontroller Circuit Example Notes 1 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 2 Incase of using alternate function pin with pull up resister connect to FLMD1 of target connector R20UT2922bEJ0200 Rev 2 00 RENESAS Page 112 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 3 gt 78K V850 SIO Internal single power supply fl
41. this command is executed without any options the upload will be executed with the address size used during downloading If a program has not been downloaded then Invalid argument will be displayed The starting address and number of bytes are designated as options The hex command is not usable when minimum unit programming is enabled for the V850E2 Fx4 L V850E2 FF4 G V850E2 FG4 G V850E2 Px4 L V850E2 PG4 S RX or RH850 Use the programming GUI instead start address The starting address is designated as a hexadecimal number The code area data area and user boot area can be specified length The number of bytes is designated as a hexadecimal number The code area data area and user boot area can be specified Example of usage Command Screen output hex Press return to start continue output hex 0 3fff Press return to start continue output hex 0 3ffff 400000 20000 Press return to start continue output After the command is executed pressing the Return key will start the upload See below 200000008100810081008100810081008100810081008100810081008100810081008100D0 20002000810081008100810081008100810081008100810081008100810081008100FFFF33 00000001 FF Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 10 hlp command Lists available commands with brief descriptions Input format hlp Description of the function Lists frequently used commands with brief descriptions
42. this product for one of the above purposes please be sure to consult your local distributor About product changes We are constantly making efforts to improve the design and performance of our product Therefore the specification or design of the product or this user s manual may be changed without prior notice About rights 1 We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this user s manual 2 The information or data in this user s manual does not implicitly or otherwise grant a license to patent rights or any other rights belonging to Renesas or to a third party 3 This user s manual and this product are copyrighted with all rights reserved by Renesas This user s manual may not be copied duplicated or reproduced in whole or part without prior written consent from Renesas About diagrams Some diagrams in this user s manual may differ from the objects they represent Mar 02 2015 PG FP5 V2 13 PREFACE Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read and understand this chapter before using this product Contact us if you have any questions about the precautions described here This chapter describes the precautions which should be taken in order to use this product safely and properly Be
43. this table is x 324x 264x 234x 224x 164x 124x lltx lO4x 84x 74x 54x 44x 294x l4x O according to Autodin Ethernet ADCCP protocol standards Ox04clldb7 0x130476dc 0x350c9b64 0x5fl5adac 0x791d4014 0x8b27c03c Oxad2f2d84 0xc7361b4c Oxel3ef6f4 0x278206ab 0x018aeb13 0x6b93dddb 0x4d9b3063 Oxbfalb04b 0x99a95df3 Oxf3b06b3b 0xd5b88683 0x7a089632 0x5c007b8a 0x36194d42 0x1011a0fa Oxe22b20d2 0xc423cd6a Oxae3afba2 0x8832161a 0x4e8ee645 0x68860bfd 0x029f 3d35 0x2497d08d Oxd6ad50a5 OxfO0a5bdld Ox9abc8bd5 Oxbcb4666d n 0x17c56b6b 0x31cd86d3 Ox5bd4b01b Ox7ddc5da3 Ox8fe6dd8b 0xa9ee3033 Oxc3f706fb Oxe5ffeb43 0x23431blc 0x054bf6a4 0x6f52c06c 0x495a2dd4 Oxbb60adfc 0x9d684044 0xf771768c 0xd1799b34 Ox7ec98b85 0x58c1663d 0x32d850f5 0x14d0bd4d 0xe6ea3d65 OxcOe2d0dd Oxaafbe615 Ox8cf30bad Ox4a4ffbf2 0x6c47164a 0x065e2082 0x2056cd3a 0xd26c4a12 Oxf464a0aa 0x9e7d9662 Oxb8757bda Oxla864db2 Ox3c8ea00a 0x569796c2 0x709f7b7a 0x82a5fb52 Oxa4adl6ea Oxceb42022 Oxe8bccd9a 0x2e003dc5 0x0808d07d 0x6211e6b5 0x44190b0d 0xb6238b25 0x902b669d 0xfa325055 Oxdc3abded 0x738aad5c 0x558240e4 Ox3 9b762c 0x19939b94 Oxeba91bbc Oxcdalf604 Oxa7b8c0cc 0x81b02d74 0x470cdd2b 0x61043093 0x0b1d065b 0x2d15ebe3 Oxdf2f6bcb 0xf9278673 0x933ebO0bb 0xb5365d03 0x1e475005 0x384fbdbd 0x52568b75 0x745e66cd 0x8664e6e5
44. usage Command Status Status LED Message display Screen output fpga_up Display after executing the Off BUSY Are you sure you want command before downloading to update the FPGA Press y to continue Press n to y n cancel Display after pressing y Off BUSY Preparing storage OK Now loading Display during download Off BUSY Display after end of normal Off BUSY Refer to 1 below download Press y to continue Press n to cancel Display after pressing y Off Programming Refer to 2 below FPGA 1 OK vous CAUTION Now the FPGA will be written Please ensure that the correct FPGA Update file has been downloaded the Power is NOT disconnected during this operation the Programmer is NOT reset during this operation Do you want to continue y n 2 Starting FPGA programming 100 done FPGA Update succeeded PG FP5 Power will be switched OFF now R20UT2922EJ0200 Rev 2 00 7tENESAS Page 66 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 9 hex command Uploads the program file in Intel HEX format Input format hex lt code_start address gt code length lt data_start address gt data length UB start address gt lt UB_length gt Description of the function If a program file has been downloaded to a valid programming area executing this command will upload the program file in Intel HEX format If
45. 02 2015 PG FP5 V2 13 MAINTENANCE AND WARRANTY 11 MAINTENANCE AND WARRANTY This chapter covers basic maintenance warranty information provisions for repair and the procedures for requesting a repair 11 1 Maintenance 1 If dust or dirt collects on this product wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the surface coating to separate 2 When you do not use this product for a long period disconnect it from the power supply host PC and user system 11 2 Warranty 1 This product comes with a one year warranty after purchase Should the product break down or be damaged while you re using it under normal condition based on its user s manual it will be repaired or replaced free of cost 2 However if the following failure or damage occurs to the product under warranty the product will be repaired or replaced at cost a Failure or damage attributable to the misuse or abuse of the product or its use under other abnormal conditions b Failure or damage attributable to improper handling of the product after purchase such as dropping of the product when it is transported or moved c Failure or damage to the product caused by other pieces of equipment connected to it d Failure or damage attributable to fire earthquakes thunderbolts floods or other natural disasters or abnormal voltages etc e Failure or damage attributable to modifications repairs adju
46. 0xC33D OxD31C OxE37F OxF35E 0x02B1 0x1290 0x22F3 0x32D2 0x4235 0x5214 0x6277 0x7256 OxB5EA 0xA5CB 0x95A8 0x8589 OxF56E OxE54F OxD52C 0xC50D 0x34E2 0x24C3 0x14A0 0x0481 0x7466 0x6447 0x5424 0x4405 OxA7DB OxB7FA 0x8799 0x97B8 0xE75F 0xF77E 0xC71D O0xD73C 0x26D3 0x36F2 0x0691 0x16B0 0x6657 0x7676 0x4615 0x5634 OxD94C 0xC96D OxF90E OxE92F 0x99C8 0x89E9 0xB98A OxA9AB 0x5844 0x4865 0x7806 0x6827 0x18C0 0x08E1 0x3882 0x28A3 OxCB7D OxDB5C OxEB3F OxFB1E Ox8BF9 Ox9BD8 OxABBB 0xBB9A 0x4A75 0x5A54 0x6A37 0x7A16 0x0AF1 0x1AD0 0x2AB3 0x3A92 OxFD2E OxEDOF OxDD6C 0xCD4D OxBDAA OxAD8B Ox9DE8 Ox8DC9 0x7C26 0x6C07 0x5C64 0x4C45 0x3CA2 0x2C83 Ox1CEO OxOCC1 OxEFI1F OxFF3E 0xCF5D OxDF7C 0OxAF9B OxBFBA Ox8FD9 Ox9FF8 Ox6E17 0x7E36 0x4E55 0x5E74 0x2E93 0x3EB2 0x0ED1 0x1EFO uintl6 t CalcMemoryCRC16 uint32 t address uint32 t length uint32_t i rd_ptr uintl16 t crc accum uint8 t byte data 4 crc accum 0x0000 Init Pattern for i 0 rd ptr 0 i lt length i Check flash read buffer and fill if needed if rd ptr 0 Memory_Read address 4 data rd_ptr 4 addresst 4 byte crc accum gt gt 8 data rd ptr crc accum crc accum 8 CRC16 Tab byte return crc_accum Figure B 5 16 bit CRC Calculation Specifications R20UT2922EJ0200 Rev 2 00 Mar 02 2015 RENES Page 146 of 164 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS
47. 2 NEC S AS C d i m o lt RY C v PG FP5 V2 13 Flash Memory Programmer User s Manual Common 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 Electronics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www renesas com Renesas Electronics Rev 2 00 Mar 2015 www renesas com 10 11 12 Notice Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics do
48. 413 Value is out of range Figure A 2 Information Dialog Box gt ep ERROR E012 Connection or Synchronisation failed gt Figure A 3 Action Log Window Figure A 4 Error Message FP5 Message Display Mar 02 2015 PG FP5 V2 13 MESSAGES A 2 Error Warning Dialog Boxes for Programming GUI Operation E 1100 Message Communication within host PC and FlashProgrammer is broken Description An error occurred in communication between the host PC and the FP5 Check the cable connection and FP5 power supply E 1101 Can t setup communication within host PC and FlashProgrammer Communication between the host PC and FP5 cannot be established Check the cable connection and power supply Moreover check if the USB driver is installed correctly E 1102 Can t find parameter file The specified PR5 file could not be found E 1103 Open parameter file failed The specified PR5 file cannot be opened E 1105 Wrong FPGA Version detected Please update to FPGA Vx otherwise FP5 function may fail Wrong FPGA Version detected Please update to FPGA of the displayed version E 1106 Firmware is not valid or version is lower than requirement Incorrect version information or an old version was detected Update the FP5 firmware E 1107 Parameter area format is not match with initial file Do you want reset parameter area format The factor for dividing the programming are
49. 4c11db7 0x22c9f00f 0x48d0c6c7 0x6ed82b7f Ox9ce2ab57 Oxbaea46ef Oxd0f37027 Oxf6fb9d9f 0x30476dc0 0x164f8078 Ox7c56b6b0 0x5a5e5b08 0xa864db20 0x8e6c3698 0xe4750050 Oxc27dede8 Ox6dcdfd59 Ox4bc510e1 0x21dc2629 0x07d4cb91 Oxf5ee4bb9 0xd3e6a601 Oxb9ff90c9 Ox9ff77d71 0x594b8d2e 0x7 436096 0x155a565e 0x3352bbe6 0xc1683bce 0xe760d676 0x8d79e0be Oxab710d06 256 0x09823b6e 0x2f8ad6d6 0x4593e01e 0x639b0da 6 0x91a18a88e 0xb7a96036 Oxddb056fe Oxfbb8bb46 0x3d044b19 Oxlb0ca6al 0x71159069 0x571d7dd1 0xa527fdf9 0x832f1041 0xe9362689 Oxcf3ecb31 0x608edb80 0x46863638 0x2c9f00f0 0x0a97ed48 Oxf8ad6d60 Oxdea580d8 0xb4bcb610 0x92b45ba8B 0x5408abf7 0x7200464f 0x18197087 0x3e119d3f Oxcc2bl1dl17 0xea23f0af 0x803ac667 0xa6322bdf u32 CR accum Oxffffffff void Gen CRC Sum Char s32 i Ignore if c return SPACE uy c u08 c CR LF Ty Tl e 0x0d4326d9 0x2b4bcb61 0x4152fda9 0x675a1011 0x95609039 0x536874d81 0xd9714b49 Oxff79a6f1 0x39c556ae Oxlfcdbb16 0x75d48dde 0x53dc6066 0Oxale6e04e 0x87ee0df6 0xedf73b3e Oxcbffd686 0x644fc637 0x42472b8 0x285e1d47 0x0e56f0ff Oxfc6c70d7 0xda649d6f Oxb07daba7 0x9675461f 0x50c9b640 Ox76c15bf8 0xl1cd86d30 0x3ad08088 Oxc8ea00a0 Oxeee2ed18 0x84fbdbd0 Oxa2 33668 r c The generator polynomial used for
50. All inputs will become active with an effective level of 50 ms or greater Note that the pin numbers in Table 7 1 are the pin numbers on the FP5 remote connector Table 5 1 Pin Input number Output Output Remote Interface Pin Functions Pin name Function Indicates that the remote interface is connected When the FP5 power is ON the CONN is always valid Active level High level Output Outputs the status indicated by the status LED BUSY Note that the BUSY signal differs from the status LED and does not blink High level Output PASS Outputs the status indicated by the status LED PASS High level Output ERROR Outputs the status indicated by the status LED ERROR High level Input Standard mode CANCEL Same as the CANCEL button function Low level Input Bank mode BANKO Indicates the lowest 1 bit of the 3 bit programming area number Low level Input Standard mode Bank mode ENTER Same function as the ENTER button Indicates the middle 1 bit of the 3 bit programming area number Low level Low level Standard mode Same as the function of the NEXT button Low level Bank mode Indicates the highest 1 bit of the 3 bit programming area number Low level 11 to 15 VRF Inputs the independent verify signal Inputs the START Auto procedure E P signal Low level Low level Clears
51. C OpF Unloaded Condition sssssssssss 149 C 3 1 CLK output characteristics TA 0 to 40 C C OpF unloaded condition 150 C 3 2 Serial transfer timing TA 0 to 40 C C OpF unloaded cond ioni 151 APPENDIX D ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE seem 153 D 1 Absolute Maximum Ratings TA 0 to A0 153 D 2 DC Characteristics TA 0 to 40 C C OpF Unloaded Condtonit 154 D 3 AC Characteristics TA 0 to 40 C C OpF Unloaded Condition ssssesssss 155 D 3 1 Standard mode EE 155 D322 Bank MOOG Em 157 D 3 3 Simple mode 1 oer rede exter ap ete RE de gege 159 R20UT2922EJ0200 Rev 2 00 RENESAS Page 12 of 164 Mar 02 2015 PG FP5 V2 13 PREFACE Terminology The meanings of the terms used in FP5 manual are as follows Term FP5 Programming GUI Target device Target system Note1 Program adaptor PR5 file ESF file Program file Meaning Abbreviation of the flash memory programmer PG FP5 Windows application to operate FP5 using programming GUI Renesas Electronics on chip flash memory microcontroller User designed board on which target device is mounted Conversion adaptor to write programs to target device Abbreviation of the parameter file for the PG FP5 The parameter file has parameter information required to write in the flash memory of the target microcontroller The extension of the file is pr5 Do not change the data i
52. Code Flash 2 UB Lock Bit of User Boot OTP flags CF1 OTP of Code Flash 1 CF2 OTP of Code Flash 2 UB OTP of User Boot OFS OFSO OFS1 Endianness Little Endian Big Endian Blank check Not Blank 0 Blank 1 Lock Bits OTP Set 0 Unset 1 Bit 0 of 1st byte Block 0 Bit 1 of 1st byte Block 1 Bit 7 of 1st byte Block 7 Bit 0 of 2nd byte Block 8 R20UT2922EJ0200 Rev 2 00 7tENESAS Mar 02 2015 Page 85 of 164 PG FP5 V2 13 6 5 8 ged command Get the information of endian Input format ged Description of the function USAGE COMMUNICATION COMMANDS Get the information of endian Example of usage Command Status Status LED Message display Screen output ged Display after executing the PASS Returns to the display Get Endianess command When completed before executing the Little Endian normally command PASS Get Endianess operation finished Format Endianness Little Endian Big Endian Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 9 gid command Get the ID code Input format gid Description of the function Obtains the information set by executing the Set ID code command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output gid Display after executing
53. ET INTERFACE CIRCUITS 2 1 8 Program adaptor The FP5 supports off board programming through which programs are written via a program adaptor without mounting the target device onto the target system Mar 02 2015 PG FP5 V2 13 HARDWARE CONFIGURATION 2 2 Names and Functions on Main Unit This section describes the names and functions on the FP5 main unit 2 2 1 FP5 control panel Indicators and buttons are laid out on the FP5 top RENESAS O POWER LED POWERI button Message display Status LEDs Control buttons Figure 2 2 FP5 Top View lt Control Panel gt 1 Indicators e POWER LED LED that displays the FP5 power status A red LED is turned on when the FP5 is ON and is turned off when the FP5 is OFF e Message display An LCD display of 16 x 2 characters that indicates the operating mode or menus It is mainly used when the FP5 operates in standalone mode e Status LEDs LEDs that show the FP5 operating status PASS green LED turned on indicates normal completion BUSY orange LED flashes indicates processing in progress and ERROR red LED turned on indicates abnormal completion 2 Buttons e POWER button Used to turn on off the power to the FP5 Press this button longer for about 1 minute when turning on off e NEXT button Proceeds to the next menu item at the same level in sequence e ENTER button Selects the item shown in the message display e CANCEL bu
54. Equivalence Le DC 50 5 4 External Connection Example sessi enne nnne nnne sn netten rene nn nsn nnn enne 52 6 USAGE COMMUNICATION COMMANDS ener nennen sn tnr sn trnt inris nnne nnns 53 6 1 Starting the Communications Software sse ener nennen nnne neis 53 6 2 Command List eed tee ee aree exeo Ete o toa i a Pee tae dde si acttsnsseevinbaeaacens 55 6 3 Description of Commands EE 57 6 4 Description of FP5 Control Commande 58 6 4 1 AULOCONM COMIMANG E 58 DAZ DIE COMMUTING Rm 59 6 4 3 conf COMMA D 60 6 44 downprm command EE 63 64 5 downset command EE 63 6 4 6 TCKS command TTT 64 6 4 7 TIS COMMANG EE 65 6 4 8 pga UP COMMANG E 66 exo Re Bla dee ul ue BEE 67 G4 1 0L MID COMMA E 68 Sc ale tele Keint t e WEE 69 ie aa PAIeTiosereT tailor 70 6 4 13 progarea COMMA EE 70 64 14 pwr ofcommand EE 71 i415 FOS command cH 72 6 4 16 security command EE 72 6 4 17 selftest command TE 73 6 4 18 56m0 COMMEAMNG EE 73 04 19 SOUNMG command ET 74 SS E eru Il Em 75 6 4 2 1S Command TE 76 0 4 22 UPPLIM COMM ANG EE 76 6 4 23 SUPSSL COMM ANG EE 77 6 4 24 Ver COMMA EE 77 0 4 25 version UP command E 78 6 5 Description of The FP5 Device Commande 80 G I DIN COMMANG Sc 80 iere 2 CIP COMMING EE 80 6 5 3 CON COMMAN EE 81 05 4 COM COMM ANG DEE 81 65 9 OPEP COMMA EE 82 6 5 6 STS COMMANG PER C 83 6 5 7 gdi COMIN EE 84 6 5 8 GEC COMMANG piraan Ra EE 86 6 5 9 gid COITI In AN ei 86 6 5 1 05 GID COMMA ME 87
55. Executes a function similar to the programming GUI Programmer menu Self Test command Example of usage Command Screen output selftest CAUTION Remove any plugs from Target and Remote Connector before starting Any hardware attached to those connectors may be damaged by this test zone CAUTION Target and Remote connector unplugged If yes press s to start the test s FPGA Test PASS Power Supply Test PASS Target and Remote Interface Test PASS Selftest PASSED 6 4 18 serno command Sets the unique code for embedding in the program file Input format serno start address gt pattern Description of the function Sets the unique code for embedding in the program file This command becomes available when the serial number mode function for embedding a unique code is enabled by the FP5 Manager setting Executing this command sets the unique code in the body of the FP5 The next time a device command that handles the program file such as ep prg and vrf is executed the unique code is embedded at the specified address in the program file The setting of the unique code in the FP5 is cleared on completion of the device command Note When minimum unit programming is enabled and the area of data flash memory in the program file specified in the serno command is blank embedding of the unique code in that area does not proceed Start address Specifies the start address in hexa
56. HCU after which they must be verified on a flash memory programmer before being submitted The PG FP5 handles HCUHEX files as master data and can therefore be used to check the written data and the option data settings HCUHEX files are supported in part of the RL78 78K0 78KOR V850 If they are supported it is described in the user s manual of the target microcontroller the SH RX R8C and RH850 do not support HCUHEX files For details see the functional descriptions in this manual For more information about HCU see the HCU user s manual or the manual of the target device The following websites describe details about HCU e Websites e Japanese version http japan renesas com hcu ijt HEX Consolidation Utility o x Mode Select Edit mode C Check mode HCUHEX HCUHEX file submitted for file ordering pre written flash Operation memory products verified on PG FP5 Figure 1 2 PG FP5 Connection Diagram Mar 02 2015 PG FP5 V2 13 OVERVIEW 1 10 Regulatory Compliance Notices This equipment complies with the EMC protection requirements WARNING This is a Class A EN 55022 1998 equipment This equipment can cause radio frequency noise when used in the residential area In such cases the user operator of the equipment may be required to take appropriate countermeasures under his responsibility EEDT ST 001 11 CAUTION This equipment should be handled like a CMOS semiconductor device Th
57. I CSI HS UART UC and PORT as target device interfaces e Can supply Von and clocks to the target device e Supports USB interface and serial interface RS 232C as a host interface e Supports self testing function e Support for programming unique codes 1 2 Writing Quality Thoroughly confirm verify and evaluate the following points before using the FP5 in order to improve the writing quality e Design circuits as described in the user s manual for the target device and the FP5 e Use the device and the FP5 as described in the user s manual for each product e The power supplied to the target device is stable 1 3 Supported Devices The FP5 supports on chip 2 power supply flash memory microcontrollers and on chip single power supply flash memory microcontrollers FP5 parameter files PR5 files corresponding to the supported devices are posted on the following website URLs e Except for Europe area http www renesas com pg_fp5 e For Europe area http www renesas eu update Section PG FP5 EE Mar 02 2015 PG FP5 V2 13 OVERVIEW 1 4 Package Components The package of this product includes the items listed below Check the items Note that the package for the PG FP5 does not include an AC adaptor Purchase an adaptor separately refer to 1 8 AC Adaptors for PG FP5 Table 1 1 Package Components Item List of Package Quantity PG FP5 USB cable Serial cable Target cable 16pin typ
58. MUNICATION COMMANDS 6 4 6 fcks command Executes the programming GUI File menu Checksum command Input format fcks type lt code start gt code end data start data end UB start UB end Description of the function Executes a similar function to the programming GUI File menu Checksum command Specifies the calculation method starting address and number of bytes in the options type Specifies the calculation method crc 32 bit CRC method crc16 16 bit CRC method ari 16 bit subtraction calculation method When a V850 RL78 and 78K is selected 32 bit subtraction calculation method When a RX RH850 SuperH and R8C is selected ks sp Division method original start The starting address is specified in hexadecimal The code area data area and user boot area can be specified end Specifies the end address in hexadecimal The code area data area and user boot area can be specified Example of usage Command Screen output fcks crc O 3fffff Checksum Code 000000 3FFFFF 26218DD4 fcks ari O Sfffff Checksum Code 000000 3FFFFF 61C0 fcks kOs_sp 0 Sfffff Checksum Code 000000 3FFFFF 060E fcks ari O 3fffff 400000 41ffff Checksum Code 000000 3FFFFF 61C0 Checksum Data 400000 41FFFF 0200 Checksum Total 63CO Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 7 files command Displays the information concerning the program
59. R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 61 of 164 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 2 Command Screen output Firmware Version Vx xx Board H W Vx FPGA Vx Serial No XXXXXXXXXX Standard mode unsecured Number of Program areas 4 Active Program Area 0 Size of Program Areas Code Data Area 0 0x400000 0x020000 Area 1 0x400000 0x020000 Area 2 0x400000 0x020000 Area 3 0x400000 0x020000 Area Filename Date Time Range CRC 0 sample hex 2006 02 24 21 13 000000 007FFF 61D5F67C 1 unknown data 2 unknown data 3 unknown data Checking Progareas No invalid data found Area Parameter file PR5 CRC ESF CRC 0 78F1166 C8005840 D0401B9D 1 invalid 2 invalid 3 invalid AutoCon is off Sound is on AutoPowerOff is disabled Security state is Inactive Authorization procedure is Undefined Manager option byte 0x00 HEX file Upload enabled Device Setup enabled Checksum comparison off Reset option Hi z Mar 02 2015 PG FP5 V2 13 6 4 4 downprm command Downloads the PRS file Input format downprm Description of the function USAGE COMMUNICATION COMMANDS Downloads the PR5 file After this command is executed the PR5 file must be downloaded to the FP5 in ASCII format by using communications software If you are using HyperTerminal select Transfer T gt Transfer text file T and then select the PR5 file Example of usage Command
60. S USB 1 1 The default data transfer rate is 9600 bps 9600 Changes the data transfer rate to 9600 bps 19200 Changes the data transfer rate to 19200 bps 38400 Changes the data transfer rate to 38400 bps 57600 Changes the data transfer rate to 57600 bps 115200 Changes the data transfer rate to 115200 bps Example of usage Command Screen output When the serial connector is connected at 115200 bps Current Baudrate is 115200 When the USB connector is connected at High speed Current Baudrate is USB HS brt 9600 New Baudrate is 9600 brt 19200 New Baudrate is 19200 brt 38400 New Baudrate is 38400 brt 57600 New Baudrate is 57600 brt 115200 New Baudrate is 115200 R20UT2922EJ0200 Rev 2 00 7tENESAS Page 59 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 3 conf command Displays a list of the information stored in the FP5 and changes the number of programming area sections Input format conf progarea Ax4 8x2 10 6 Description of the function Divides the programming area into eight four or two areas depending on the selected option If an option is not specified then the following information stored in the FP5 will be displayed e Version information firmware version board hardware version FPGA version serial number FP5 mode e Program area information area divisions valid programming areas maximum size of program file information code are
61. SY Verify Chip Verify Chip command Chip mode Addr 0x000000 1096 Display while executing the BUSY Verify Block mis command Block mode Addr 0x000000 100 Display while executing the BUSY Verify Area command Area mode Addr 0x000000 Display after executing the PASS Returns to the display PASS command When completed before executing the Verify operation finished normally command Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX Verify operation finished abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 99 of 164 Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 CONNECTORS AND CABLES This chapter explains connectors and cables 7 1 Power Supply Connector The power supply connector is laid out on the host interface side of the FP5 Power supply connector Figure 7 1 Power Supply Connector FP5 Host Interface Side Figure 7 2 Power Supply Connector Pin Assignment Note Do not connect an AC adaptor other than the one for the PG FP5 to the power supply connecter Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 2 Serial Connector The serial connector 9 pin D SUB male connector is laid out on the host interface side of the FPS Figure 7 4 Serial Connector Pin Assignment Table 7 1 Serial Connector Pin Configuration Note Part number of serial connector 9 pin D SUB male connector 070430MB009G200ZU Suyin Connector Corp
62. T2922EJ0200 Rev 2 00 7tENESAS Page 88 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 13 gos command Get the information of flash option Input format gos Description of the function Obtains the information set by executing the Get Flash options command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output gos Display after executing the PASS Returns to the display Security Flag xx command When completed before executing the Boot Block Number xx normally command FS area XXxx XXxx OCD ID X00000000000000000000000 Option Bytes xxxxxxxx PASS Get Option Setting operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 89 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 14 got command Get the information of OTP Input format got Description of the function Get the information of OTP Example of usage Command Status Status LED Message display Screen output got Display after executing the PASS Returns to the display See below command When completed before executing the normally command Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX ab
63. TER button executes the Program command Erase Pressing the ENTER button executes the Erase command Verify Pressing the ENTERI button executes the Verify command Set Security Pressing the ENTER button executes the Set Security command Checksum Pressing the ENTER button executes the Checksum command The checksum value read from the target device is displayed in the message display lt When a product with no data flash is selected from the 78K V850 RL78 family gt Checksum xxxx lt When a product with data flash is selected from the 78K V850 RL78 family gt Code Flash sum Xxxx gt Enter Click the ENTER button Data Flash sum Xxxx gt Enter Click the ENTER Total sum Xxxx Enter When RX family RH850 family R8C family or SuperH family is selected User mat sum XXXXXXXX gt Enter Click the ENTER button Data mat sum XXXXXXXX gt Enter Click the ENTER button UB mat sum XXXXXXXX gt Enter Click the button Total sum XXXXXXXX gt Enter The comparison result is also displayed if Enable checksum compare function in FP5 management setting is enabled Checksum Compare PASS or ERROR Mar 02 2015 PG FP5 V2 13 USAGE IN STANDALONE MODE Table 4 1 Main Menu Commands gt Commands Menu 2 Submenu Set Lock bits Description Pressing
64. Use the programming GUI instead start address The starting address is designated as a hexadecimal number The code area data area and user boot area can be specified length The number of bytes is designated as a hexadecimal number The code area data area and user boot area can be specified Example of usage Command Screen output srec Press return to start continue output srec 0 3fff Press return to start continue output srec 0 3ffff 400000 20000 Press return to start continue output After the command is executed pressing the Return key will start the upload S0030000FC 3250000000081 0081 0081008100810081008100810081008100810081008100810081008100CA 3250000002081 0081 008100810081008100810081008100810081008100810081008100FFFF2D S5030000FC 70500000000FA Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 21 tre command Displays the communication information between the FP5 and target device Input format trc Description of the function Displays the communication information between the FP5 and target device stored in the FP5 trace memory Up to 1024 lines can be stored The FP5 has ring structure trace memory Example of usage Debug Output Number Time us Send Rec 0214 0008675924 17 0215 0008678930 02 Total number of transmitted bytes 266282 Total number of received bytes 006212 6 4 22 upprm command Uploads the PR5 file Inpu
65. V2 13 CONNECTORS AND CABLES 7 4 1 Target cable 16 pin type The target cable 16 pin type is a standard shielded cable approximately 42 centimeters long The target cable is equipped with a 15 pin HD SUB male connector and a 16 pin 2 54 mm pitch multipurpose female connector 15 pin HD SUB male connector 16 pin 2 54 mm pitch multipurpose female connector Figure 7 10 Target Cable 16 pin type Outline Figure 7 12 16 Pin 2 54 mm Pitch Multipurpose Female Connector Outline of Target Cable 16 pin type View from Socket Side Table 7 3 Target Connector 16 pin type Pin Configuration ES RER hb s S VDE 1102 FPMD2 RFU 1 1 4D1 FPMD1 FLMDO IOO FPMDO awe REECH Nau LOS Notes 1 Reserved pins Leave these pins open 2 Left open in the target cable 16 pin type 3 No 9 pin of 15 pin HD SUB connector is not connected to a 16 pin 2 54 mm pitch multipurpose connector R20UT2922bEJ0200 Rev 2 00 RENESAS Page 104 of 164 Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES Note The following are the recommended connectors to be connected to 16 pin 2 54 mm pitch multipurpose female connectors e HIFSFC 16PA 2 54DS made by Hirose Electric Co Ltd right angle type e HIF3FC 16PA 2 54DSA made by Hirose Electric Co Ltd straight type e 7616 5002PL Sumitomo 3M Limited right angle type e 7616 6002PL Sumitomo 3M Limited straight type When using a self made cable because the suppl
66. XXXXXXXXXXXXXXXX abnormally 6 5 25 sid command Sets the ID code and enables ID authentication in the serial programming mode Input format sid Description of the function Sets the ID code and enables ID authentication in the serial programming mode Example of usage Command Status Status LED Message display Screen output sid Display after executing the PASS Returns to the display Set Serial Programming ID command When completed before executing the PASS normaly command Serial Progr ID operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 96 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 26 sig command Executes Signature read command Input format sig Description of the function Executes a similar function to the programming GUI Device menu gt Signature read command Example of usage Command Status Status LED Message display Screen output sig Display while executing the BUSY Signature Device name Dxxxxxxxxx command Device data Xx xx xx xx Device end addr xxxxxxxx Security Flag xxxx Boot Block Number xxxx Device Version x xx Firmware Version x xx Display after executing the PASS Returns to the display PASS command When completed before ex
67. a data area e Program file information file name creation date size checksum e PR5 file and ESF file information in all programming areas PR5 file names PR5 file checksums ESF file checksums e Automatic connection information e Buzzer information e Automatic power supply OFF information e Security mode information e FP5 manager option setting information Progarea Used to specify the number of programming area sections 4x4 Divides the programming area into four sections 8x2 Divides the programming area into eight sections 10 6 Divides the programming area into two sections Example of usage Refer to the following pages R20UT2922EJ0200 Rev 2 00 7tENESAS Page 60 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 1 Command Screen output conf progarea 4x4 If there are four sections before the command is executed OK INFO Same setting Configuration is not changed If there are eight sections before the command is executed OK INFO New configuration has been set INFO Progarea data is not valid any more Number of Program areas 4 Active Program Area 0 Size of Program Areas Code Data Area 0 0x400000 0x020000 Area 1 0x400000 0x020000 Area 2 0x400000 0x020000 Area 3 0x400000 0x020000 Area Filename Date Time Range CRC 0 unknown data 1 unknown data 2 unknown data 3 unknown data Checking Progareas No invalid data found
68. a does not match the one defined in the INI file Select whether to reset the division factor If reset it is divided into four areas and the contents are deleted E 1108 No invalid Parameter file defined GUI can not work properly No parameter file exists in this project folder Please select parameter files Invalid file The GUI will not operate normally because no valid PR5 file has been defined Set it in the Device Setup dialog box There is no parameter file in user selected folder GUI waited user to find out one or more parameter files in other folder The specified file cannot be opened Set it in the Device Setup dialog box Setting file name is not valid Using most recent settings An incorrect format or value was detected in the ESF file The ESF file defined in the INI file will be used instead Set it in the Device Setup dialog box Parameter file name gt is not valid Using most recent settings Download of parameter file failed Download of setting file failed An incorrect format or value was detected in the PR5 file The ESF file defined in the INI file will be used instead Set it in the Device Setup dialog box Downloading of the PR5 file has failed The PR5 file may be invalid Re set the connection between the host PC and FP5 Downloading of the ESF file has failed The ESF file may be invalid Re set the connection between the host PC and FP5 File name is not va
69. alog box enter the voltage value of VDD in the Vdd V box enter OV in the Vdd2 V box and select the On Target check box For the system configuration and specifications of the FL RL78 FP5 refer to the FL RL78 FP5 User s Manual 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together R20UT2922bEJ0200 Rev 2 00 RENESAS Page 117 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 13 gt RX family SuperH family SCI Target connecter 14pin type Target device VCC VCC VCC VCC VCC VCC vcc EXTAL Clock XTAL circuit mMpoNe5 MD1 Note5 RxD Note1 5 SI RxD TxD Notet 13 RESET RESET Jumper Figure 8 13 Circuit Example for RX Family and SuperH Family SCI Circuit Example for RX62T Notes 1 For the serial communication interface SCI that can be used for writing refer to the user s manual of the target device 2 Connect the Mode Setting Pin of Operating Mode to any of the IOO to 105 pins The signal settings for IOO to IO5 pins can be set in the I O Signal Settings area on the Advanced tab in the Device Setup dialog box For RX62T set MDO to High MD1 to Low and unused UO signals to High Z Normally use the initial settings in the I O Signal Settings area It is compatible with write circuit examples with E1 E20 Emulator Additional Document for User s Manual RX User System Design 3 These pins do not need to be shorted when using FP5 Short the
70. amaged during transportation When you pack your product in a bag make sure to use the conductive plastic bag supplied with the product usually a blue bag If you use a different bag it may lead to further trouble with your product due to static electricity Q Mar 02 2015 PG FP5 V2 13 PREFACE NCAUTION Caution to Be Taken for System Malfunctions Q If this product malfunctions because of interference like external noise do the following to remedy the trouble Exit the programming GUI and shut OFF this product and the user system 1 2 After a lapse of 10 seconds turn ON the power of this product and the user system again then launch the programming GUI Caution to Be Taken for Disposal Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation European Union regulatory notices The WEEE Waste Electrical and Electronic Equipment regulations put responsibilities on producers for S the collection and recycling or disposal of electrical and electronic waste Return of WEEE under these rm regulations is applicable in the European Union only This equipment including all accessories is not intended for household use After use the equipment cannot be disposed of as household waste and the WEEE must be treated recycled and disposed of in an environmentally sound manner Renesas Electronics Europe GmbH can take back end of life equipment registe
71. and name Running of the command name command has failed Illegal address The range of the data storage address is invalid The start address may be larger than the end address file name could not be opened Abort Save File lt file name gt cannot be opened File saving was aborted Data error Abort DATA Check A data error has been found in the program file Data checking was aborted Temporary file could not be read Abort Save File Opening of the temporary file has failed The file may be corrupted R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 134 of 164 PG FP5 V2 13 MESSAGES No Message Error line line number Data Count error Abort Data Count Check Cannot open temporary file 3 Description A data count error has occurred in line ine number The program file format may be incorrect Opening of the temporary file has failed The file may be corrupted File Save error Abort Save File line number Check sum error Continue Saving the file has failed A checksum error has occurred in line ine number The program file format may be incorrect Select whether to continue the operation Too large address Edit range 0 0x420000 The program file address is too large Set an address value in the range 0 to 420000h E 1532 Data Flash format error data address Invalid ID Tag Parameter of Start Address i
72. as Electronics CubeSuite 11 To change the folder of the installed tools uninstall all the CS related software and the programming GUI for PG FP5 and install them again 12 In the environment where the programming GUI for CS and PG FP5 and USB driver for PG FP5 are installed the programming GUI for PG FP5 and USB driver for PG FP5 are included in the target software of the CS integrated uninstaller If you don t want to delete them remove them from the uninstallation targets 13 If a CS instance launched via Rapid Start is in the notification area system tray during installation the following error will appear Exit the application and run the installer again Question Q0140035 X The following applications in the installation folder are running Close these applications and dick Retry to continue The application may display the icon in the notification area system tray CubeSuiteW exe Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 3 Uninstallation This section explains how to uninstall the programming GUI USB driver parameter file PR5 file customized setup file ESF file and setting information file INI file The uninstallation order is prescribed Table 3 2 Uninstallation Item Method Programming Open Add or Remove Programs on the Control Panel and uninstall this program The names are GUI USB driver PG FP5 Vx xx and USB Driver x86 for PG FP5 or USB Driver x64 fo
73. ash memory microcontroller Target connecter 14pin type Target device VDD Clock circuit 4 FLMDO 9 FLMD1 7 SO TxD Jumper Ge Figure 8 3 78K V850 SIO Internal single power supply flash memory microcontroller Circuit Example Notes 1 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 2 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector lt 4 gt 78K V850 SIO H S Internal single power supply flash memory microcontroller Target connecter 14pin type Target device Clock circuit 4 FLMDO 9 FLMD1 7 SO TxD Figure 8 4 78K V850 SIO H S Internal single power supply flash memory microcontroller Circuit Example Notes 1 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 2 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector R20UT2922EJ0200 Rev 2 00 7tENESAS Page 113 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 5 gt 78KOS Single wire UART Target connector 16 pin type JUMPER o o User reset circuit Figure 8 5 Circuit Example for 78K0S Single wire UART Target device Note These pins do not need to be shorted when using the FP5 Short them if necessary lt 6 gt 78KOR Single wire
74. atically added PR5 file Decompress the downloaded file to any folder A pr5 file is decompressed into any folder so copy it to the FP5 PRJ folder where the programming GUI is installed The folder configuration after programming GUI installation is as follows Program Files Electronics for the 64 bit version of Windows Renesas Electronics Programming Tools PG FP5 V2 07 4 Folder where programming GUI is stored FP5 exe Doc 4 Folder where documents are stored PG FP5 V2 08 CA Folder specified as the installation destination C Program Files Common Files x86 Renesas MCU Tools Drivers Ltpes USB driver storage folder USB Driver x64 for the 64 bit version of Windows Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 2 1 Notes on installation 1 Multiple versions of the PG FP5 can be installed on a single host PC Although we recommend using the latest version of any development tool leaving a previous version on your host PC and then installing the latest version lets you easily switch the development environment 2 You might be asked to reboot your computer after installing the PG FP5 Be sure to close all other applications before rebooting your computer 3 You must have administrator privileges to install the PG FP5 4 The PG FP5 can only be installed in a folder that is named using ASCII characters Note that the 11 characters 2 7 V and charact
75. board programming 3 The AC adaptor differs depending on the region where the product is being used For details see Table 1 3 AC Adaptors for PG FP5 Used in Each Region An AC adaptor is required when using the PG FP5 so be sure to purchase an AC adaptor Mar 02 2015 PG FP5 V2 13 OVERVIEW 1 8 AC Adaptors for PG FP5 The specifications of the AC adaptor for the PG FP5 differ depending on the region where the product is being used Be sure to use the appropriate AC adaptor for your region Note that an AC adaptor is not included with the PG FP5 The appropriate AC adaptor must be purchased separately Table1 3 AC Adaptors for PG FP5 Used in Each Region Notes 1 2 Note 3 Part Number Region AC adaptor Japan QB COMMON PW JP sold separately USA QB COMMON PW EA China QB COMMON PW CN Hong Kong QB COMMON PW HK Korea QB COMMON PW KR Singapore QB COMMON PW SG Chinese Taipei QB COMMON PW TW Notes 1 The AC adaptor corresponding to the region from which the order was received will be shipped 2 For regions other than those listed above please contact a Renesas Electronics sales representative or distributor 3 You can only order the AC adaptor that can be used in your region 1 9 HCUHEX Files HCUHEX files are files that are required when ordering flash memory products whose flash memories are pre written by Renesas Electronics HCUHEX files are generated by the HEX Consolidation Utility
76. cations software If using HyperTerminal select Transfer T gt Transfer text file T and then select the program file The options are to delete or not to delete the file before downloading the file name and the creation date If this command is executed without any options then the file name and creation date will not be stored The lod command is not usable when minimum unit programming is enabled for the V850E2 Fx4 L V850E2 FF4 G V850E2 FG4 G V850E2 Px4 L or V850E2 PG4 S Use the programming GUI instead add Select this not to delete the data in the valid programming area before downloading program files When this is not designated the data will be deleted Please use this option when downloading and writing two program files Usually this is not designated NoteWhen this option is enabled and the lod command is executed the PG FP5 downloads data 512 bytes at a time without erasing its internal flash memory Note however that the download error ERROR NAND flash Illegal Write Bit 0 21 occurs if there is data other than FFh in the data being downloaded fname filename Designates the file name of the program file that is downloaded The maximum number of characters is 31 ftime date and time Designates the creation date and time of the downloaded program file The format is Y Y Y Y MM DD HH MM YYYY Year MM Month DD Date HH Hour MM Minute Example of usage Command Status Status LED Message
77. ce design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics 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 appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or systems manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military includ
78. con command and dcon command are executed automatically off The con command and dcon command are executed manually When set to manual off the con command is executed then the device command can be executed Furthermore various device commands can be executed multiple times Execute the dcon command to terminate Note that the ep epv command will automatically execute the con command and dcon command even if this is set to manual off Example of usage Command Screen output autocon AutoCon is on off autocon on AutoCon is on autocon off AutoCon is off R20UT2922EJ0200 Rev 2 00 7tENESAS Page 58 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 2 brt command Confirms and changes the data transfer rate for serial communication with the host PC Input format brt 9600 19200 38400 57600 115200 Description of the function This command can be used with its options to change the data transfer rate for serial communications with the host PC When the data transfer rate is changed it will be necessary to change the data transfer rate of the COM port setting with HyperTerminal and reconnect If no options are used with this command then the current data transfer rate will be displayed If the serial connector is connected then the data transfer rate will be displayed If a USB connector is used then the USB version will be displayed e USB HS USB 2 0 e USB F
79. connect the USB connector to the USB port of the host PC Mar 02 2015 PG FP5 V2 13 TROUBLESHOOTING 2 The following messages are displayed in the action log window and the flash memory programming mode cannot be entered ERROR E012 Connection or synchronization failed ERROR E014 Connection or synchronization failed Cause 1 The connection between the target system and FP5 may be incorrect Action 1 1 For the 78K or V850 connect the SO TxD and SI RxD signals from the FP5 with TxD SO and RxD SI of the target device so that signal input output are consistent FP5 Target device SO TxD _ 7 TxD SO SI RxD Ne an RxD SD lt 2 gt The target interface must be isolated from other devices using jumper switches or the like otherwise malfunction may occur Refer to 8 NOTES ON TARGET SYSTEM DESIGN 9 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS or the user s manual of the target device Moreover monitor the actual waveform to confirm that the signal is not distorted and the signal level is correct Cause 2 Connection of pins for other than for the target interface may be incorrect Action 2 Refer to 8 NOTES ON TARGET SYSTEM DESIGN or the user s manual of the target device Cause 3 The PRS file selected in the Parameter and Setting file area on the Target tab in the Device Setup dialog box may not be correct Action 3 Use the PR5 file that supports the target device For details on PR5 files
80. cts or systems that may pose a direct threat to human life or bodily injury artificial life support devices or systems surgical implantations etc or may cause serious property damages nuclear reactor control systems military equipment etc You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application for which it is not intended Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistan
81. decimal Pattern Specifies the unique code in hexadecimal notation A maximum of 64 bytes can be specified Example of usage Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 19 sound command Sets the buzzer Input format sound off Ton Description of the function Sets the buzzer Enabled or disabled is optionally designated If no option is designated the current setting is displayed off Disables the buzzer on Enables the buzzer Example of usage sound Sound is on sound off Sound is off Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 20 srec command Uploads the program file in Motorola HEX format Input format srec lt code_start address code length data start address gt data length lt UB_start address gt lt UB_length gt Description of the function If a program file has been downloaded to a valid programming area executing this command will upload the program file in Motorola HEX format If this command is executed without any options the upload will be executed with the address size used during downloading If a program has not been downloaded then Invalid argument will be displayed The starting address and number of bytes are designated as options The srec command is not usable when minimum unit programming is enabled for the V850E2 Fx4 L V850E2 FF4 G V850E2 FG4 G V850E2 Px4 L V850E2 PG4 S RX or RH850
82. disables the PASS and ERROR signals Low level Grounding pin R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 49 of 164 PG FP5 V2 13 USAGE THE REMOTE CONNECTOR Table 5 2 Programming Area and Banks Programming area 0 Programming area 1 Programming area 2 Programming area 3 Programming area 4 Programming area 5 Programming area 6 Programming area 7 Note 1 0 Low level 1 High level 2 When set in programming area 0 set in programming area 0 set BANKO BANK1 and BANK to the low level When set in programming area 3 set BANKO and BANK1 to the high level and BANK to the low level Next the pin assignment of the remote connector is shown O00000 DO o00000C Figure 5 1 Remote Connector D SUB 15 pin connector female Pin Assignment Note Remote connector D SUB 15 pin connector female model number 07433FB015S200ZU Suyin Connector 5 3 Equivalence Circuits In the DC properties of the remote interface 4 7 k ohm pull up processing is executed so that the output signal has CMOS output from 74LV 126A 3 3 V and the input signal has input from 74LV 126A 3 3 V R20UT2922EJ0200 Rev 2 00 7tENESAS Page 50 of 164 Mar 02 2015 PG FP5 V2 13 USAGE THE REMOTE CONNECTOR 74LV126A 330 g ANN Q Signal BUSY 2 PASS 3 ERROR4 circuit FP5_3 3V FP5_3 3V EMZ6 8 E 74LV126A 4 7KQ Self test circuit Signal input circ
83. downprm Status Status LED Message display Screen output Display after execution of the BUSY BUSY Now loading command before downloading Display during downloading BUSY BUSY Display after normal ending of PASS Returns to the display before PASS the download executing the command Display after error ending of the ERROR Returns to the display before ERROR text download 6 4 5 downset command Downloads the ESF file Input format executing the command downset Description of the function Downloads the ESF file After this command is executed the ESF file must be downloaded to the FP5 in ASCII format by using communications software If you are using HyperTerminal select Transfer T gt Transfer text file T and then select the ESF file Also be sure to execute the lod command after the downset command Example of usage Command Status Status LED Message display Screen output downset Display after execution of the BUSY BUSY Now loading command before downloading Display during downloading BUSY BUSY Display after normal ending of PASS Returns to the display before PASS the download executing the command Display after error ending of the ERROR Returns to the display before ERROR text download executing the command R20UT2922EJ0200 Rev 2 00 7tENESAS Page 63 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COM
84. e Target cable 14pin type GND cable PG FP5 Setup Manual Japanese English Table of Toxic and Hazardous Substance and Elements ENC regulation FCC 1 5 FP5 System Overview IE E sch 1 alas al aly a The FP5 system overview is shown in the following diagrams Serial cable Host PC External control devices Target cable GND cable Target system Figure 1 1 FP5 Connection Image es gt command Communications command operation PRS file Beale HEX editor changes the memory contents Checksum calculation Self testing function Saving log files Programming environment setting Saved in FP5 internal flash memory Downloading program files Built in 16 MB flash memory for saving program files INI file Programming GUI operation Exo Manager function passwords security customization etc setting Remote Operation R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 134 NE SAS Page 16 of 164 PG FP5 V2 13 OVERVIEW lt Programming GUI operation gt The following operations can be performed with the programming GUI For USB connection the USB driver must be installed The settings on the host PC are saved in an INI file e ESF file creation e Downloading program files PRS files and ESF files saved into FP5 internal flash memory e Saving log files e Editing program files by using HEX editor e Checksum calculation e Programm
85. e 137 of 164 PG FP5 V2 13 MESSAGES No Message Welcome to FP5 Manager Yes Continue to set FP5 Manager No Return to Standard mode unsecured 3 Description Initialize as shipment condition Warning After initialization all data and parameter settings in FP5 will be deleted Buffer is modified Are you sure to close The HEX Editor temporary file has been changed This change is lost when the HEX Editor is closed This file is not valid The file selected by the HEX Editor is invalid End record not found created The end record is missing The HEX editor will add the HEX format end record 00000001FF to the file Save Select whether to save the data Click Ok to save the data Click Cancel to not save the data The file is modified Are you sure to quit The file has been modified Select whether to abort the operation Click Yes to abort without saving changes Click No to continue the operation The file is modified Save file The file has been modified Select whether to save changes R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 PG FP5 V2 13 MESSAGES A 4 Error Messages Displayed in FP5 Message Display Message Invalid PRM data Error Condition Invalid PRM data Possible Workaround The parameter file may include invalid data or the file may be defective Perform setting again by using the correct PR5 file Not conn
86. e CLEAR signal until the fall of the PASS or ERROR signal tePene Time from the fall of the PASS or ERROR signal until the NEXT signal can be input Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE tPPENE i lt gt Mar 02 2015 PG FP5 V2 13 User s Manual Common Publication Date Rev 2 00 Mar 02 2015 Published by Renesas Electronics Corporation 24 N SAS SALES OFFICES Renesas Electronics Corporation http www renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2801 Scott Boulevard Santa Clara CA 95050 2549 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 9251 Yonge Street Suite 8309 Richmond Hill Ontario Canada L4C 9T3 Tel 1 905 237 2004 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 585 100 Fax 44 1628 585 900 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 6503 0 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd Room 1709 Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100191 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 301 Tower A Central Towers 555 Langao Road Putuo District Shanghai P R China 200333 Tel 86 21 2226 0888 Fax 86 21 2226 0999
87. e Indicates either of the following as a source of the operating clock supplied to the target device Programmer Clock is supplied from the FP5 Target Clock is supplied from the user system PG CPU CLK Indicates the frequency of the clock supplied from the FP5 in MHz Target CPU CLK Indicates the frequency of the clock on the user system that is supplied to the target device in MHz Operation Mode Indicates chip area or block as the operation mode when the Blank check Erase Program Verify Checksum or Autoprocedure E P command is executed Chip Area Block Block Code Block Data Block Code Data Display example Operation Mode Chip Operation Range Indicates which of the areas in the target device connected to the FP5 is to be written to This menu shows a valid display only when the operation mode is not Chip when the operation mode is Area or Block Display example Operation Range 0to1 In chip mode the display is always as follows Display example Operation Range 0 to 127 Mar 02 2015 PG FP5 V2 13 USAGE IN STANDALONE MODE 4 3 3 Option Setting menu The Option Setting menu is used to check the command options and security settings currently set for the FP5 The settings downloaded to the valid programming area are displayed All the values displayed are those downloaded last time by the programming GUI The settings cannot be changed using this menu
88. e area 16 MB Other PR5 file save area ESF file saved area firmware area and FPGA area Operation mode Programming GUI operation standalone operation remote operation communication command operation AC adaptor Specifications AC adaptors used in each region Host PC Target host PC PC AT compatible interface ep connector Type mini B USB 2 0 compatible with 1 1 USB cable Approximately 2 m Serial connector 9 pin D SUB male connector for RS 232C 9600 19200 38400 57600 115200 bps Serial cable Approximately 3 m cross cable Target Target connector Connector 15 pin HD SUB female connector Mio ew Protected function Internal over voltage input protection circuit Target cable Two cables 16 pin type and 14 pin type Cable length Approximately 42 cm Power supply 1 210 5 5 V Power supply Available detection CPU clock supply 1 MHz 2 MHz 4 MHz 5 MHz 6 MHz 8 MHz 9 MHz 10 MHz 12 MHz 16 MHz 20 MHz GND cable Approximately 1 m Remote Remote connector 15 pin D SUB female connector interface Notes 1 The maximum communication speed in the interface may vary depending on the device and environment used 2 Vppfor the target system is supplied for the purpose of supplying power to the target device through which writing is performed so the specification cannot secure sufficient capacity to operate the target system Use the power source on the target system when performing on
89. e from the fall of the VRF START or ENTER signal until the rise of the BUSY signal tesuin Time from the fall of the BUSY signal 5 When the buzzer until the CLEAR signal can be input is disabled 510 When the buzzer is enabled tecLre Time from the fall of the CLEAR signal until the fall of the PASS or ERROR signal teresa Time from the fall of the PASS or ERROR signal until the BANK signal can be input I I iPPEBA lt gt I tPcLPE f tPBUIN Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE D 3 3 Simple mode Rise time lo 8mA Fall time lo 8mA Low level width of input signal CANCEL ENTER NEXT START VRF CLEAR R20UT2922EJ0200 Rev 2 00 7tENESAS Page 159 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE Pew su remet iW 9 SC Ti tPBAIN Time from the fall of the NEXT signal until the VRF or START signal can be input teinsu Time from the fall of the VRF START or ENTER signal until the rise of the BUSY signal When the input signal is input after having changed the program area Time from the fall of the VRF START or ENTER signal until the rise of the BUSY signal When the input signal is input without changing the program area tPBuiN Time from the fall of the BUSY signal 1 When the buzzer until the CLEAR signal can be input is disabled 510 When the buzzer is enabled Ieore Time from the fall of th
90. e user must take all precautions to avoid build up of static electricity while working with this equipment All test and measurement tool including the workbench must be grounded The user operator must be grounded using the wrist strap The connectors and or device pins should not be touched with bare hands EEDT ST 004 10 For customers in the European Union only Redemption of Waste Electrical and Electronic Equipment WEEE in accordance with legal regulations applicable in the European Union only This equipment including all accessories is not intended for household use After use the equipment cannot be disposed of as household waste Renesas Electronics Europe GmbH offers to take back the equipment All you need to do is register at http www renesas eu weee Mar 02 2015 PG FP5 V2 13 OVERVIEW EMC regulation FCC FCC Certifications Note This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the u
91. ected No device connected to FP5 Issue a con command before the command causing this error 005 Not supported The command issued is not supported on the device and thus cannot be used Check if the target device to be connected has been selected 006 Command Command aborted The Read command has been canceled aborted 008 Parameter Error PR5 file Error The parameter file may be damaged 011 Read Sig failed Check connection Device signature reading failed Connection check Check if the correct device is selected The FP5 cannot establish connection to the target device The cause may be a wrong connection between the device and the FP5 bad socket contacts or the oscillator not operating 013 Addr Range err Address range error The address given in the command exceeds the device s address range 014 RDY detect fail Device does not send RDY Wrong connection between device and FP5 or bad signal Socket contacts 015 Freq set failed Setting the Oscillator frequency Check if the oscillator frequency is allowed If yes failed contact Renesas Electronics support desk 016 Baudtrt set fail Setting the communication baud Unsupported baud rate specified Please consult the rate failed device manual 017 ID coe chk err ID code does not match Set the security ID specified for the target device 018 Lockbit dis err Error occurs in Lock bit disable A communication prob
92. ecuting the Signature operation finished normally command Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 27 slb command Executes the Lock bits setting Input format sIb Description of the function Executes the Lock bits setting Example of usage Command Status Status LED Message display Screen output slb Display after executing the PASS Returns to the display Set LockBits command before executing the PASS When completed normally command LockBits operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command XXXXXXXXXXXXXXXX When terminated abnormally Mar 02 2015 PG FP5 V2 13 6 5 28 spd command Executes the disable serial programming setting Input format spd Description of the function USAGE COMMUNICATION COMMANDS Executes the disable serial programming setting Example of usage Command Status Status LED Message display Screen output spd Display after executing the PASS Returns to the display Set Serial Programming command before executing the Disable When completed normally command PASS Set SerProgDis operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command XXXXXXXXXXXXXXXX When terminated abnormally 6 5 29 stm command Executes the Trusted Memory setting Input format stm Description of
93. efined in the PR5 file The selected clock value is larger than the maximum value defined in the PR5 file Value is out of range The selected clock value is smaller than the minimum value defined in the PR5 file The selection is out of range The Vm value exceeds the range defined in the PR5 file The selection is out of range The Voce value exceeds the range defined in the PR5 file The selection is out of range The selected value is out of the valid range Input data is out of range The selected clock value exceeds the range defined in the PR5 file 12419 Caution Boot Block swapping will not be possible Boot swapping is not available because the selected with this selection Anyhow boot block protection is block number is larger than half the total block numbers possible defined in the PR5 file Boot block protection can be enabled 12420 Illegal ID code setting The value in the ID code box is illegal 12421 Illegal option byte setting The value in the Option bytes setting box is illegal 12422 OFS setting invalid Setup standard OFS setting is wrong 12423 Illegal ID code for authentication The value in the ID box is illegal 2424 At least one block should be selected No blocks are selected in the Operation Area Select at least one block to be the target for command execution R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Pag
94. er strings that begin and end with a space cannot be used The PG FP5 might not operate correctly if installed in a folder that is named using other characters 5 The PG FP5 cannot be installed from a network drive or on a network drive 6 The installer does not specify environment variable paths If these paths are required add them after installation 7 The Microsoft INET Framework and the Microsoft Visual C runtime libraries are required to run the installer If the Microsoft NET Framework or the Microsoft Visual C runtime libraries are not installed the programming GUI will install them 8 Make sure that your host PC is connected to the network before installing the program If you wish to install the program on a host PC that is not connected to the network first go to the Microsoft Download Center and install the Microsoft NET Framework 4 before installing programming GUI 9 Ifthe installer is started on a non Japanese version of Windows then if the path contains multi byte characters it will cause an error and the installer will not start 10 The following folders created after installation including the files under the folders contain files required for the tools to operate Do not delete them Windows is the 32 bit edition and the system drive is C C Program Files Common Files Renesas Electronics CubeSuite Windows is the 64 bit edition and the system drive is C C Program Files Common Files x86 Renes
95. erased And FP5 can t operate in USB1 1 In addition the other functions don t have any problem When FP5 revives consult a Renesas Electronics sales representative or distributor R20UT2922EJ0200 Rev 2 00 RENESAS Page 32 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 Some commands are sent to the FP5 and the update progress status is displayed in the action log window The message Firmware Update succeeds which indicates normal completion of firmware update and Restarting FP5 which is equivalent to RESET command processing is automatically performed The new version can then be checked as Firmware Version Vx xx The update takes about 10 seconds Note The action log window is a part of the main window of the programming GUI which shows the operation progress status i HB Eile Programmer Device Help Firmware Version V2 07 Programmer Board HAN V1 FPGA V4 FPSGUI V2 07 Serial No MC10340174 Firmware V207 Standard mode unsecured ProgArea 0 gt 3 version Wp sacquery Mode Standard mode unsecured Nee ieee Dra po DE Parameter and Setting file Name 78F1166 pr5 Version v1 00 FP5 Selfprogramming V0 94 Name 78F1166 esf Checking FLMDO level OK Date Wed Dec 07 20 57 31 2011 Erase flash OK Blank check OK Write flash Margin check Download file Name sample hex OE Date Tue Mar 8 07 57 00 2011 Firmware Update succeeds Type
96. eration again Or the device may be damaged R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 139 of 164 PG FP5 V2 13 MESSAGES No Message Erase Timeout Erase failure Ers time exceed Ers Timeset err Error Condition Erase timed out Erase failed Erase timed out Erase time setting error 2 Possible Workaround A communication problem occurred between the FP5 and target device Try the operation again The device may be damaged The device may be damaged The PR5 file may contain invalid data Contact Renesas Electronics Blank chk failed Bln Timeout Blank check failed Blank check timed out The device connected is not empty Use the erase command before programming A communication problem occurred between the FP5 and target device Try the operation again Wrb Timeout Writeback timed out There was a communication problem between the FP5 and target device Or the device may be defective Writeback failed Writeback failed A device defect is most probably causing this error Wrb retry exceed Writeback retry timed out A device defect is most probably causing this error Wrb Timeset err Writeback time setting error The parameter file may contain invalid data Contact Renesas Electronics Write timeout Write timed out There was a communication problem between the FP5 and target device Try the operation again Write
97. erence when used in Japan 5 Renesas Hlectronics Corporation cannot predict all possible situations and possible cases of misuse that carry a potential for danger Therefore the warnings in this user s manual and the warning labels attached to this product do not necessarily cover all such possible situations and cases The customer is responsible for correctly and safely using this product 6 The product covered by this document has not been through the process of checking conformance with UL or other safety standards and IEC or other industry standards This fact must be taken into account when the product is taken from Japan to some other country 7 Renesas Hlectronics Corporation will not assume responsibility of direct or indirect damage caused by an accidental failure or malfunction in this product When disposing of this product Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation Mar 02 2015 PG FP5 V2 13 PREFACE Usage restrictions This product has been developed as a means of supporting system development by users Therefore do not use it as an embedded device in other equipment Also do not use it to develop systems or equipment for use in the following fields 1 Transportation and vehicular 2 Medical equipment that has an involvement in human life 3 Aerospace 4 Nuclear power control 5 Undersea repeaters If you are considering the use of
98. es not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration modification copy or otherwise misappropriation of Renesas Electronics product Renesas Electronics products are classified according to the following two quality grades Standard and High Quality The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics products are neither intended nor authorized for use in produ
99. et device 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 20 gt RH850 family 2 wire UART or CSD Target connecter 14pin type Target device Note1 FPCK GND FPCK FLSCISSCK MDO FPDT FLSCI3TX FLMODE FPDR FLSCI3RX MD1 j INIO O CO mo lz 1K 10KQ Clock A circuit 1K 10KQ Note2 v WA RESET Jumper Q 4 Reset Circuit Figure 8 20 Circuit Example for RH850 family 2 wire UART or CSI Circuit Example for RH850 E1x Notes 1 Pin name differs according to the target device 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together R20UT2922bEJ0200 Rev 2 00 RENESAS Page 122 of 164 Mar 02 2015 PG FP5 V2 13 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS 9 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS This chapter describes the target interface specifications signals connected to the FP5 and the target system by using equivalent circuits Note The internal voltage regulator generates the FP5_VDD and FP5 VDD2 voltages 9 1 SO TxD IO3 FPDR FPMDS3 RESET and SCK IO4 FPCK FPMDA4 SO TxD IO3 FPDR FPMD3 SCK IO4 FPCK FPMDA signal lines output C MOS level signals When a 78KOR 78KOS Kx1 UPD78F9334 V850 Single wire UART RH850
100. eturns to the display Set Option bytes command When completed before executing the PASS normally command Option bytes operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 19 otp command Executes the OTP setting Input format otp Description of the function Executes the OTP setting Example of usage Command Status Status LED Message display Screen output otp Display after executing the PASS Returns to the display Set OTP protection command When completed before executing the PASS normaly commana Set OTP operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 20 prg command Executes Program command Input format prg Description of the function Executes a similar function to the programming GUI Device menu gt Program command Example of usage Command Status Status LED Message display Screen output prg Display while executing the BUSY Program Chip Program Chip command Chip mode Addr 0x000000 10 Display while executing the BUSY Program Block ave command Block mode Addr 0x000000 1 0 09 Display while executing the BUSY Program Area command Area mode Addr 0x000000 Display afte
101. example If 112233445566778899AABBCCDDEEFF00 is specified in the ID box ID 1 8 1122334455667788 Click the NEXT button ID 9 16 99AABBCCDDEEFFOO R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 45 of 164 PG FP5 V2 13 Table 4 3 Option Setting Menu 3 USAGE IN STANDALONE MODE SetlD x y Displays the setting of the Setting box in the ID code for authentication x y 1 8 or 9 16 area on the Standard tab in the Device Setup dialog box If the NEXT button is clicked the display changes from SetID 1 8 to SetID 9 16 Display example If 112233445566778899AABBCCDDEEFF00 is specified in the ID box SetlD 1 8 1122334455667788 Click the NEXT button SetlD 9 16 99AABBCCDDEEFFOO OPBTx Displays the setting of the Option bytes setting box in the Option bytes x 0to 12 setting area on the Advanced tab in the Device Setup dialog box If the NEXT button is clicked the display changes from OPBTO to OPBTx Display example If FFFFFFE9 is specified for OPBTO in the Option bytes setting area OPBTO FFFFFFE9 R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 46 of 164 PG FP5 V2 13 4 3 4 Voltage Setting menu USAGE IN STANDALONE MODE The Voltage Setting menu is used to check the voltage level setting used when programming the target device currently connected to the FP5 The settings downloaded to the valid programming area are displayed The settings cannot be cha
102. failed Write operation failed Either the device was not blank before writing or a device defect is causing this error Write retry err Wrt Timeset err Write retry error Write time setting error Either the device was not blank before writing or a device defect is causing this error The parameter file may contain invalid data Contact Renesas Electronics Vrf Timeout Verify failed Verify timed out Verify failed There was a communication problem between the FP5 and target device Try the operation again The data in the target device s flash memory is not the same as in the FP5 IVrf Timeout Internal verify timed out There was a communication problem between the FP5 and target device Try the operation again IVerify failed VGT Comm err Internal verify error Device communication error An error was occurred while the write data level was being checked The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device SUM Comm err Device communication error The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device SCF Comm err Device communication error The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device It is displayed when security setting is changed from
103. fers and so on If using a cable other than the included target cable be sure to check the waveforms eBasically the power supply and clock for the target device should be supplied from the target system This however excludes some target devices which require supply from the FP5 When outputting the clock from the FP5 if the input specs of the target device are not satisfactory then be sure to shape the waveform Be sure to consider contact quality such as conductivity durability of the connector connected to the target cable We recommend a mechanism that connects to the GND pin eUnused pins of the target device are set to input mode Leave them open the RESETsignal of the FP5 Do not generate RESETwhile the FP5 is connected This must be especially noted in a target system in which an external watchdog timer is used that of the CPU RESETpin are the same Correct connection 12 Target device FP5 RESET RESET IC is an open drain type circuit Connect a resistor to the portion above enclosed in the dotted line as necessary Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN 2 Target Device Pin Recommended Design Correct connection lt 2 gt Target device FP5 RESET Correct connection lt 3 gt Target device FP5 RESET Correct connection 4 Target device FP5 RESET Correct connection 5 Target device FP5 RESET R20UT2922bEJ0200 Rev 2 00 RENESAS Page
104. function Executes a similar function to the programming GUI Device menu gt Erase command Example of usage Command Status Status LED Message display Screen output ers Display while executing the BUSY Erase Chip Erase Chip command Chip mode is Display while executing the BUSY Erase Block command Block mode i Display while executing the BUSY Erase Area command Area mode T Display after executing the PASS Returns to the display PASS command When completed before executing the Erase operation finished normally command Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX Erase operation finished abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 83 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 7 gdi command Get the information of blank check and flash option Input format gdi Description of the function Obtains the information set by executing the Get Flash options command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output gdi Display after executing the PASS Returns to the display See below command When completed before executing the normally command Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally Blank check
105. g mode In order to use this command manual off must be set with the autocon command beforehand Example of usage Command Status Status LED Message display Screen output con Display while executing the BUSY Disconnecting command Display after executing the PASS Returns to the display Device disconnected command before executing the command Mar 02 2015 PG FP5 V2 13 6 5 5 ep epv command Executes Autoprocedure E P command Input format ep or epv Description of the function USAGE COMMUNICATION COMMANDS Executes a similar function to the programming GUI Device menu gt Autoprocedure E P command Example of usage Command Status Status LED Message display Screen output ep Display while executing the BUSY Blank check Skipped or command Erase Chip epy PASS Program Chip 10 20 100 Display after executing the PASS Returns to the display PASS command When completed before executing the Erase Program operation normally command finished or PASS EPV operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX Erase Program operation abnormally finished or ERROR Exxx lt text gt EPV operation finished Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 6 ers command Executes Erase command Input format ers Description of the
106. id using this product other than for its intended purpose of use For those who use this product This product can only be used by those who have carefully read the user s manual and know how to use it Use of this product requires basic knowledge of electric circuits logical circuits and MCUs When using this product 1 This product is a development support unit for use in your program development and evaluation stages When a program you have finished developing is to be incorporated in a mass produced product the judgment as to whether it can be put to practical use is entirely your own responsibility and should be based on evaluation of the device on which it is installed and other experiments 2 In no event shall Renesas Electronics Corporation be liable for any consequence arising from the use of this product 3 Renesas Electronics Corporation strives to provide workarounds for and correct trouble with products malfunctions with some free and some incurring charges However this does not necessarily mean that Renesas Electronics Corporation guarantees the provision of a workaround or correction under any circumstances 4 This product covered by this document has been developed on the assumption that it will be used for program development and evaluation in laboratories Therefore it does not fall within the scope of applicability of the Electrical Appliance and Material Safety Law and protection against electromagnetic interf
107. ied cable cannot be used due to the target system specifications the cable characteristics should be equivalent or higher than those of the supplied cable Note that communication may be performed at high speed depending on the communication settings Consequently communication errors may occur and causing abnormal operation Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 4 2 Target cable 14 pin type The target cable 14 pin type is a standard shielded cable approximately 42 centimeters long The target cable is equipped with a 15 pin HD SUB male connector and a 14 pin 2 54 mm pitch multipurpose female connector 15 pin HD SUB male connector 14 pin 2 54 mm pitch multipurpose female connector Figure 7 13 Target Cable 14 pin type Outline Figure 7 14 15 Pin HD SUB Male Connector Pin Assignment of Target Cable 14 pin type EN EI E EA La L2P 4p 6 8 fiofi2 14 Figure 7 15 14 Pin 2 54 mm Pitch Multipurpose Female Connector Outline of Target Cable 14 pin type View from Socket Side Table 7 4 Target Connector 14 pin type Pin Configuration FP5 Signal Name 15 Pin HD SUB Male Connector 14 Pin 2 54 mm Pitch Multipurpose Female Connector RFU 1 101 FPMD1 6 C RR RN e mw 0 n E E se SS S Notes 1 Reserved pins Leave these pins open 2 Left open in the target cable R20UT2922EJ0200 Rev 2 00 RENESAS Page 106 of 164 Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES Note The f
108. in volts R20UT2922EJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 47 of 164 PG FP5 V2 13 USAGE IN STANDALONE MODE 4 3 5 Utility Misc menu The Utility Misc menu is used to reset the FP5 main unit tune the LCD contrast check the firmware version check the name and version of the PRS file downloaded check the name of the program file downloaded and check the checksum of program files The settings downloaded to the valid programming area are displayed The settings cannot be changed using this menu Table 4 5 Utility Misc Menu Main Menu Submenu Description Utility Misc gt Utility Displays the state of the FP5 Manager command in the Programmer menu lt Display example gt Std mode Sec A password has been registered Std mode unSec A password has not been registered Reset FP5 Pressing the ENTERI button resets the FP5 Set LCD Contr Tunes the contrast in the message display After pressing the ENTER button the contrast can be tuned using the NEXT darken or CANCEL button lighten To fix the contrast click the ENTER button FP5 F W Version Displays the FP5 firmware version Display example FP5 F W Version V1 00 PRM Name Displays the name of the PR5 file stored in the FP5 valid programming area Display example PRM Name 78F1166 PRM File Version Displays the version of the PR5 file stored in the FP5 valid programming area Display e
109. indicate the status of communication with the device and the result of execution as follows Status LED Status The selected command has been executed correctly The command that has been correctly executed is displayed in the message display The selected command is under execution The detailed execution status is displayed in the message display The selected command has been terminated by an error The error details are displayed in the message display Note For details on the errors displayed in the message display refer to error message A 4 Error Messages Displayed in FP5 Message Display Mar 02 2015 PG FP5 V2 13 USAGE IN STANDALONE MODE 4 3 Standalone Operation Menu In standalone mode the programming environment of the target device can be checked and then programs can be written by using the commands explained in this section 4 3 1 Commands menu The Commands menu provides various commands required for programming the target device Select a command from this menu and press the button the FP5 will then execute the command for the target device based on the settings downloaded to the valid programming area For details on command execution refer to each microcontroller edition 1 3 3 Device menu Table 4 1 Commands Menu 1 Main Menu Submenu Description Commands gt E P Pressing the ENTER button executes the Autoprocedure E P command Program Pressing the EN
110. ing but not limited to the development of weapons of mass destruction When exporting the Renesas Electronics products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations It is the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 2012 4 PG FP5 V2 13 PREFACE PREFACE Thank you for purchasing the PG FP5 flash memory programmer The PG FP5 is a flash memory
111. ing command execution e Execution of self testing function e Manager function passwords security customization etc setting lt Standalone operation gt The FP5 can operate in standalone mode whereby commands such as Erase Program and Autoprocedure E P can be executed without using the host PC It is suitable for use in production lines during mass production or upgrading programs in the field The following can be performed in standalone operation e Execute programming command e Confirm contents of each downloaded file Communications Command Operation FP5 can be operated by communications commands from the host PC Remote Operation Writing and PASS ERROR displays can be operated and confirmed from external control devices lt FP5 internal flash memory The FP5 has a 16 MB flash memory area for saving program files This memory area can be used as two programming areas of 10 MB and 6 MB Area 0 to Area 1 four 4 MB programming areas Area 0 to Area 3 or eight independent 2 MB programming areas Area 0 to Area 7 Program files can be downloaded to each programming area and which file PRS or ESF is to be saved is selectable in programming area units That is files can be individually downloaded in each programming area and the area used can also be selected individually Program files PRS files and ESF files are retained even if the FP5 power is turned off Downloaded data will be self tested for accurac
112. ious menu level The command currently running cannot be stopped except for the Read command The START button executes the Autoprocedure E P command It can be executed from any command menu and the display returns to the same command menu after execution Main menu Submenu ENTER button Commands Type Setting N CANCEL button Type Setting Option Setting Option Setting Voltage Setting Voltage Setting Utility Misc Utility Misc NEXT button ENTER button Reset FP5 gt Command execution NEXT button Figure 4 1 Menu Status Transition by Button Input R20UT2922EJ0200 Rev 2 00 13q NE SAS Page 39 of 164 Mar 02 2015 PG FP5 V2 13 USAGE IN STANDALONE MODE On the main menu level the FP5 shows the menu items that can be selected On the submenu level the first line in the message display shows the menu item and the second line shows the response from the FP5 if any A command prompt gt displayed at the end of a menu line indicates that it is selectable with the ENTER button or that the menu command can be executed If the command prompt gt is not displayed at the end of a menu line it means that the function is available only for display When power to the FP5 is turned on the POWER LED turns on and Commands gt is displayed in the message display The status LEDs
113. is needed The settings in the ESF file are insufficient or do not match the settings made in the FP5 Device setup is required Information defined in initial file is not complete matched with FlashProgrammer Do you want to go Setup dialog Updating the firmware will take several minutes ATTENTION The process of updating your firmware must NOT be interrupted Without firmware this FP5 GUI will NOT run properly Install new firmware in your programmer The contents of the ESF file do not match those stored in the FP5 Select whether to open the Device Setup dialog box The firmware update will take several minutes ATTENTION Firmware update cannot be aborted The FP5 may not operate normally if proper firmware is not installed Select whether to update the firmware Updating the FPGA will take several minutes ATTENTION The process of updating your FPGA must NOT be interrupted Without FPGA this FP5 GUI will NOT run properly Install new FPGA in your programmer You must be careful before start Self test ATTENTION Remove any plugs from Target and Remote connector before starting Any hardware attached to those connectors may be damaged by this test Start Self test The FPGA update will take several minutes ATTENTION The FP5 may not operate normally if a proper FPGA is not installed Select whether to update the FPGA Note the following points before performing self
114. ity functions of the microcontroller For details refer to the user s manual of the microcontroller Information about the microcontroller microcontroller name firmware version Supports FINE of the RX100 and RX200 One of the security functions of the microcontroller For details refer to the user s manual of the microcontroller One of the security functions of the microcontroller For details refer to the user s manual of the microcontroller One of the security functions of the microcontroller For details refer to the user s manual of the microcontroller One of the security functions of the microcontroller For details refer to the user s manual of the microcontroller One of the security functions of the microcontroller For details refer to the user s manual of the microcontroller Collective term for registers that determine the state of the MCU after release from reset For details refer to the user s manual of the microcontroller Notes 1 The program adaptor FA xxxx is a product of Naito Densei Machida Mfg Co Ltd If you have any questions about the FA adaptor board contact Naito Densei Machida Mfg Co Ltd Tel 81 42 750 4172 2 The functions that can be used differ depending on the target device 3 Refer to the user s manual of the target device for more information Term replacement When the RX100 RX200 is used some terms in this manual should be replaced as shown in the table below o
115. lains troubleshooting for problems that may occur during operation Note For causes and actions for the messages displayed in the error dialog box information dialog box or action log window refer to APPENDIX A MESSAGES 1 Error Message E 1100 communication within host PC and Flash Programmer is broken is displayed in the action log window Cause 1 The USB cable or serial cable may not be connected properly the USB driver may not have been installed correctly or power to the FP5 has been turned off Action 1 Refer to 10 1 Problems During Startup and take appropriate action Cause 2 When Renesas USB Development Tools is expanded in the Device Manager while the FP5 is connected via a USB port Flash Programmer FP5 is not displayed Alternatively a or x is attached Action 2 lt 1 gt Turn on power to the FP5 while it is connected to the host PC via a USB port right click the driver marked with the or x and then click Delete E on the shortcut menu 2 Execute Scan for hardware changes in the Device Manager 3 Reinstall the USB driver with Plug and Play Cause 3 The FP5 may not have been recognized when connected via USB hub Action 3 Try the following 1 Disconnect the USB cable and then reconnect it 2 Connect the USB connector to another port on the USB hub 3 If the above measures do not resolve the problem do not use the USB hub but directly
116. le to the serial port on your host PC and then connect the other end to the serial connector on the FP5 Next plug the AC adaptor into an outlet then connect it to the FP5 power supply connector Serial cable Host PC iss Outlet Figure 6 1 System Connections 2 Start the FP5 After the connections are made press the FP5 button to turn the power on If the unit starts correctly the POWER LED will light and Commands gt will be displayed on the message display If the unit does not come on in the manner described above then there may be a malfunction in the FP5 so consult a Renesas Electronics sales representative or distributor R20UT2922bEJ0200 Rev 2 00 RENESAS Page 53 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 3 Start communications software Start communications software Check the COM port number with Device Manager FS bevicenonoger TST File Action View Help 9 H amp amp Monitors amp Network adapters gt Ports COM amp LPT T i Communications Port COM1 Figure 6 2 Checking the COM Port Number Settings Select the data transfer conditions listed below Data transfer rate 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps Data bits 8 bit Parity None Stop bit 1 bit Flow control Hardware The default data transfer rate is 9600 bps but it may be changed by the programming GUI or terminal commands to another rate In
117. lem occurred between the FP5 command and target device Try the operation again Or the device may be damaged 019 Lockbit ena err Error occurs in Lockbit enable A communication problem occurred between the FP5 command and target device Try the operation again Or the device may be damaged 020 Inv Sig ID Invalid signature ID Check if the correct device is selected Inv Sig Code Invalid signature code Check if the correct device is selected Inv Sig func Invalid signature function Check if the correct device is selected Inv Sig addr Invalid signature address Check if the correct device is selected Inv device name Invalid device name Check if the correct device is selected Inv Signature Invalid signature Check if the correct device is selected Inv Dev Firm ver Invalid device firmware version Check if the correct device is selected Unkn Signature Unknown Signature Check if the correct PRM file is used Inv Devicelnfo Invalid device information Check if the correct device is selected Prewrite Timeout Prewrite timed out A communication problem occurred between the FP5 and target device Try the operation again Prewrite failed Prewrite retry error The device may be damaged ICU mode err Comm error during ICU mode check command A communication problem occurred between the FP5 and target device Try the op
118. lid Password is invalid Effective password consists one to eight any alphanumeric character It is case insensitive The specified file cannot be opened for writing Make sure that the file attribute is not set to read only Password contains invalid character or out of size range The password does not match Yes Retry to input the password No Initialize the password and format to the shipment condition Password is different with defined content R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 133 of 164 PG FP5 V2 13 MESSAGES No Message This file is not valid Caution Data Flash access unit is DWORD 2 Description The file opened with the HEX Editor is invalid The data flash area can be accessed in double word units but an access was attempted in unsupported units Caution Out of range The address range for saving data is out of the code flash or data flash address range Check the start end address Caution Start address should not larger than End address The start address is larger than the end address Check the start end address Caution End address should not smaller than start address The end address is smaller than the start address Check the start end address The file cannot be read No HEX data The file opened with the HEX Editor is invalid The program file format may be incorrect The file cannot be written
119. ly command F Release security operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 23 scf command Executes Set Security command Input format scf Description of the function Executes a similar function to the programming GUI Device menu gt Set Security command Example of usage Command Status Status LED Message display Screen output scf Display after executing the PASS Returns to the display Set Security Flags command When completed before executing the PASS normally command Security operation finished or Set command protection PASS Set comm prot operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 95 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 24 sed command Executes the endian setting Input format sed Description of the function Executes the endian setting Example of usage Command Status Status LED Message display Screen output sed Display after executing the PASS Returns to the display Set Endianness command When completed before executing the PASS WEE Corman Set Endianness operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated
120. m when using E1 E20 or E8a together Set the R value to between 4 7 and 10 kQ when using E1 E20 or E8a together 5 The mode setting pins for setting the operating mode may differ with the target device Refer to the user s manual for the target device you are using 6 The need for the clock circuit might differ depending on the target device Refer to the user s manual for the target device you are using gt A R20UT2922EJ0200 Rev 2 00 RENESAS Page 118 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN 14 RSC family Target connecter 14 pin type Target device 7 SO TxD 13 RESET Jumper Notes 1 These pins do not need to be shorted when using FP5 Short them when using E1 E20 or E8a together 2 Set the R value to 4 7 KQ or higher when using E1 E20 or E8a together 3 Set the R value to 4 7 KQ 1096 when using E1 E20 or E8a together Figure 8 14 Circuit Example for R8C Family 15 RX100 RX200 series FINE Target connecter 14pin type Target device VDD VDD VDD Circuit for selection of the operating mode 7 SO TxD 13 RESET Jumper Figure 8 15 Circuit Example for RX100 RX200 series FINE Notes 1 Setthe R value of FINED to 4 7 KQ when using E1 or E20 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 3 The UB pin controls entry to the user boot mode Set up the UB pin to select the boot mode SCI
121. mming GUI Refer to 3 4 2 Installation of programming GUI 3 Update the firmware using the latest programming GUI Refer to 3 4 3 Installation of firmware update 4 Update the FPGA using the programming GUI Refer to 3 4 4 Installation of FPGA update 3 4 1 Checking the current version 1 Open the main window of the programming GUI Refer to each microcontroller edition 1 1 Introduction 2 Check the versions of the programming GUI firmware and FPGA as shown below Programming GUI Help menu About Firmware Programmer menu Reset command FPGA Programmer menu Reset commande Note Display example of Reset command Firmware Version Vx xx Firmware version Board H W Vx FPGA Vx lt FPGA version Serial No XXXXXXXXXX Standard mode usecured 3 The latest versions are available on the following websites URLs e Except for Europe area http www renesas com pg fp5 e For Europe area http www renesas eu update Section PG FP5 EE R20UT2922EJ0200 Rev 2 00 7tENESAS Page 30 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 42 Installation of programming GUI Run the downloaded executable file PG FP5 Package Vxxx exe Perform installation following the directions on the installer screen 3 4 3 Installation of firmware update Install the latest firmware by using the latest programming GUI Decompress the file to any folder The firmware file fp5 fw vxxx
122. mware After this command is executed the firmware file must be downloaded to the FP5 in ASCII format using communications software If using HyperTerminal select Transfer T gt Transfer text file T and then select the firmware file After the firmware version has been updated the FP5 will be reset Example of usage Refer to the following pages Command Status Status LED Message display Screen output version up Display after executing Off BUSY Are you sure you want the command before to update the Firmware downloading y n Press y to continue Press n to cancel Display after pressing y Off BUSY Preparing storage OK Now loading Display during download Off BUSY Display after end of Off BUSY Refer to 1 below normal download Press y to continue Press n to cancel Display after pressing y Off Selfprogramming Refer to 2 below Firmware 1 OK CAUTION Now the Firmware will be written Please ensure that the correct Firmware Update file has been downloaded the Power is NOT disconnected during this operation the Programmer is NOT reset during this operation Do you want to continue y n Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS lt 2 gt FP5 Selfprogramming Vx xx Checking FLMDO level OK Erase flash OK Blank check OK Firmware Update succeeds Restarting FP5 FFFFFFF PPPPP 555555 F
123. n Checked Off Not checked When on the FP5 Manager Reset option of Run after Disconnect setting will also be displayed Display example On Hi Z Enable TargetRes Displays the setting status of the Enable target Reset check box in the Command options area of the device setup dialog Advanced tab On Checked Off Not checked Prog Area Displays the valid programming area Display example in the case where the valid programming area is Area 0 Prog Area On 0 Chip ERS dis Displays the setting of the Disable Chip Erase check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected Block ERS dis Displays the setting of the Disable Block Erase check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected Mar 02 2015 PG FP5 V2 13 Table 4 3 Option Setting Menu 2 Main Menu Submenu Option Setting gt PRG disable USAGE IN STANDALONE MODE Description Displays the setting of the Disable Program check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected READ disable D Displays the setting of the Disable Read check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selec
124. n the file If the file is changed operation of the FP5 is not guaranteed Abbreviation of the setting file for the PG FP5 The setting file stores information required for writing For the FP5 settings regarding the writing environment such as target devices and operation option are stored The extension of the file is esf Do not change the data in the file If the file is changed operation of the FP5 is not guaranteed Note Use ESF files that correspond to the version of the generated FP5 An error occurs when the FP5 reads files from other FP5 versions In such cases create new ESF files The program file is the program written to the microcontroller For the FP5 the following file formats are supported lt RL78 78K V850 gt a Intel HEX format HEX file b Intel HEX format HCUHEX file c Motorola S format HEX file d Motorola S format HCUHEX file lt RX family R8C family SuperH family a Intel HEX format HEX file b Motorola S format HEX file c DDI file Note Addresses may not be consecutive but they must be in ascending order Free space will be filled with FFH upon download to the FP5 When download is performed with the programming GUI it has the function to sort addresses in ascending order Note For details on the formats refer to How to Order ROM Code Information C10302E Note The program file name does not support 2 byte characters Flash options General term for microcontroller operation
125. ng for problems that may occur between software installation and startup 1 The POWER button on FPS is pressed but the LED does not turn on Cause The cause may be a poor connection of the FP5 or AC adaptor or a possible defect Action Confirm that the AC adaptor is plugged in firmly If this does not resolve the problem consider repair 2 When the USB cable is connected and power to the FP5 is turned on the driver is not recognized by Plug and Play Cause The USB connector may not be inserted properly into the USB port Action Confirm that the USB connectors are fully inserted into the USB ports of the host PC and the FP5 Alternatively disconnect the USB connector and insert it again after a short time 3 The USB driver file cannot be found at a specified location Cause The USB driver may not have been installed correctly Action Refer to 3 SOFTWARE INSTALLATION and reinstall the USB driver 4 The Add New Hardware Wizard screen appears when FP5 is connected with the host PC via a USB port Cause If the USB connector is not inserted into the USB port used during USB driver installation but into another USB port the FP5 may be recognized as a new hardware item Action Refer to 3 SOFTWARE INSTALLATION and install the USB driver again R20UT2922bEJ0200 Rev 2 00 RENESAS Page 126 of 164 Mar 02 2015 PG FP5 V2 13 TROUBLESHOOTING 10 2 Problems During Operation This section exp
126. nged by designating a numerical option Also by designating the clear option the data in the valid programming area PR5 file ESF file and program file can be deleted If there are no options then the current valid programming area is displayed clear Clears the data in the valid programming area PR5 file ESF file and program file 0 Changes the valid programming area to 0 1 Changes the valid programming area to 1 2 Changes the valid programming area to 2 3 Changes the valid programming area to 3 Example of usage Command Screen output progarea Active Program Area 0 Max program size 4 MByte Max data size 512 kByte progarea clear 1 progarea 0 Active Program Area 0 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 14 pwr_off command Turns off the FP5 power supply Input format pwr off now auto off time minutes gt Description of the function Turns off the FP5 power supply Adjusts the off timing by designating the options If options are not used then the user can see if automatic power supply off is enabled or disabled now Turns off the power supply immediately auto After the designated time has elapsed automatic power supply off is enabled Once this is designated even if the automatic power supply turns off it will still be enabled if set to ON off After the designated time has elapsed automatic power supply off is disabled time Designate
127. nged using this menu Table 4 4 Voltage Setting Menu Main Menu Voltage Setting gt Submenu Description Displays the value of Voo supplied to the target device connected to the FP5 in volts Vdd Source Displays the value of Voo2 supplied to the target device connected to the FP5 in volts Indicates the source of Von supplied from the target device as either of the following Voo from PG Von is supplied from the FP5 Voo from device Von is supplied from the user system Vdd Monitoring WideVoltage mode Displays the setting of the Vdd monitoring check box in the Supply voltage area in the Device Setup dialog box on Selected off Not selected Displays the setting of the Wide Voltage Mode check box FLMDO Level The FLMDO Level displays the voltage level of the FLMDO signal CLK Level Indicates the voltage level of the clock signal as either of the following VDD VDD2 RESET Level The Reset Level displays the voltage level of the RESET signal VDD Also when the Enable target RESET check box in the Command options area of the device setup dialog is enabled VDD Reset Trigln is displayed Serial Level Indicates the voltage level of the serial communication signals The high level of the serial communication signal is indicated as either of the following VDD VDD2 Indicates the value of Ver supplied to the target device connected to the FP5
128. normally OTP flags CF1 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF CF2 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF UB FF PASS OTP operation finished Format OTP flags CF1 OTP of Code Flash 1 CF2 OTP of Code Flash 2 UB OTP of User Boot OTP Set 0 Unset 1 Bit 0 of 1st byte Block 0 Bit 1 of 1st byte Block 1 Bit 7 of 1st byte Block 7 Bit 0 of 2nd byte Block 8 R20UT2922EJ0200 Rev 2 00 7tENESAS Page 90 of 164 Mar 02 2015 PG FP5 V2 13 6 5 15 gsc command Get the information of security Input format gsc Description of the function USAGE COMMUNICATION COMMANDS Obtains the information set by executing the Set Security command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output gsc Display after executing the PASS Returns to the display Security Flag xx command When completed before executing the Boot Block Number xx normally command FS area XXxx Xxxx PASS Security operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 16 gtm command Get the information of Trusted Memory Input format gtm Description of the function Get the informati
129. not match Set the security ID specified for the target device HEX range err Program file size error The address range of the downloaded program file is outside the address range set in the Operation Mode area on the Standard tab of the Device Setup dialog box Invalid ID Tag Targ power det FP5 int Vpp fail Target power detected Check Setup FP5 Power failure The format of the ID Tag is not correct Download the correct file FP5 should supply Voo power but supply voltage has been detected to be already present on the target board Please change Setup uncheck Voo On Target Please contact Renesas Electronics support desk FP5 int Vdd fail FP5 Power failure Please contact Renesas Electronics support desk FP5 int Vdd2 fail Targ power fail Power failure FP5 Power failure No Vo applied or Voltage is out of range A supply voltage failure has been detected Please contact Renesas Electronics support desk Von is supplied from target board but Voo voltage does not match the Voo value in FP5 Setup Check if the Voo power settings are OK There is possibly a shortcut in the target hardware GOB Comm err An error occurred during execution of the Option bytes get command The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device GID Comm err SLB Comm err GOT Comm err An err
130. nput the file range No arguments are specified for the range If security setting is performed with chip erase prohibition enabled the target device cannot be rewritten because chip erasure cannot be done Caution When Boot block cluster reprogramming is disabled chip cannot be erased and programmed any more If security setting is performed with boot area rewrite prohibition enabled the boot area of the target device cannot be rewritten Caution When Block Erase is disabled chip cannot be erased and programmed any more If security setting is performed with block erase prohibition enabled the target device cannot be rewritten because block erasure cannot be done Caution Configuration Clear can not be executed when all blocks are not blank Continue Show message when Configuration Clear after Erase checkbox is clicked Caution When OTP is set the block cannot be erased and programmed any more Caution When Serial programming disable set the device cannot be connected with Flash Programmer any more Continue The selection is out of range Show message when Set OTP after Program checkbox is clicked Show message when Disable Serial Programmer checkbox is clicked The selected communication speed is higher than the maximum value defined in the PR5 file The selection is out of range Value is out of range The selected communication speed is lower than the minimum value d
131. nsfer timing Ta 0 to 40 C C 0pF unloaded condition Pin name Symbol ParametererGonditons wN TW Le Ui hee Heeeewdn 8 IL es var 8 0000 ns wes _ Stooupine tose i ise _ Stholdtne romsox 9 rs e emerso O a s asprangen 9 e Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE SCK output SI input SO output R20UT2922EJ0200 Rev 2 00 RENESAS Page 152 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE APPENDIX D ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE This chapter explains the electrical specifications of remote interface D 1 Absolute Maximum Ratings Ta 0 to 40 C EE Output supply voltage s rese 5 89 Qupacwen We Vener 38 mA WEE m Note Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any parameter That is the absolute maximum ratings are rated values at which the product is on the verge of suffering physical damage and therefore the product must be used under conditions that ensure that the absolute maximum ratings are not exceeded Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF REMOTE INTERFACE D 2 DC Characteristics Ta 0 to 40 C C 0pF Unloaded Condition Output SC s ENTER Input Tem low 1 1 NEXT VRF START CLEAR Il TT T 8 IT R20UT2922EJ0200 Rev 2
132. ollowing are the recommended connectors to be connected to 14 pin 2 54 mm pitch multipurpose female connectors e 7614 6002 Sumitomo 3M Limited straight type e 2514 6002 3M Limited straight type When using a self made cable because the target cable cannot be used due to the target system specifications the cable characteristics should be equivalent or higher than those of the target cable Note that communication may be performed at high speed depending on the communication settings Consequently communication errors may occur and causing abnormal operation Mar 02 2015 PG FP5 V2 13 CONNECTORS AND CABLES 7 5 GND Connector The banana jack GND connector is laid out on the target connector side of the FP5 GND connector Figure 7 16 GND Connector lt FP5 Target Connector Side gt Note Part number of GND connector banana jack PB4 HIRSCHMANN 7 5 1 GND cable The host cable is a standard shielded GND cable approximately 1 meter long The GND cable is equipped with a banana jack and a spade terminal Note The FP5 and target system may be damaged if the voltage between the FP5 GND and the target system GND is different Use the GND cable to match the voltage before connecting the target cable Banana Jack Spade terminal Figure 7 17 GND Cable Outline Note Part number of banana jack TJ 2167 made by Sato Parts Co Ltd Part number of spade terminal BPF1 25 3 red Daido Solderless Terminals Mfg Co Ltd 7
133. on of Trusted Memory Example of usage Command Status Status LED Message display Screen output gtm Display after executing the PASS Returns to the display Trusted Memory xx command When completed before executing the TINE XXXXXXXX normally command TM address xxxxxxxx XXXXXXXX PASS Get Trusted Memory operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 17 idc command Executes the ID code setting Input format idc Description of the function Executes the ID code setting Example of usage Command Status Status LED Message display Screen output idc Display after executing the PASS Returns to the display Set OCD ID command When completed before executing the PASS normaly somarea OCD ID operation finished or Set ID code PASS ID code operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 18 opb command Executes the Set Option bytes command Input format opb Description of the function Obtains the information set by executing the Set Option bytes command on the Device menu of the programming GUI Example of usage Command Status Status LED Message display Screen output opb Display after executing the PASS R
134. or occurred during execution of the ID Code get command An error occurred during execution of the Ser Lock Bit command Error occurs in OTP get command The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged GLB Comm err Error occurs in Lock bit get command A communication problem occurred between the FP5 and target device Try the operation again Or the device may be damaged IDC Comn err Device communication error or illegal ID code The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device Also check that the ID code is correct R20UT2922EJ0200 Rev 2 00 OPB Comn err Mar 02 2015 Device communication error or illegal Option bytes 7tENESAS The FP5 is not communicating properly with the target device Check that the FP5 is correctly connected to the target device Also check that the Option bytes is correct Page 141 of 164 PG FP5 V2 13 MESSAGES No Message OTP Comm err Error Condition Comm error during OTP set command Possible Workaround A communication problem occurred
135. ow which is equivalent to processing when the button is turned off is automatically executed The update takes about 30 seconds File Programmer Device Programmer fpga up no query a FP5GUI V2 07 Preparing storai OK Firmware V2 07 Now loading OK ProgArea 0 Mode Standard mode unsecured Starting FPGA programming Parameter and Setting file Name 78F1166 pr5 G FP5 Power will be switched OFF now Version V1 00 Name 78F1166 est Date Wed Dec 07 20 57 31 2011 Download file Name sample hex Tue Mar 8 07 57 00 2011 X HEX file 00000000 0003FFFF wv E1100 N d Communication within host PC and FlashProgrammer is broken File checksum Target device Name 78F1166 Pott UART Pulse Num 0 Speed 1 000 000 bps Vdd 05 00 V FP5 Freq Internal Osc Target Multiply 00 Mode Figure 3 8 Action Log Window When FPGA Update Is Finished 4 Click the OK button in the error message dialog box and then press the POWER button on the FP5 to turn on power R20UT2922bEJ0200 Rev 2 00 RENESAS Page 36 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 5 Click the Programmer menu on the menu bar and select Setup host connection the Host Connection dialog box will then be opened Select the communication mode used and then click the button File Programmer Device Help Setup host connection
136. p return unsigned char bist Figure BA Division Original Calculation Specifications Mar 02 2015 PG FP5 V2 13 SUPPLEMENTARY INFORMATION The generator polynomial used for this table is x l64x l24x 54x 0 according to CCITT 16 standard Binary 0x1021 const uintl16 t CRC16 Tab 256 0x0000 0x1021 0x2042 0x3063 0x4084 0x50A5 0x60C6 0x70E7 0x8108 0x9129 0xA14A OxB16B OxC18C OxD1AD OxE1CE OxF1EF 0x1231 0x0210 0x3273 0x2252 0x52B5 0x4294 0x72F7 0x62D6 0x9339 0x8318 0xB37B 0xA35A OxD3BD OxC39C OxF3FF OxE3DE 0x2462 0x3443 0x0420 0x1401 0x64E6 0x74C7 0x44A4 0x5485 OxA56A 0xB54B 0x8528 0x9509 0OxE5EE OxF5CF OxC5AC OxD58D 0x3653 0x2672 0x1611 0x0630 0x76D7 0x66F6 0x5695 0x46B4 OxB75B 0xA77A 0x9719 0x8738 0xF7DF OxE7FE OxD79D OxC7BC 0x48C4 0x58E5 0x6886 0x78A7 0x0840 0x1861 0x2802 0x3823 OxC9CC OxD9ED OxE98E OxF9AF 0x8948 0x9969 0xA90A OxB92B Ox5AF5 0x4AD4 0x7AB7 0x6A96 0x1A71 0x0A50 0x3A33 0x2A12 OxDBFD OxCBDC OxFBBF OxEB9E 0x9B79 0x8B58 OxBB3B OxAB1A Ox6CA6 0x7C87 0xA4CE4 0x5CC5 0x2C22 0x3C03 0x0C60 Ox1CA41 OxEDAE OxFD8F OxCDEC OxDDCD OxAD2A OxBDOB 0x8D68 Ox9D49 0x7E97 0x6EB6 0x5ED5 0x4EF4 0x3E13 0x2E32 0x1E51 0x0E70 OxFF9F O0xEFBE OxDFDD OxCFFC OxBF1B OxAF3A 0x9F59 0x8F78 0x9188 0x81A9 0xB1CA OxATIEB OxD10C OxC12D OxF14E 0xE16F 0x1080 0x00A1 0x30C2 0x20E3 0x5004 0x4025 0x7046 0x6067 0x83B9 0x9398 0xA3FB OxB3DA
137. programmer for Renesas Electronics microcontrollers All components of the PG FP5 are listed under 1 4 Package Components If you have any questions about the PG FP5 contact your local distributor The manuals relevant to usage of the PG FP5 are listed below The manuals for your product consist of two volumes a common part and a part for the corresponding MCUs Be sure to read both volumes before using the PG FP5 You can download the latest manuals from the Renesas Tools homepage http www renesas com pg fp5 Related manuals Document name Document number PG FP5 V2 13 Flash Memory Programmer User s Manual Common This manual PG FP5 V2 13 Flash Memory Programmer User s Manual RL78 78K V850 RX100 RX200 R20UT2923E RX600 Except RX64x R8C SH PG FP5 V2 13 Flash Memory Programmer User s Manual RH850 RX700 Include RX64x R20UT2924E Mar 02 2015 PG FP5 V2 13 PREFACE Important Before using this product be sure to read this user s manual carefully Keep this user s manual and refer to it when you have questions about this product Purpose of use of the product This product is a device to support the development of systems that uses Renesas Electronics microcontrollers This product is a tool that erases writes and verifies programs on a Renesas Electronics on chip flash memory microcontroller on the target system Be sure to use this product correctly according to said purpose of use Please avo
138. r Renesas MCU Tools Parameter files pr5 setting files esf and INI file FP5 ini are not deleted PR5 file Delete PR65 files pr5 stored in the FP5 PRJ folder in the programming GUI installation folder ESF file Delete ESF files esf stored in the FP5 PRJ folder in the programming GUI installation folder or other folder 3 4 Updating Programming GUI Firmware and FPGA The firmware and FPGA are programs embedded in the device for controlling the FP5 Updating the programming GUI firmware and FPGA enables the following e Addition of newly supported functions or devices e Correction of restrictions Use of the latest versions of the programming GUI firmware and FPGA are recommended to assure the FP5 operation The latest versions are available on the following websites URLs e Except for Europe area http www renesas com pg fp5 e For Europe area http www renesas eu update Section PG FP5 EE Note If update of firmware and FPGA is improperly performed FP5 may no longer operate Refer to the following procedure or method for updating Note Ifthe firmware or FPGA is updated the PR5 file ESF file or program file may be deleted In such cases download the PR5 file ESF file or program file again Be sure to follow the procedure below when updating the firmware and FPGA 1 Check the current version Refer to 3 4 1 Checking the current version 2 If not the latest version update the progra
139. r executing the PASS Returns to the display PASS command When completed before executing the Program operation finished normally command Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX Program operation finished abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 93 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 21 read command Executes Read command Input format read hex srec start address end address Description of the function Executes a similar function to the programming GUI Device menu Read command hex Executes Read with the Intel HEX format srec Executes Read with the Motorola HEX format If neither hex nor srec is designated then the Read will be executed in hexadecimal format If a 16 byte aligned range contains blank areas and data areas the blank areas are indicated by start address Designates the starting address with a hexadecimal number end address Designates the ending address with a hexadecimal number If neither the start address nor end address options are used then Read will be executed for the range set in the Operation mode Use as the start address and end address the start address of an arbitrary block and the end address of an arbitrary block of the target device Example of usage Command Status Status LED Message display Screen output read Display
140. r for this service at http www renesas eu weee Mar 02 2015 PG FP5 V2 13 PREFACE Contents PREFACE E 3 deen EE 4 Precautions for Safety iesise ansiano enc Debes ge ra eens ea Lat uv ER Ld ee ue tu dan d 6 Im 10 dunn em 13 M iRizeie ie E ES 14 I OVERVIEW m E 15 InMI u e c 15 1 2 Writing Quality tirer de te lain tear daisies dairies ike desi 15 1 3 Supported D6eVvic8s crei i retina edad o RR dB cc ted e bt Ed nana d e Lu sa dnd a t EE n Vd ine nca 15 1 4 Package Components eet ieee coU TU Rete uta ceca e enti Dee Ext eu DER anes 16 1 5 FPS System ESI TA E 16 1 6 Operating Environment 18 16 1 Hardware envIiFOTWTIent cicer t torte Ed tu tung cn vex FEE Na Cose eu Eu ere Ea Fede en 18 1 6 2 Software environment esee enne nennt snnrtr intent enn sn nnns entente 18 1 7 Hardware SpeciflCallOns certet e c Cr ra e Feria retta op d nan De ta D nen e 19 1 8 AC Adaptors for PG FPb5 nire retenta o Eni iere Frag ER eee ER a Estee ne ERE RE banaran 20 Ies m 20 1 10 Regulatory Compliance Notices ener en nennen sensn nene 21 2 HARDWARE CONFIGURATION reicinn uinnin beendet ku ke Ra ranae a sera a tak rena ue DL ed snR pe sere i sene ian 23 P PES ET feelt te Viri PR 23 ZIP 23 ENEE 23 2 1 3USB Cable Em 23 PAE Wa Oele Ee e 23 ebo ee dee EE 23 Ca EI RE e E 24 E Targe
141. rec will be decompressed to the selected folder xxx indicates the firmware version 1 Click the Programmer menu on the menu bar and select Update Firmware the Update Firmware dialog box will then be opened S File Programmer Device Help Setup host connection Logging Select Programming area Buzzer Reset Self Test Update Firmware Update FPGA FP5 Manager Figure 3 1 Update Firmware Command Update Firmware xj 12210 Updating the firmware will take several minutes ATTENTION o The process of updating your firmware must NOT be interrupted without firmware this FPS GUI will NOT run properly Install new firmware in your programmer Figure 3 2 Update Firmware Dialog Box R20UT2922bEJ0200 Rev 2 00 RENESAS Page 31 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 2 Click the OK button to continue firmware update The Open firmware file dialog box is opened x oc jv LK Computer Local Disk D firmware el Search firmware a Organize New folder ae EN e NIAE File name ros fo Ouer D S rec files reo D en Z Figure 3 3 Open firmware file Dialog Box Select the firmware file fp5_fw_vxxx rec and then click the button Note 1 Do not use FP5 firmware other than the one posted on the website otherwise a defect may occur 2 When a firmware of FP5 updates from V2 00 to V1 xx a serial number of FP5 is
142. refer to 1 3 Supported Devices and each microcontroller edition 1 3 3 15 a 3 Parameter and Setting file area Cause 4 The clock may not be able to be supplied to the target device Action 4 1 Check the settings in the Supply oscillator area on the Standard tab in the Device Setup dialog box For the correct settings refer to the supplementary materials for the PR5 file or the user s manual of the target device 2 Check the clock supply on the target system by means such as waveform monitoring Cause 5 Power may not be supplied correctly to the target device Action 5 1 Check the settings in the Supply voltage area on the Advanced tab in the Device Setup dialog box 2 Check that power is supplied from the target system If power is supplied from the FP5 a power shortage may occur because its maximum power supply is 200 mA In such a case supply power from the target system and then change the setting Mar 02 2015 PG FP5 V2 13 TROUBLESHOOTING Cause 6 UART communication may not be synchronized Action 6 When UART is used communication may not be synchronized due to a baud rate error of the target device In this case change the CPU clock or baud rate or change the communication channel to another communication mode Cause 7 If using a 78KOS Kx1 microcontroller or the UPD78F9334 it is possible that the wrong connection procedure was implemented Action 7 With devices
143. rent high R20UT2922EJ0200 Rev 2 00 RENESAS Page 148 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE C 3 AC Characteristics Ta 0 to 40 C C 0pF Unloaded Condition Rise time Voo 5 0V lox 200mA Rise time Voo 3 3V louz200mA sme Voix stbizatontne 89 ns e ke Rime SC i des es Fam Ti to hee Irene a OTs ime Jaren 5 Jo Note The minimum value MIN and the maximum value MAX are determined depend on parameter file MIN 1 us MAX 999x10 1 tSTBVD 0 8 x VDD 0 2 x VDD gt i tPLHMD R20UT2922EJ0200 Rev 2 00 RENESAS Page 149 of 164 Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE 2 Note tnPE tmP 2 FLMDO x 100 us tRP Device firmware FLMDO Count start time tRPE Device firmware FLMDO Count finish time The maximum number of FLMD pulses is 15 For the characteristics of tar tape and FLMDO pulses refer to the parameter specifications in the manual of the target manual C 3 1 CLK output characteristics Ta 0 to 40 C C 0pF unloaded condition sc Symbol Parameter orCondivons Wm Tw wae Unit J S C E La e 398 89 s bee Rem its Mar 02 2015 PG FP5 V2 13 ELECTRICAL SPECIFICATIONS OF TARGET INTERFACE CLK output I l I I 4 I I I I I I I I I I I l gt e gt tPLHCK tPHLCK C 3 2 Serial tra
144. ring mass production and for upgrading in the field 4 1 Before Starting Standalone Operation In standalone mode the FP5 can select any programming area based on PRS files ESF files and program files stored in the multiple internal flash memory areas programming areas and write it New PRS files ESF files and program files cannot be downloaded to the FP5 in this mode Programming is possible only in environments to which files were downloaded last time by the programming GUI 4 2 Description of Buttons Message Display and Status LEDs In standalone mode command menus are selected and executed using the control button NEXT ENTER Or on the top of the FP5 main unit The selected command menu is displayed in the message display and the result of command execution is indicated by the message display and status LEDs When the FP5 Manager dialog box is used to enable Enable Bank mode or Enable Simple mode the functions of the control buttons and message display will change Refer to each microcontroller edition 1 3 2 9 FP5 Manager command and 5 USAGE THE REMOTE CONNECTOR This chapter will describe usage in the normal mode The command menu consists of two levels of menus a main menu and submenu The NEXT button is used to display the next menu on the same level The ENTER button is used to select or execute the menu item currently displayed The CANCEI button is used to cancel the current selection and return to the prev
145. s invalid The data flash format is invalid Valid 4 bytes are followed by an ID tag of 4 byte FFh or 4 byte OOh in the data flash area An error occurs if the ID tag includes defects or FFh or 00h is included The value input as the start address is not a valid hexadecimal number E 1533 Parameter of End Address is invalid The value input as the end address is not a valid hexadecimal number E 1534 Temporary file could not be read Abort Dump Hex The temporary file cannot be read Opening of the HEX Editor was aborted E 1535 Can not open file name gt Abort Dump Hex file name cannot be opened Opening of the HEX Editor was aborted E 1536 File load error Abort Dump Hex A file load error Opening of the HEX Editor was aborted E 1537 Error line line number Check sum error Abort Check sum Check An incorrect checksum was detected in line ine number in the program file The program file format may be incorrect E 1538 Can not read temporary file Reading of the temporary file has failed The file may be corrupted E 1539 Caution Out of range The specified value is out of the valid range E 1540 Caution Failed input Input area is empty E 1601 Protect error The on chip debug security ID and option byte settings cannot be read because read prohibited has been specified E 1604 Invallid address found in HEX file
146. s the automatic power supply off time The time can be 1 to 35791394 in minutes Note that 1 to 4 are set to 5 minutes Example of usage Command Screen output pwr_off now PG FP5 Power will be switched OFF now pwr_off auto 10 AutoPowerOff is enabled time is 10 min Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 15 res command Resets FP5 Input format 1 Tes Description of the function Executes a function similar to the programming GUI Programmer menu Reset command Example of usage Command Screen output FFFFFFF PPPPP 555555 F P P 5 F P P5 F P P 55555 PPPPP 5 P 5 5 5 P P 5 P 5555 Firmware Version Vx xx Board H W Vx FPGA Vx Serial No xxxxxxxxxx Standard mode unsecured 6 4 16 security command Confirms the security state that can be set by the FP5 Manager command Input format security Description of the function Confirms the security state that can be set by the FP5 Manager command Example of usage Command Screen output security When password protection is valid Security state is Locked Authorization procedure is Password When password protection is invalid Security state is Inactive Authorization procedure is Undefined Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 17 selftest command Executes a self test Input format selftest Description of the function
147. sending your product to be repaired Carriage fees for sending your product to us for repair are at your own expense Mar 02 2015 PG FP5 V2 13 MAINTENANCE AND WARRANTY 11 4 How to Make Request for Repair If your product is found faulty fill in a Repair Request Sheet downloadable from the following URL And email the sheet and send the product to your local distributor http www renesas com repair CAUTION Note on Transporting the Product When sending your product for repair use the packing box and cushioning material supplied with the product when it was delivered to you and specify caution in handling handling as precision equipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use the conductive plastic bag supplied with the product usually a blue bag If you use a different bag it may lead to further trouble with your product due to static electricity Mar 02 2015 PG FP5 V2 13 MESSAGES APPENDIX A MESSAGES This chapter explains the messages A 1 Message Format Messages will be output in the error warning dialog boxes information dialog boxes or action log window during programming GUI operation Error messages will be displayed on the FP5 message display during standalone operation x E 1100 Q Communication within host PC and FlashProgrammer is broken Figure A 1 Error Warning Dialog Box C EE o I2
148. ser will be required to correct the interference at his own expense Modifications not expressly approved by the manufacturer could void the user s authority to operated the equipment under FCC rules CAUTION When you use the product which need AC adapter please use AC adapter which comply with the standard of FCC indicated by Users Manual Mar 02 2015 PG FP5 V2 13 HARDWARE CONFIGURATION 2 HARDWARE CONFIGURATION This chapter explains the hardware configuration 2 1 System Configuration The FP5 system configuration is as shown in the diagram below Serial cable AC adaptor USB cable Host PC External control devices Target cable GND cable m Target system Figure 2 1 FP5 System Configuration The FP5 is connected to the host PC via a serial cable or a USB cable The FP5 is connected to the target system via a target cable and a GND cable And the FP5 can be remote controlled by connecting the remote connector and external control device 2 1 1 Host PC A host PC is used to communicate with the FP5 The host PC must also be equipped with a serial port or a USB port 2 1 2 Serial cable Communication is established by using a serial cable to connect the host PC serial port and FP5 serial connector RS 232C cross cable connection For details on the serial cable specifications refer to 7 CONNECTORS AND CABLES 2 1 3 USB cable Communication is established by connecting the host PC USB port
149. sister connect to FLMD1 of target connector 10 V850E2 CST Target connecter 14pin type Target device VDD 8 VDD 2 GND 12 GND 14 Not used circuit FLMDO 9 FLMD1 FLMD1 7 SO TxD rppr Top FPDR Note1 FPCK Note1 RESET Jumper Figure 8 10 Circuit Example for V850E2 CSI Notes 1 The pin names might differ depending on the target device For details about the actual pin names see the user s manual of each target device 2 These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 3 In case of using alternate function pin with pull up resister connect to FLMD1 of target connector R20UT2922EJ0200 Rev 2 00 7tENESAS Page 116 of 164 Mar 02 2015 PG FP5 V2 13 NOTES ON TARGET SYSTEM DESIGN lt 11 gt RL78 family VDD EVDD Target connecter 14pin type Target device Figure 8 11 Circuit Example for RL78 Family VDD EVDD Note These pins do not need to be shorted when using FP5 Short them when using E1 or E20 together 12 RL78 family VDD z EVDD Exchange adapter Target connecter 14pin type Target device 8 VDD 9 FLMD1 Note 14 Not used FL RL78 FP5 5 SI RXD 10 VDE 13 RESET Br Figure 8 12 Circuit Example for RL78 Family VDD EVDD Notes 1 To perform write when VDD EVDD connect the conversion adaptor FL RL78 FP5 a product of Naito Densei Machida Mfg Co Ltd On the Advanced tab in the Device Setup di
150. stem as necessary so as to adjust the waveform FP5 Vpp or FP5_Vpp2 Noise filter NFL21SP506 TALW 125 Sen Signal output p Signal Circuit T Target System EMZ6 8 E Figure 9 3 CLK IOS FPMDS Pins 9 4 FLMD0 IOO FPMDO FLMD1 RFU 1 101 FPMD1 and VDE IO2 FPMD2 TALV 125 Signal output circuit Self testing TALV 125 circuit m d kel N DI Target System Figure 9 4 FLMD0 IO0 FPMDO FLMDI RFU 1 IO1 FPMDI and VDE IO2 FPMD2 Pins R20UT2922bEJ0200 Rev 2 00 RENESAS Page 124 of 164 Mar 02 2015 PG FP5 V2 13 SPECIFICATIONS OF TARGET INTERFACE CIRCUITS 9 5 Vpp and Vpp2 When supplying Vpp and Vpp gt from the target system the FP5 internal power supply and the external voltage regulator is protected by a transistor FP5 Vpp or FP5 Vpp2 Transistor lt p Vpp or Vpp2 w co si N ra Voltage detector Target System Figure 9 5 Von and Vpp Pins 9 6 Vpp FP5 Ve Transistor Voltage detector Target System Figure 9 6 Ver Pin Mar 02 2015 PG FP5 V2 13 TROUBLESHOOTING 10 TROUBLESHOOTING This chapter explains troubleshooting Note Using the self testing function the user can find out the reason why the FP5 does not operate normally such as a defect in the FP5 or problems in other hardware For how to use the tool refer to each microcontroller edition 1 3 2 6 Self Test command 10 1 Problems During Startup This section explains troubleshooti
151. stments or other acts made to the product by other than Renesas Electronics Corporation 3 Consumables e g sockets and adapters are not covered by the aforementioned repair In the above cases contact your local distributor If your product is being leased consult the leasing company or the owner 11 3 Repair Provisions 1 Repairs not covered by warranty Problems arising in products for which more than one year has elapsed since purchase are not covered by warranty 2 Replacement not covered by warranty If your product s fault falls into any of the following categories the fault will be corrected by replacing the entire product instead of repairing it or you will be advised to purchase a new product depending on the severity of the fault Faulty or broken mechanical portions Flaws separation or rust in coated or plated portions Flaws or cracks in plastic portions Faults or breakage caused by improper use or unauthorized repair or modification Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply Cracks in the printed circuit board or burnt down patterns A wide range of faults that make replacement less expensive than repair Faults that are not locatable or identifiable 3 Expiration of the repair period When a period of one year has elapsed after production of a given model ceased repairing products of that model may become impossible 4 Carriage fees for
152. such cases use the Setup host connection in the programming GUI Programmer menu to check the transfer rate and make sure they match When communications software starts correctly the main window will open If communications are established then a gt will be displayed when the Enter key on the host PC is pressed This completes the preparation for using communications commands Caution Press the Enter key once after FP5 has started Alternatively send a linefeed code once to FP5 by using communication software Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 2 Command List The following is a list of FP5 control commands and device commands Table 6 1 List of FP5 Control Commands Command name Description autocon Selects and confirms automatic or manual execution of the processes from transition to flash memory programming mode to signature verification and the termination of the flash memory programming mode brt Confirms and changes the data transfer rate during serial communication with the host PC conf Displays a list of the information stored in the FP5 and changes the number of programming area sections dwnprm Downloads the PR5 file downset Downloads the ESF file fcks Executes the programming GUI File menu gt Checksum command Displays the information concerning the program file that was downloaded to the FP5 Updates the FPGA Uploads the program
153. t SYSUC EE 24 2 1 8 Program Eer 24 2 2 Names and Functions on Main Unit nennen nnne nnn nennen 25 2 2 1 FP5 control panel ine Lene cte ene eee da nee Ed E e daa e SEE S Dc 25 2 2 2 ele 26 3 SOFTWARE INSTALELATION een ein iene ee pe ec NEE 28 ra Obtaining edo WT 28 3 2 INStAIAUON m 28 3 2 1 Notes on UE e EE 29 3 9 Unin tallat e 30 3 4 Updating Programming GUI Firmware and FPGA ssssssssssseseeneneeeeneen nennen 30 3 4 1 Checking the current version 30 3 4 2 Installation of programming GUI eene nnne nentes nnne nennen 31 3 4 3 Installation of firmware update AAA 31 3 4 4 Installation of FPGA update enne na iadaaa iaaa diaaa 34 4 USAGE IN STANDALONE MODE sssssssssseeseeeeenrennnnren nennen inttr interit resi dni si trns iaai aiei nnn sn tenr en 39 4 1 Before Starting Standalone Operation 39 4 2 Description of Buttons Message Display and Status LEDs senn nrnnneen eee 39 4 3 Standalone Operation Men 41 43 1 Commands Mun 41 CCRN Setting Menu E 43 4 3 3 Option Setting LEE 44 4 3 4 Voltage Setting men 47 4 3 5 Utility MISC fieri deiecit eter eter bar tu e tue e eee tenere br nee 48 5 USAGE THE REMOTE CONNECTOR enne nnne nnnr et nen rens intr in tete erri s nnne inns 49 5 1 Remote Interface Mode eerst geeiert 49 5 2 Remote Connector Pins sse enne da aaraa a iaia tentes senis intet nen tenens 49 Mar 02 2015 PG FP5 V2 13 PREFACE 5 3
154. t format upprm Description of the function If the PR5 file has been downloaded to a valid programming area then executing this command will upload the PR5 file Example of usage upprm Press return to start continue output After the command is executed pressing the Return key will start the upload FlashProParameterFile CHECKSUM SUM BA9F0491 EOF Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 23 upset command Uploads the ESF file Input format upset Description of the function If the ESF file has been downloaded to a valid programming area then executing this command will upload the ESF file Example of usage upset Press return to start continue output After the command is executed pressing the Return key will start the upload FlashproCustomerSettingFile CHECKSUM SUM F7D4A9E7 EOF 6 4 24 ver command Displays the FP5 version Input format 1 H ver Description of the function Displays the FP5 version firmware version board hardware version FPGA version and serial number Example of usage Command Screen output Firmware Version Vx xx Board H W Vx FPGA Vx Serial No 200XXXXXXX Standard mode unsecured Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 4 25 version_up command Updates the firmware Input format version_up Description of the function Upgrades the fir
155. ted Boot Blk PRG dis D Displays the setting of the Disable boot block cluster reprogramming check box in the Security flag settings area on the Advanced tab in the Device Setup dialog box on Selected off Not selected Reset Vector D Displays the setting of the Reset vector check box in the Reset vector settings area on the Advanced tab in the Device Setup dialog box Display example Reset vector Addr 0x000000 End Boot Blk FS area a D Displays the setting of the Boot Block end check box in the Block protection area on the Advanced tab in the Device Setup dialog box Display example End Boot Blk 0 Displays the setting of the FSW Block start and FSW Block end check boxes in the Block protection area on the Advanced tab in the Device Setup dialog box Display example FS area 0 to 127 OCD ID xxxxxxxx Displays the setting of the OCD security ID setting box in the OCD security ID setting area on the Advanced tab in the Device Setup dialog box Display example If 123456789ABCDEF0123456789 ABCDEFO is specified in the OCD security ID setting box OCD ID 12345678 9ABCDEF012345678 ID x y x y 1 8 or 9 16 D Displays the setting of the ID box in the ID code for authentication area on the Standard tab in the Device Setup dialog box If the NEXT button is clicked the display changes from ID 1 8 to ID 9 16 Display
156. testing ATTENTION Unplug all target connectors and remote connectors If any hardware is connected it may be damaged by this testing Project folder and parameter file is not defined Click button Yes if create the setting file newly Click button No if select the existing setting file Parameter setting file is not defined use most recent setting as default Selected parameter files are copied to specified project folder User selected parameter files are copied to the destination 12216 Parameter file name gt already exists Do you want overwrites the existing file 12218 HEX File on local PC differs from FlashProgrammer The program file is not sufficient or does not match the contents Setup of parameters is needed FP5 Setup of the device is required R20UT2922bEJ0200 Rev 2 00 Mar 02 2015 7tENESAS Page 136 of 164 PG FP5 V2 13 MESSAGES No Message Value out of range 2 Description The set value of file checksum command is out of the valid ranges The valid code flash range is 0 0x400000 The valid data flash range is 0x400000 to 0x420000 Value out of range Start or end address defined for upload command is out of range The valid code flash range is 0 0x400000 The valid data flash range is 0x400000 to 0x420000 Please give file range Caution When Chip Erase is disabled chip cannot be erased and programmed any more I
157. that using program files in which use the RESET pin as the input only port P34 is set by the option byte flash memory programming mode cannot be entered if power is supplied to the target system before the target cable is connected to the target system Connect the target cable to the target system and then supply power to the target system as prescribed in the connection procedure Cause 8 For the RX family and Super H family the I O signal setting does not match the wiring of the target system Action 8 Check if the settings in the I O Signal Settings area on the Advanced tab in the Device Setup dialog box match the wiring of the target system 3 The following message is displayed in the action log window and normal communication is not performed in flash memory programming mode ERROR Communication failure or timeout Cause 1 The clock or power supply may not be stable Action 1 Confirm that the clock or power is supplied on the target system Cause 2 Communication may not be stable Action 2 1 Confirm that no noise is applied to communication lt 2 gt Confirm that the FP5 and target system are properly connected 3 Confirm that unused pins are properly handled 4 Confirm that an appropriate clock and communication rate are selected Stable programming may be achieved by setting a lower value for the clock or communication rate R20UT2922bEJ0200 Rev 2 00 RENESAS Page 129 of 164 Mar
158. the function Executes the Trusted Memory setting Example of usage Command Status Status LED Message display Screen output stm Display after executing the PASS Returns to the display Set Trusted Memory command before executing the PASS When completed normally command Set Trusted Memory operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command XXXXXXXXXXXXXXXX When terminated abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 98 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 30 sum command Executes the programming GUI Device menu gt Checksum command Input format sum Description of the function Executes a similar function to the programming GUI Device menu gt Checksum command Example of usage Command Status Status LED Message display Screen output sum Display after executing the PASS Checksum xxxx OXXXxx command When completed PASS normally Checksum operation finished Display after executing the ERROR ERROR xxx ERROR Exxx lt text gt command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 31 vrf command Executes Verify command Input format vrf Description of the function Executes a similar function to the programming GUI Device menu Verify command Example of usage Command Status Status LED Message display Screen output vrf Display while executing the BU
159. the menu bar and select Update FPGA the Update FPGA dialog box will then be opened File Programmer Device Help Setup host connection JI Logging Select Programming area Reset Self Test Update Firmware Update FPGA FP5 Manager Figure 3 5 Update FPGA Command Update FPGA xj 12211 Updating the FPGA will take several minutes ATTENTION o The process of updating your FPGA must NOT be interrupted without FPGA this FPS GUI will NOT run properly Install new FPGA in your programmer Figure 3 6 Update FPGA Dialog Box R20UT2922EJ0200 Rev 2 00 RENESAS Page 34 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 2 Click the OK button to continue FPGA update The Open FPGA file dialog box is opened Organize New folder HE v i fp5 fpga v4 rec File name te5 pgs vec D s rec files rec D oe VA Figure 3 7 Open FPGA file Dialog Box Select the FPGA file fp5_fpga_vx rec and then click the button Note Do not use an FP5 FPGA other than the one posted on the website otherwise a defect may occur R20UT2922EJ0200 Rev 2 00 RENESAS Page 35 of 164 Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 Some commands are sent to the FP5 and the update progress status is displayed in the action log window The message FPGA Update succeeded which indicates normal completion of firmware update and FP5 Power will be switched OFF n
160. tor using a GND cable For details on the GND connector specifications refer to 7 CONNECTORS AND CABLES Note The FP5 and target system may be damaged if the voltage between the FP5 GND and the target system GND is different Use the GND cable to match the voltage before connecting the target cable 6 Remote connector The FP5 can be remote controlled by connecting the remote connector and external control device For details on the Remote operation refer to 5 USAGE THE REMOTE CONNECTOR 7 CONNECTORS AND CABLES Mar 02 2015 PG FP5 V2 13 SOFTWARE INSTALLATION 3 SOFTWARE INSTALLATION This chapter explains the software installation 3 1 Obtaining Software Download the programming GUI USB driver and FP5 parameter file PR5 file from the following Renesas Electronics website URLs e Except for Europe area http www renesas com pg_fp5 e For Europe area http www renesas eu update Section PG FP5 EE Note Use of the latest version of software is recommended to assure the FP5 operation 3 2 Installation This section explains the installation procedure for the programming GUI USB driver and parameter file PRS file Table 3 1 Installation Installation Order Method Programming Run the downloaded executable file PG FP5_Package_Vxxx exe and perform GUI USB driver installation following the directions on the installer screen After installation the USB driver detects the FP5 by plug and play and it is autom
161. tton Cancels the current selection and returns to the previous menu item The command currently running cannot be stopped except for the Read command e START button Executes the Autoprocedure E P command with a valid programming area setting Note The NEXT ENTER CANCEL and START buttons are mainly used in standalone mode When the FP5 Manager is used to switch to the bank mode or simple mode the button functions and message display functions will change Refer to each microcontroller edition 1 3 2 FP5 Manager command and 5 USAGE THE REMOTE CONNECTOR R20UT2922EJ0200 Rev 2 00 RENESAS Page 25 of 164 Mar 02 2015 PG FP5 V2 13 HARDWARE CONFIGURATION 2 2 2 FP5 connectors The power supply connector serial connector and USB connector are laid out on the host interface side The target connector GND connector and remote connector are laid out on the target connector side USB connector Serial connector Power supply connector RENESAS Target connector GND connector Remote connector Figure 2 3 FP5 Top View Connector Power supply connector Serial connector USB connector Figure 2 4 FP5 Host Interface Side Target connector GND Remote connector connector Figure 2 5 FP5 Target Connector Side R20UT2922EJ0200 Rev 2 00 RENESAS Page 26 of 164 Mar 02 2015 PG FP5 V2 13 HARDWARE CONFIGURATION 1 Power supply connector Connect the power suppl
162. uit Button circuit FP5 User System O Signal CANCEL 5 ENTER 6 NEXT 7 74LV126A EMZ6 8 E a BUSY PASS ERROR CANCEL ENTER NEXT 74LV126A 330 Signal output n circuit FP5 3 3V gt Signal_CONN 1 FP5_3 3V 74LV126A 4 7KQ Ge C lt g Signal VRF 8 Self test circuit Signal input circuit FP5 3 3V 74LV1 e 4 7K Q gt g Signal START 0 Self test circuit Signal input circuit FP5 User System Button circuit b CONN VRF START FP5 3 3V 74LV126A KE gt O a wem 74LV126A Signal input circuit EMZ6 8 E FP5 3 3V a User System Figure 5 2 Equivalence Circuit Mar 02 2015 PG FP5 V2 13 USAGE THE REMOTE CONNECTOR 5 4 External Connection Example A connection example with a remote connector external switch and LED is shown PASS 3 ERROR 4 BUSY 2 ss LEAL GND Figure 5 3 External Switch and LED Connection Example Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 USAGE COMMUNICATION COMMANDS This chapter describes how to use communications commands from a host PC to operate the FP5 6 1 Starting the Communications Software In order to use communications commands for operation communications with the FP5 must be established with communications software In this chapter we shall describe how to use communications software to establish communications 1 Connecting the system Connect a serial cab
163. utput clr Display after executing the PASS Returns to the display Configuration clear command When completed before executing the pass normally command Configuration clear operation finished Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally R20UT2922EJ0200 Rev 2 00 7tENESAS Page 80 of 164 Mar 02 2015 PG FP5 V2 13 USAGE COMMUNICATION COMMANDS 6 5 3 con command Executes the processes from transition to the flash memory programming mode to signature verification Input format con Description of the function Executes the processes from transition to the flash memory programming mode to signature verification In order to use this command manual off must be set with the autocon command beforehand Example of usage Command Status Status LED Message display Screen output con Display while executing the BUSY Connecting command Display after executing the PASS Returns to the display PASS command When completed before executing the D ooooooc normally command Display after executing the ERROR ERROR xxx ERROR Exxx text command When terminated XXXXXXXXXXXXXXXX abnormally 6 5 4 dcon command Executes the process to end the flash memory programming mode Input format dcon Description of the function Executes the process to end the flash memory programmin
164. wer of the product to commercial power through isolation transformer in order to avoid these dangers If other equipment is connected to the same branch circuit care should be taken not to overload the circuit When installing this equipment insure that a reliable ground connection is maintained If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power cable from the outlet Do not use this as it is because of the danger of electric shock and or fire In this case contact your local distributor Before setting up this product and connecting it to other devices turn off power or remove a power cable to prevent injury or product damage Warnings to Be Taken for Handling Do not modify this product Personal injury due to electric shock may occur if this product is modified Modifying the product will void your warranty Warning for Installation Do not set this product in water or areas of high humidity Make sure that the product does not get wet CN Spilling water or some other liquid into the product may cause un repairable damage Warning for Use temperature o Care should be taken that a maximum ambient temperature is not exceeded when this product is to be used Mar 02 2015 PG FP5 V2 13 PREFACE CAUTION Cautions to Be Taken for the AC Adapter Use only the optional dedicated AC adapter for this product
165. xample PRM File Version V1 00 HEX File Name Displays the name of the program file stored in the FP5 valid programming area Display example HEX File Name Sample hex n a is displayed if the program file is invalid File Checksum File Checksum will display the results of executing the programming GUI File menu gt Checksum command Display example File Checksum 623E ARITHM Mar 02 2015 PG FP5 V2 13 USAGE THE REMOTE CONNECTOR 5 USAGE THE REMOTE CONNECTOR This chapter describes the use of the remote connector The FP5 can be remote controlled by connecting the remote connector and external control device Remote control can be used to operate and check writing and PASS ERROR displays from the external control device 5 1 Remote Interface Mode The remote interface has a standard mode and a bank mode The modes are switched by using the FP5 Manager Enable Bank mode check box Standard mode Bank mode The same signals as the control buttons NEXT ENTER CANCEL on the command menu of the FP5 unit can be input This mode allows inputting of the bank signals BANKO 2 that indicate the programming area The control buttons NEXT ENTER CANCEL will change their functions to those inputting bank signals so that the command menu displayed on the FP5 message display will be disabled 5 2 Remote Connector Pins The FP5 remote connector pins have the following functions
166. y connector to the AC adaptor included with the FP5 For details on the power supply connector specifications refer to 7 CONNECTORS AND CABLES Note Do not use an AC adaptor other than that included with the PG FP5 2 Serial connector Communication is established by using a serial cable RS 232C cross cable connection to connect the host PC serial port and FP5 serial connector The data transfer conditions are as follows e Data transfer speed 9 600 bps 19 200 bps 38 400 bps 57 600 bps or 115 200 bps e Data bit 8 bits e Parity none e Stop bit 1 bit e Flow control hardware The transfer speed is set to 9 600 bps by default but it can be changed For details on the serial connector specifications refer to 7 CONNECTORS AND CABLES 3 USB connector Communication is established by using a USB cable to connect the host PC USB port and the FP5 USB connector mini B type This connector conforms with USB 2 0 standards For details on the USB connector specifications refer to 7 CONNECTORS AND CABLES 4 Target connector Connect the target connector to the target system using the target cable for on board programming Connect the target connector to the program adaptor using the target cable for off board programming For details on the target connector specifications refer to 7 CONNECTORS AND CABLES 5 GND connector To reinforce the GND connect the FP5 GND connector and the signal GND of the target system or program adap
167. y when the FP5 is started during downloads and when programming areas are changed Notification function When Autoprocedure E P is executed whether execution is completed normally is indicated by beeps Checksum calculation Checksum calculation for the download program files is possible Mar 02 2015 PG FP5 V2 13 OVERVIEW 1 6 Operating Environment 1 6 1 Hardware environment 1 Host PCs PC AT compatible Equipped with USB 2 0 ports compatible with 1 1 Equipped with RS 232C serial ports 1 6 2 Software environment 1 OS either of the following Windows Vista 32 bit edition 64 bit edition Windows 7 32 bit edition 64 bit edition Windows 8 8 1 32 bit edition 64 bit edition Microsoft NET Framework 4 Microsoft Visual C 2010 Redistributable Package x86 Internet Explorer 6 0 or later R20UT2922EJ0200 Rev 2 00 7tENESAS Mar 02 2015 Page 18 of 164 PG FP5 V2 13 OVERVIEW 1 7 Hardware Specifications Table1 2 Hardware Specifications Hardware Specifications FP5 main Operating power Supplied via AC adaptor 15 V unit supply Operating environment Temperature 0 to 40 C ccondition Humidity 10 to 80 RH no condensation Storage environment Temperature 15 to 60 C ccondition Humidity 10 to 80 RH no condensation Package size 140 x 90 x 30 mm not including projections Weight Approximately 230 g Internal flash memory Program file sav

Download Pdf Manuals

image

Related Search

Related Contents

こちら  Untitled - Boss Audio Systems    Lab Systems - St. Louis Community College  Nilfisk-ALTO 440-M/B1 User's Manual  AlphaVM for Windows User Manual  Aroma AWK-270B electrical kettle  Hayward Self-Priming Max-Flo™ Pump  Chapter 2: Getting Started  Gembird EE2-U3S-2-R storage enclosure  

Copyright © All rights reserved.
Failed to retrieve file