Home
78K0S/KU1+ Flash Programming Manual (Basic)
Contents
1. Multiply If a normal startup is confirmed the software setup is finished Select File Quit to terminate the software then disconnect the USB cable from the MINICUBE2 If a normal startup isn t confirmed see the Troubleshooting section Go to STEP 3 STEP 3 KLEE Eae a ENS aR LOLA Be sure to note the following caution points regarding board design for on board programming O With the MINICUBE2 perform the pin connection on the target board as below figure O Even when VDD is being supplied from the target board the VDD pin should be connected to the MINICUBE2 O If the signals used during on board programming are also used during device communication in normal mode be sure to check whether any circuits need to be isolated 3 to 10kQ Pin assignment of target connector to be mounted on target system onnector MINICUBE2 pin No signal name 1 to 10kQ Remarks 1 The clock must be supplied from MINICUBE2 8MHz If the oscillator is connected to the target board disconnect it for now before writing 2 In case of on board programming set the power select switch to T Power supply of the target system is used When VDD is supplied from the MINICUBE2 do not exceed the maximum supply current of 100 mA Go to STEP 4 Wire as follows for off board programming then connect to the target cable via the conversion connector Pin assignment of target connector to be mounted
2. 135 080 Korea Tel 02 558 3737 http www kr necel com Filiale Italiana Via Fabio Filzi 25 A 20124 Milano Italy Tel 02 667541 Branch The Netherlands Steijgerweg 6 5616 HS Eindhoven The Netherlands Tel 040 265 40 10 Document No U19225EJ1VOIFOO 1st edition Date Published August 2008 NS NEC Electronics Corporation 2008
3. failed See Troubleshooting Troubleshooting L Trouble During Setup When the MINICUBE2 is connected to the host machine via a USB interface the driver is not recognized by Plug and Play Cause The USB connector may not be inserted properly into the USB port of the host machine Action Check that the USB connector is fully inserted into the USB port of the PC Alternatively disconnect the USB connector then insert the USB connector again later The USB driver file cannot be found at a specified location Cause The USB driver may not have been installed normally Action Refer to CHAPTER 2 SOFTWARE INSTALLATION in QB Programmer Operation User s Manual U18527E and reinstall the USB driver If the file is requested by Plug and Play specify the following path for the USB driver C Program Files NEC Electronics Tools MQB2ALL The MINICUBE2 is connected to the host machine but the Power LED on the MINICUBE2 is not turned on Cause The USB port of the MINICUBE2 or the host machine may have a defect Action Check a defect of the MINICUBE2 using the MINICUBE2 diagnostic tool If a defect is found consider repair If there is no defect try connecting the MINICUBE2 to another machine The Add New Hardware Wizard screen is displayed when the MINICUBE2 is connected to a PC Cause If the USB connector of the MINICUBE2 is not inserted into the USB port during installation but into another USB port the MINICUBE2 ma
4. on target system Remark The clock must be supplied from the MINICUBE2 8MH7z The power can be supplied from it too In this case set Power select switch to 3 or 5 For details refer to STEP 4 FA 78F9202MA CAC RX has already been wired So it is not necessary to wire Refer to the above figure for wiring Go to STEP 4 STEP 4 MEEA AEAT micum ees roO M eee Ea E LAINOETAN AOO AO UAL l L Target system 16 pin target cable lt lt SSS SS Se SSeS S Mountain fold Se SSeS SS SS Se SSS STEP 4 WaklaciiElecmereyalat xeriteyal power supply on a target system lt _ _ ee ae ere en PLL pyp TOTES LOAA AOIN O ETT A an Ca Target system 16 pin target cable Go to STEP 5 eee eee ee He ee ee ee eee NNM Mountain fold Software setting 1 lt 1 gt Startup MINICUBE2 software QB Programmer GUI lt 2 gt Click the pa icon or select Device Setup menu then select a parameter file Click here QB Pri grammer ice Help 2 Device Setup Standard Advanced Parameter File 78F9202 prm Target Device Connection Port UART chO v BMHz v Speed 115200bps Operation Mode PRM File Read evel Look in gt Prm v ff rs g E E 78F9202 prm elect the parameter file for the target product 78F9
5. 2007 03 12 20 56 11 Chksum 4102h ra 000000h 000487h File checksum Type Chksum Area Connection to device Port UART chO Pulse 0 115200bps Chip gq 8 00MHz Multiply 1 00 PASS CAP NUM Go to STEP 6 lt 6 gt Click the NS icon to run Autoprocedure EPV Ready for Programming If Blank check before Erase is checked during lt 3 gt in GrePs the writing will be executed after automatic blank check The mode LED on the MINICUBE2 flashes yellow during execution When the command execution is completed normally the mode LED glows green and the following window appears id QB Proerammer File Device Help a Ud K S m XN fp gt AutoProcedurefE pv Programmer Blank check Chip Not blank Erase need QB Programmer 2 21 Erasing Firmware gt V4 01 Erase Chip PASS Program Chip 10 N UPD 8F9202 has 20 ame 50 Firmware 40 Parameter file 50 Name 78F9202 prm 60 Version 1 02 70 z 5 Load file ey Name SAMPLE HEX an Date 2007 03 12 20 56 11 100 Chksum Wee 4102h Device Checksum 0x11D9 SEa ercartnlbarasilhl OBP Checksum 0x11D9 File checksum Checksum compare PASS Type AutoProcedure Epy PASS Chksum gt Area Connection to device Port UART chO Pulse 0 115200bps Chip g 8 00MHz Multiply 1 00 PASS CAP NUM Programming is completed If an error occurs communication with the target device may have
6. 20x PRM File name 78F9202prm Files of type PRM Files PRM Cancel STEP 5 Software setting 2 lt 3 gt Check the communication conditions and command options to be used Click the Standard and Advance tabs to confirm these setting Communication port Communication speed Parameter File 78F9202 prm Target Device Connection Frequency of the clock Port UART ch0 supplied from the MINICUBE2 Speed 115200bps lt Standard menu gt Device Setup Standard Advanced Operation Mode Chip Set the communication conditions C Block as shown below Communication port UART chO Syve single wire UART Maximum communication rate 115200bps Supplied clock 8 MHz lt Advance menu gt Device Setup Standard Advanced ommand options Pp check before Erase Wey let eet lain Blank check is automatically executed during Autoprocedure EPV Security flag setting Disable Chip Erase M Disable Block Erase eee een i Checksum is automatically executed after Autoprocedure EPV Software setting 3 lt 4 gt Specify the following security flag settings when using the security flag lt Advance menu gt Device Setup Standard Advanced Command options WV Blank check before Erase j Check here when using Iv Becurity flag after Program the security flag Checksum after Program Security flag settings M Disable Chip Erase M Disable Block Erase M Disab
7. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry sCENESAS 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does 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 grante
8. ch Podbielskistrasse 166 B Room 2509 2510 Bank of China Tower 30177 Hannover 200 Yincheng Road Central Tel 0 511 33 40 2 0 Pudong New Area Shanghai PR China P C 200120 R i Tel 021 5888 5400 Munich Office http www cn necel com Werner Eckert Strasse 9 81829 M nchen Shenzhen Branch TOR SUES Unit 01 39 F Excellence Times Square Building Stuttgart Office No 4068 Yi Tian Road Futian District Shenzhen Industriestrasse 3 PR China P C 518048 70565 Stuttgart Tel 0755 8282 9800 Tel 0 711 99 01 0 0 http www cn necel com pilsicrall lates pronen NEC Electronics Hong Kong Ltd Cygnus House Sunrise Parkway Unit 1601 1613 16 F Tower 2 Grand Century Place iiien Woor MIKEN Keynes 193 Prince Edward Road West Mongkok Kowloon Hong Kong MEIT One Ue Tel 2886 9318 Tel 01908 691 133 http www hk necel com Succursale Fran aise 9 rue Paul Dautier B P 52 NEC Electronics Taiwan Ltd 78142 Velizy Villacoublay C dex 7F No 363 Fu Shing North Road France Taipei Taiwan R O C Tel 01 3067 5800 Tel 02 8175 9600 3 http www tw necel com Sucursal en Espana Juen apene 18 NEC Electronics Singapore Pte Ltd a Spain 238A Thomson Road LOEO 12 08 Novena Square Tyskland Filial Singapore 307684 T by Centrum Tel 6253 8311 Entrance S 7th floor http www sg necel com 18322 Taby Sweden Tel 08 638 72 00 NEC Electronics Korea Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam ku Seoul
9. d 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 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 When exporting the 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 You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction 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 Renesas Electronics has used reasonable care in preparing the information included in this document but R
10. enesas 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 products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below 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 categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics 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 an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office e
11. ics 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 78KOS KU1 Flash Programming Manual Basic MINICUBE2 version STEP 1 RATAA dele e alala mandi celaliaeyal Li 78KOS KU1 microcontroller with on chip flash memory uPD78F920x Li Programming code intel or Motorola hexadecimal format m QB Programmer Li Parameter file 78F920x PRM included in PRM78F9234 L PC Windows 98 Me 2000 XP compliant with USB V1 1 or V2 0 m USB driver Off board programming Programming environment using adapter board plugged into socket On board programming Programming environment on user board For off board programming be sure to use an FA adapter manufactured by NAITO DENSEI MACHIDA MFG CO LTD lf software has not been installed Goto STEP 2 If software is installed and hardware is ready Go to STEP 4 ee m I a 16 pin target cable MINICUBE2 this product USB cable Target NCTE Software Target System download PO MINICUBE2 package MINICUBE2 system configuration To install QB Programmer GUI launch the executable file downloaded from following NEC Electronics Microcontrollers and Microprocessors Web
12. le Program k elect the security function to be enabled O Description of security flag Disable Chip Erase This disables deletion of the entire flash memory area Disable Block Erase This disables deletion of blocks in the flash memory area Disable Program This disables the flash memory write operation as well as deletion of blocks in the flash memory area The relationship between the security flag enable disable settings and the corresponding commands is shown below Chip Erase Block Erase Program Command Command Command Note Since the Erase command is disabled previously written data cannot be overwritten Remark Disable Chip Erase security function can not be cleard Disable Program or Disable Block Erase security function can be cleared if the Chip Erase command is executed STEP 5 Software setting 4 lt 5 gt Click the gt icon then select a writing code HEX file to download to the MINICUBE2 Look in O HEX E sample hex File name Frec shes Files of type Sec Hex files rec s hex a QB Proerammer File Device Help pa Ud K S m XN gt QB Programmer startup Programmer gt Command standby QB Programmer 2 21 Firmware V4 01 gt gt Device Setup Parameter File Read PASS Devi evice Name gt gt Open Load File Firmware Success read Load file gt Parameter file Name 78F9202 prm Version 1 02 Load file Name SAMPLE HEX Date
13. ment Tools Download Version up service http www necel com micro ods eng index html Cause 5 A security setting may have been made for the programming device Action 5 A security setting may have been made for the programming device For details refer to O Description of security flag in STEP5 Cause 6 The power supply capacity of the USB port of the PC may be low when the Power select switch is set to 3 or 5 Action 6 If the power select switch is set to 3 or 5 the power supply is 100 mA max so a power shortage may occur In such a case set the power select switch to T and then supply power from the target system If problems are not solved by any of the above the flash memory unit itself or the MINICUBE2 may be damaged For further information please contact NEC Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki Kanagawa 211 8668 Japan Tel 044 435 5111 http www necel com America Europe Asia amp Oceania NEC Electronics Europe GmbH NEC Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 010 8235 1155 http www cn necel com NEC Electronics America Inc 2880 Scott Blvd Arcadiastrasse 10 Santa Clara CA 95050 2554 U S A 40472 Dusseldorf Germany Tel 408 588 6000 Tel 0211 65030 800 366 9782 http www eu necel com http www am necel com Hanover Office Shanghai Bran
14. quipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life 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 ce
15. rtain use conditions Further Renesas Electronics products are not subject to radiation resistance 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 system 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 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 Electron
16. sites Teol Installer E Progonma tor MNECUSE V2 21 G8 Prog anae V2 21 Documents EMNE USS Civa VI 10 JHMOE Ves VI EAMMNOGE Utne Vt 35 Oocumert teeeeee toes ee ne nr ee ollers and Microprocessors W Software Download In order to operate the MINICUBE2 special software is required Download the software from the Version up Service Application Necessary Software 7 7 Debugger af Programming GUI Parameter file z TECHNOLOGY SUPPORT BUY ONLINE NEWS amp EVENTS ABOUT US s 7 SEARCALL gt gt Microcontrollers and Microprocessors Home Development Tools Download e Customers who purchased development tools from NEC Electronics Corp can utilize this service free of charge e If you purchased from NEC Electronics overseas representative or you would like to download software required 10 assword please contact your NEC Electronics overseas representative Yersion up Service gt Download for Debugger Device Files and Parameter File BERERE Janed a a Mountain fold a Mountain fold MINICUBE2 Setup 2 Download the parameter file from either websites as shown lt 1 gt Run the downloaded self extracting file Copy the decompressed parameterfile 78F920x PRM to an arbitrary folder File Edit View Favorites Tools Help ar Q sxx X DO search Folders E Address B C Documents and Se
17. ttings NEC Electronics Tools QBP V2 21 Prm Name a 78F9202 prm Bo Size Type Date Modified 3KB PRMFile 3 13 2006 5 12 AM File and Folder Tasks Make a new folder 9 Publish this folder to the Web Other Places v2 21 My Documents Py My Computer a My Network Places Details Connect your PC to the MINICUBE2 via a USB interface The USB driver is loaded by the Plug amp Play operation Select the Install the software automatically recommended wizard Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for NEG Electronics IE PC Interface MINICUBE2 USB 9 If your hardware came with an installation CD lt 3 or floppy disk insert it now What do you want the wizard to do Click Next to continue mm m o mm Valley fold ee MINICUBE2 Setup 3 After a normal startup according to the settings in step lt 3 gt the following window is opened MINICUBE2 normal startup screen QB Programmer File Device Help Pim K S gt QB Programmer startup gt Command standb x A Programmer 4 QB Programmer 2 Firmware V4 01 Device gt Name Firmware Parameter file Name Version Load file Name Date Chksum Areas File checksum Type Chksum Area Connection to device gt Port Pulse Speed Range Freq
18. y be recognized as a new hardware item Action Select Install the software automatically recommended and install the USB driver O Trouble During Operation Communication with the target device is not possible Cause 1 The driver may not be correctly installed Action 1 Check the following in the Device Manager of the System Properties window e NEC Electronics IE PC Interface MINICUBE2 USB is displayed e Alternatively the or x is not prefixed If not see the O Trouble During Setup Cause 2 There may be an incorrect connection between the target cable and target system Action 2 Check if the connections are correct e DATA pin of the MINICUBE2 X2 pin of the target device e CLK pin of the MINICUBE2 X1 pin of the target device Cause 3 The power may not be correctly supplied to the target device Action 3 Check that the power is supplied in the target system If the power is supplied from the MINICUBE2 check if the setting of the Mode select switch and Power select switch are correct Cause 4 The PRM file selected in the Device Setup window may be incorrect Action 4 Download the latest PRM file 78F920x prm from the following site Next select it by clicking on PRM File Read in the Device Setup window NEC Electronics Microcontrollers and Microprocessors Website e MINICUBE2 http www necel com micro en development asia minicube2 minicube2 html Develop
Download Pdf Manuals
Related Search
Related Contents
Corsair AF140 DeLOCK Compact Flash 8GB MARINA SPP-R200II Gamber-Johnson Underbody Support Plate Centralis Indoor RTS DB-Access User's Manual r Querélaro NOTA INFORMATIVA Projecta Compact Manual 123x160 Matte White S 7” Open Frame User Manual Copyright © All rights reserved.
Failed to retrieve file