Home
MINICUBE OCD Checker MINICUBE Utility UM
Contents
1. a a NEC Target device ME C gt gt gt SS SS Sat Se USB Serial communication communication MINICUBE2 Host machine 78K0 Check Items V850 78K0S Status of main clock MINICUBE 78K0S MINICUBE Status of target power supply Status of RESET pin Hardware version indication ID verification Download of flash memory data Program execution and stop operation Erasure of flash memory data Remark 1 V Available blank Unavailable 2 For the 78K0S MINICUBE the system clock status target power supply status RESET pin status and hardware version indication are checked based on connection check of the QB 78KOSMINI and QB 78K0SKX1 DA both are components of the 78K0S MINICUBE 8 User s Manual U18591EJ2V0UM CHAPTER 1 OVERVIEW 1 3 Notes Before Using OCD Checker Chapters 1 and 2 present an overview and basic specifications of the OCD Checker and the following sections provide separate description for the target device and the emulator to be used To utilize this manual effectively refer to the following table and see the relevant section for your target device and purpose of use Target Device Emulator MINICUBE2 Refer to CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER CHAPTER 6 OCD CHE
2. Confirm that the power for the target system is on Check the connection between the target system and MINICUBE2 78K0 OCD board is not connected The 78K0 OCD board is not connected gt Confirm that the 78K0 OCD board is connected Target Clock 0 00MHz NG The clock mounted in the CLK1 socket may not be operating gt Confirm the clock oscillation or remove the clock mounted in the CLK1 socket in the 78K0 OCD board and use the internal clock Select Socket Clock The clock mounted in the CLK1 socket is not selected gt Select socket for the clock setting or remove the clock mounted in the CLK1 socket and select internal Driver open error 1 There is no response from MINICUBE2 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started The debugger and the OCD Checker cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally Confirm the cable connection and the USB driver setup Re
3. gt MINICUBE2 4100 x xx xx Error indication gt Program Download NG Emulator Test End In this NG example the error Program Download is detected An error during flash memory programming is detected The cause is an error in pin connection on the board for connecting MINICUBE2 on the target system pin 3 RXD is shorted with GND 6 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in MINICUBE2 If the same error is displayed even after the relevant action is implemented the cause may be a defect in MINICUBE2 In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Driver open error 1 There is no response from MINICUBE2 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 gt Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started The debugger and the OCD Checke
4. Clock rr Internal ROM Security socket e internal Main OSC viH2 meee ALAE Target Power 4 9 OK Target Reset HIGH OCD Control Code Vi DU MINICUBE 78K0 4000 41 11 Program Download OK LL OK Emulator Test End 5 Click the Exit button 5 OCD Checker _ S Exit Mode of the emulator Target Device Connection INICUBE e Port al S Clock Internal ROM Security socket internal Il ES ID Code Jr User s Manual U18591EJ2VOUM 39 7 2 40 Format of Log File CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE The following shows an example of the log file Execution time y tt mm ss Clock status Target Clock 5 00MHz OK VDD status gt y Target Power 4 8V OK Reset status gt Target Reset HIGH Hardware version Check result e Execution time e Clock status e Voo status e Reset status e Hardware version e Check result Remark The version of the 78KO MINICUBE can also be checked with the debugger version consult an NEC Electronics sales representative or distributor See QB 78KOMINI OCD Control Code Vx xx MINICUBE 78K0 4000 x x xx Program Download OK Run Test OK Flash Erase OK ALL OK Emulator Test End The time when checking was started by clicking the Test button Frequency of the
5. Port Select the mode for connection with target system from the drop down list e Clock select area Input the original main clock frequency in the Main OSC MHz text box e Internal ROM Security setting area Input the ID code e Log file button Specify the log file name and the location for saving the log file User s Manual U18591EJ2V0UM CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER 4 Click the Test button If an error occurs during checking refer to 6 3 Error Output and 6 4 Action for Error 4 OGD Checker Device file folder Mode of the emulator MINICUBE2 78KOR Device jufD 8F1166_A0 Port TOOLO TOOL1 y Clod A Internal ROM Security gt 3 Y ID Code rm C Temp IEOCDUTL log 5 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in the log file If an NG is displayed refer to 6 3 Error Output and 6 4 Action for Error Click the OK button OGD Checker Device file folder CitProgram Files NEG Electronics Tools DEW Exit Mode of the emulator r Target Device Connection Device uPD78F1166_ A0 y Port TOOLO TOOL1 y 5 _ a S 8 Glock Internal ROM Security MINIGUBE2 78KOR ALL OK Emulator Test End User s Manual U18591EJ2VOUM 33 CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER 6 Click the Exit button OGD Checker De
6. or MINICUBE2 78KOR is selected When the device file has been installed using the device file installer DFINDT the saved folder is automatically specified User s Manual U18591EJ2VOUM 4 5 6 7 8 9 CHAPTER 2 INSTALLATION AND STARTUP Clock select area Select with the radio button the clock supplied to the emulator e internal When a clock mounted in the emulator is used e socket When a clock mounted in the CLK1 socket of the MINICUBE2 78K0 OCD board and a clock mounted in the CLK1 socket of the 78K0 MINICUBE or 78K0S MINICUBE are used e Main OSC MHz Input the target system clock frequency when MINICUBE2 V850 is selected Internal ROM Security setting area To set the ID code select the ID Code check box otherwise the ID code is handled as OxFF If MINICUBE2 V850 is selected this area is available only when a debug monitor program has been written to the target device This area is unavailable if MINICUBE2 78K0S or 78KOS MINICUBE is selected for the emulator mode Log file button Specifies the file to which the check log will be output log file The location for saving the log file can be changed by clicking the Log file button The log file is created as IEOCDUTL log in a temporary folder by default Normally the temporary folder is specified in the tmp or temp environmental variable Test button Starts checking The checked items and t
7. ENESAS User s Manual MINICUBE OCD Checker MINICUBE Utility Target Devlopment Tool QB MINI2 QB 78KOMINI QB 78KOSKX1MINI Document No U18591EJ2VOUMO0O 2nd edition Date Published October 2008 NS O NEC Electronics Corporation 2007 Printed in Japan MEMO 2 User s Manual U18591EJ2VOUM MINICUBE is a registered trademark of NEC Electronics Corporation in Japan and Germany Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and or other countries The names of other companies and products are the registered trademarks or trademarks of their companies e The information in this document is current as of October 2008 The information is subject to change without notice For actual design in refer to the latest publications of NEC Electronics data sheets or data books etc for the most up to date specifications of NEC Electronics products Not all products and or types are available in every country Please check with an NEC Electronics sales representative for availability and additional information e No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Electronics NEC Electronics assumes no responsibility for any errors that may appear in this document e NEC Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or aris
8. Flash Erase OK ALL OK Emulator Test End 6 Click the Exit button 6 OCD Checker _ Exit il Mode of the emulator p Target Device Connection MINICUB dal Goes Port a Internal ROM Security socket internal W ID Code poor Main OSC MH2 Log file C tmp MOB2UTL los User s Manual U18591EJ2VOUM 15 3 2 CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER Format of Log File The following shows an example of the log file when the check results show OK statuses Execution time gt tt mm ss Clock status gt Target Clock 20 00MHz OK VDD status 4 Target Power 5 1V OK Reset status gt Target Reset HIGH OCD Control Code Vx xx MINICUBE2 4100 x xx xx Program Download OK Run Test OK Flash Erase OK ALL OK Emulator Test End Hardware version Check result e Execution time The time when checking was started by clicking the Test button e Clock status Frequency of the selected clock e Voo status Vop value that is applied to the target device e Reset status RESET pin status HIGH Reset signal input from the target system is HIGH LOW Reset signal input from the target system is LOW e Hardware version Version of each hardware e Check result Program Download ID verification result of dow
9. button e Log file button Specify the log file name and the location for saving the log file User s Manual U18591EJ2VOUM CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER 4 Click the Test button If an error occurs during checking refer to 5 3 Error Output and 5 4 Action for Error gt OCD Checker Device file folder D NECTools32 DEV Exit m Mode of the emulator Target Device Connection MINIGUBE2 78K0S y Device juPD 8F9234 y Port a 4 Glock G Temp IEOCDUTL log 5 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in the log file If an NG is displayed refer to 5 3 Error Output and 5 4 Action for Error Click the OK button OGD Checker Device file folder D NECTools32 DEV Exit Mode of the emulator r Target Device Connection MINIGUBE2 78K0S y Device juPD 8F9234 y Port 5 Internal ROM Security Emulator Test End User s Manual U18591EJ2VOUM 27 CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER 6 Click the Exit button OGD Checker Device file folder D NECTools32 DEV Exit Mode of the emulator Target Device Connection MINICUBE 78K05 Device uPD78F9234 vw Port z hternal ROM Security chee roe Fe Log file C Te mp IEOCDUTL log LOK Emulator Test End 5 2 Format of
10. result of downloading to flash memory in the target device Run Test Result of executing and stopping the program Flash Erase Erasure result of flash memory in the target device 22 User s Manual U18591EJ2VOUM CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER Remark The version of MINICUBE2 can also be checked with the MINICUBE2 diagnostic tool debugger and QBP The latest version of MINICUBE2 firmware can be checked on the following NEC Electronics websites Japanese version http www necel com micro ods jpn index html English version http www necel com micro ods eng index html See Version up service gt MINICUBE2_ Software 4 3 Error Output The following describes the operation and display example when an NG is displayed as a result of 4 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button wocDuTL fX 1 2 The contents displayed in the log view window are saved in the log file Log view window 7 OCD Checker Device file folder C Program Files NEC Electronics Tools DEV Exit Mode of the emulator Target Device Connection MINICUBE2 850 Device luPD 0F3732 v Port csIE0 X Clock Internal ROM Security E Y ID Code ooo C ij S Main OSC MH2 50 Log file C Temp IEOCDUTL log 09 53 35 Target Power 3 24 Target Reset HIGH MINIGUBE2 4100 A 4 01 Program Download NG E
11. 19 Target Power 3 24 Target Reset HIGH MINIGUBE2 4100 A 4 01 Program Download OK Run Test OK Flash Erase OK ALL OK Emulator Test End User s Manual U18591EJ2VOUM 21 CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER 6 Click the Exit button 7 OGD Checker Device file folder C Program Files NEC Electronics Tools DEV Exit Mode of the emulator Target Device Connection Device juPD 0F3732 y Port CSIBO hai Clock Internal ROM Security ES c Main OSC MH2 50 ID Code mmmmmmsrmmmmemm Log file C Temp IEOCGDUTL oe LOK Emulator Test End 4 2 Format of Log File The following shows an example of the log file when the check results show Ok statuses Execution time y tt mm ss VDD status Target Power 3 2V Reset status gt Target Reset HIGH Hardware version gt 3 MINICUBE2 4100 x xx xx Program Download OK Check result Run Test OK Flash Erase OK ALL OK Emulator Test End e Execution time The time when checking was started by clicking the Test button e Voo status Voo value that is applied to the target device e Reset status RESET pin status HIGH Reset signal input from the target system is HIGH LOW Reset signal input from the target system is LOW e Hardware version Version of each hardware e Check result Program Download ID verification
12. 78K0 MINICUBE o 0ooooococcccccnccooconccccccncnnnnnnnnnccnncncnnnnnnnnnnnnnennnnnnnannnnnnnnnnnns 38 7 1 Execution of OCD Check oil it 38 CZ Format of Log Elle pican 40 L OR ee T a ULT EE 41 EA AACTION TOR EEGENEN T ENEE 43 6 User s Manual U18591EJ2VOUM CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE cccecccesseeeseeeeeeeeeeeeeeeseeeseneeeeeeeeeeseeeseseeeeeeeeeeas 44 8 1 Execution of OCD ChecK cocoa iaa edecassenectigeeectenes 44 8 2 Format 0T e 46 8 3 Errertutut eege ege eer EE EE 47 Bids ACHON el e EE 48 CHAPTER 9 OCD CHECKER VERSION INDICATION cooccccccccccconccononccnncnocnnnnannnnnnnnnnnenannnnonnnnnnnnnnnnnananens 50 CHAPTER 10 UNINSTALLATI N ovio 51 APPENDIX A REVISION HISTORY ion a EE 52 A 1 Major Revisions in This Eqition cccccesseseseseeeeeeeeeeeeeseeeeeeeeseeeeeseeeeneeseseeneeseeeseeeseeeesnenseneseees 52 User s Manual U18591EJ2V0UM 7 CHAPTER 1 OVERVIEW 1 1 MINICUBE OCD Checker MINICUBE OCD Checker hereinafter referred to as OCD Checker is a self check tool for simply detecting problems that may occur when an on chip debug emulator and target system are connected The OCD Checker checks if the communication circuits operate normally Communication circuits must be mounted on the target system Target system 1 2 Target Emulators and Items to Be Checked The following table lists the items that can be checked with the OCD Checker MINICUBE2
13. Check the connection between the target system and MINICUBE2 Use the firmware version Vx xx or later Update MINICUBE2 firmware to Vx xx or later User s Manual U18591EJ2VOUM 25 CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER This section describes the method to check the connection between MINICUBE2 and the target system which uses a 78K0S microcontroller as the target device using the OCD Checker 5 1 Execution of OCD Check Be sure to terminate the debugger QBP and MINICUBE2 diagnostic tool before executing the OCD Checker The 78K0 OCD board and 10 pin target cable accessories of MINICUBE2 are not used Perform the connection check according to the following steps 1 to 6 1 2 3 26 MINICUBE2 setup e Power select switch Set the switch corresponding to the target system e Mode select switch Set to M2 e Target cable Connect the 16 pin target cable Connection and power application Connect MINICUBE2 to the target system in accordance with MINICUBE2 User s Manual U18371E and the turn on power to the target system Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select MINICUBE2 78K0S e Target Device Connection area Device Select the target device to be connected from the drop down list If the target device name is not displayed specify the device file saving destination folder using the Device file folder
14. DA and QB 78KOSMINI Target Clock 0 00MHz NG The clock mounted in the CLK1 socket may not be operating gt Confirm the clock oscillation or remove the clock mounted in the CLK1 socket and use the internal clock Select Socket Clock The clock mounted in the CLK1 socket is not selected Select socket for the clock selection or remove the clock mounted in the CLK1 socket and select internal Driver Open Error 1 There is no response from the 78KOS MINICUBE Check the connections between the host machine and the USB cable and the USB cable and the QB 78KOSMINI gt Turn all the power supplies off according to the procedures described in the user s manual The QB 78KOSMINI is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started The debugger and the OCD Checker cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally Confirm the cable connection and the USB driver setup Re install the USB driver as necessary 4 The debugger may not be installed normally Re install the debugger 48 User s Manual U18591EJ2VOUM CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE 2 2 Error message
15. Log File The following shows an example of the log file when the check results show OK statuses e Execution time e Reset status e Hardware version e Check result 28 Execution time _________ tt mm ss Reset status ______ __ Target Reset HIGH Hardware version 9 MINICUBE2 4100 x xx xx Program Download OK Run Test OK Flash Erase OK ALL OK Emulator Test End S Check result __ The time when checking was started by clicking the Test button RESET pin status HIGH Reset signal input from the target system is HIGH LOW Reset signal input from the target system is LOW Version of each hardware Program Download ID verification result of downloading to flash memory in the target device Run Test Result of executing and stopping the program Flash Erase Erasure result of flash memory in the target device User s Manual U18591EJ2VOUM CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER Remark The version of MINICUBE2 can also be checked with the MINICUBE2 diagnostic tool debugger and QBP The latest version of MINICUBE2 firmware can be checked on the following NEC Electronics websites Japanese version http www necel com micro ods pn index html English version http www necel com micro ods eng index html See Version up service gt MINICUBE2_Software 5 3 Error Output The following describes the operatio
16. MINICUBE2 diagnostic tool is uninstalled at the same time e The log files are not deleted by uninstalling the OCD Checker Perform uninstallation according to the following steps 1 to 5 1 Turn on power to the host machine and start Windows 2 Start Add Remove Programs or Add or Remove Programs in the Control Panel 3 Select the relevant item from the list displayed on the Install Uninstall tab and then click the Add Remove or Change Remove button e To uninstall the OCD Checker NEC EL MINICUBE Utilities Vx xx e To uninstall this document NEC EL MINICUBE Utilities Vx xx Documents 4 A dialog box for confirming deletion of files will be displayed Click the Yes button deleting the files will then be started 5 When the completion message is displayed click the OK button This completes uninstalling the OCD Checker User s Manual U18591EJ2VOUM 51 lt R gt APPENDIX A REVISION HISTORY A 1 Major Revisions in This Edition CHAPTER 2 INSTALLATION AND STARTUP p 10 Addition of description in 2 1 1 Installation Addition of description in 2 1 2 Startup APPENDIX A REVISION HISTORY p 52 Addition of APPENDIX A REVISION HISTORY 52 User s Manual U18591EJ2VOUM
17. Test ERROR Execute Break Test1 ERROR SFR Access Break Test ERROR Read Access Break Test1 ERROR Read Access Break Test2 ERROR Write Access Break Test1 ERROR Write Access Break Test2 ERROR Step Break Test ERROR Execute Break Test2 The target device may be damaged so exchange the target device User s Manual U18591EJ2VOUM 19 CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER This section describes the method to check the connection between MINICUBE2 and the target system which uses a V850 microcontroller as the target device using the OCD Checker 4 1 Execution of OCD Check Be sure to terminate the debugger QBP and MINICUBE2 diagnostic tool before executing the OCD Checker The 78K0 OCD board and 10 pin target cable accessories of MINICUBE2 are not used Perform the connection check according to the following steps 1 to 6 1 2 3 20 MINICUBE2 setup e Power select switch Set the switch corresponding to the target system e Mode select switch Set to M2 e Target cable Connect the 16 pin target cable Connection and power application Connect MINICUBE2 to the target system in accordance with MINICUBE2 User s Manual U18371E and the turn on power to the target system Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select MINICUBE2 V850 e Target Device Connection area Device Select the target device to be connect
18. and specifying it in the Find what field To understand the overall operation of the MINICUBE OCD Checker Read this manual according to the CONTENTS Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Numeric representation Binary xxxx or xxxxB Decimal xxxx Hexadecimal xxxxH Indicates an arbitrary message or item on the screen TI indicates the name of a button command dailog box or area User s Manual U18591EJ2V0UM Terminology The meanings of the terms used in this manual are as follows Emulator General name that means MINICUBE2 78KO MINICUBE and 78KOS MINICUBE MINICUBE2 Indicates QB MINI2 an on chip debug emulator with programming function 78K0 MINICUBE Indicates 78KO on chip debug emulator QB 78KOMINI 78K0S MINICUBE Indicates 78KOS Kx1 in circuit emulator QB 78K0SKX1MINI Debugger Indicates NEC Electronics integrated debugger ID78K0 QB ID78KOS QB ID78KOR QB or ID850QB QBP Indicates the QB Programmer GUI software used for flash programming Device file Binary file that contains device dependent information It is prepared for each target device or group of devices in the same lineup Related Documents Please use the following documents in combination with this manual The related documents listed below may include preliminary versions However preliminary versions ar
19. and action Log file write error The cause may be The specified log file cannot be accessed Confirm that the folder path and file are write enabled Test Rom Command xxH Error Monitor Command xxH Error Communication between the QB 78K0SKX1 DA and QB 78KOSMINI has failed gt The cause may be a problem in the electrical specifications of the cable or the target board or the USB driver may not be operating normally Confirm the connection and restart Windows on the host machine User s Manual U18591EJ2V0UM 49 50 CHAPTER 9 OCD CHECKER VERSION INDICATION This section describes the method to check the version Click the icon on the title bar or right click the title bar the system menu is then displayed OCD Checker asiNEC Electronics Tools DEV Exit larget Device Connection Svice UPD 78F1166_Al y Port TOOLO TOC Close Alt F4 Internal ROM Security About OCD Checker KR ID Code oe Hair Log file DATMPWEOCDUTL log asiNEC Electronics Tools DEY arget Device Connection avice UPD78F1166_Al Port TOOLO TOC y Alt F4 qr Intemal ROM Security About OCD Checker L ID Code a OCD Checker E2 30c 9 Jun 2006 Copyright C NEC Electronics Corporation 2006 User s Manual U18591EJ2VOUM CHAPTER 10 UNINSTALLATION This section explains how to uninstall the OCD Checker Note the following points when uninstalling the OCD Checker e The
20. device may be damaged so exchange the target device Use the firmware version Vx xx or later Update MINICUBE2 firmware to Vx xx or later User s Manual U18591EJ2VOUM 31 CHAPTER6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER This section describes the method to check the connection between MINICUBE2 and the target system which uses a 78KOR microcontroller as the target device using the OCD Checker 6 1 32 Execution of OCD Check Be sure to terminate the debugger QBP and MINICUBE2 diagnostic tool before executing the OCD Checker The 78K0 OCD board and 10 pin target cable accessories of MINICUBE2 are not used Perform the connection check according to the following steps 1 to 6 1 2 3 MINICUBE2 setup e Power select switch Set the switch corresponding to the target system e Mode select switch Set to M1 e Target cable Connect the 16 pin target cable Connection and power application Connect MINICUBE2 to the target system in accordance with MINICUBE2 User s Manual U18371E and the turn on power to the target system Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select MINICUBE2 78K0R e Target Device Connection area Device Select the target device to be connected from the drop down list If the target device name is not displayed specify the device file saving destination folder using the Device file folder button
21. install the USB driver as necessary 4 The debugger may not be installed normally Re install the debugger 18 User s Manual U18591EJ2VOUM CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 2 2 Error message and action Incorrect ID code The input ID code is incorrect Confirm the ID code written to the target device and re input the ID code Log file write error The specified log file cannot be accessed gt Confirm that the folder path and file are write enabled Test Rom Command xxH Error Monitor Command xxH Error Communication between the target device and MINICUBE2 has failed The cause may be a problem in the electrical specifications of the cable or the target system or the USB driver may not be operating normally Confirm the connection and restart Windows on the host machine Write Memory Read Memory Data verify error The internal RAM cannot be accessed The target device may be damaged Exchange the target device _Flash Env Error Flash Get Info Error _Flash Block Blank Check Error _Flash Block Erase Error _Flash Word Write Error Flash Block Verify Error Flash Word Read Error Data Verify Error An error occurred while writing to the flash memory The cause may be the security flag setting so clear the security flag setting via the QBP The target device may be damaged so exchange the target device Break Timeout ERROR SP Break
22. jpn exec execindex html Japanese version http www necel com micro ghs eng exec English version lt 1 gt Download MINICUBE_ Utilities Wxxx Izh into an arbitrary folder from the website lt 2 gt Execute MINICUBE_Utilities_ Vxxx Izh in the arbitrary folder lt 3 gt The following folders and files will be created in the arbitrary folder MINICUBE Utilities Vxxx MINICUBE Utilities Vxxx MINICUBE Utilities Document_Vxxx readme_j txt readme_e txt lt 4 gt Install MINICUBE_Utilities_Vxxx main unit as follows e If the OS is Japanese Windows execute setup exe in the MINICUBE_Utilities_Vxxx Japanese DISK1 folder and install the software according to the installer instructions e If the OS is not Japanese Windows execute setup exe in the MINICUBE_Utilities_Vxxx English DISK1 folder and install the software according to the installer instructions Caution Specify C Program Files NEC Electronics Tools as an installation destination folder Remarks 1 The MINICUBE OCD Checker and MINICUBE2 diagnostic tool can be installed by installing MINICUBE Utilities Vxxx 2 GHS Green Hills Software Inc IAR AR Systems AB 2 2 2 Startup e Click the Start menu of Windows point to Programs NEC Electronics Tools Latest Version and then click MINICUBE Utilities Vx xx OCD Checker Caution If the debugger QBP or MINICUBE2 diagnostic tool is running terminate it before starting the OCD Checker User s Manual U18591EJ2VOU
23. not be operating normally Confirm the connection and restart Windows on the host machine 30 Users Manual U18591EJ2VOUM CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER 2 2 Error message and action Emulator Command xxH Error Communication between the host machine and MINICUBE2 has failed 1 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 2 Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 3 Check if the target device name matches the name specified in the Device drop down list in the Target Device Connection area Program Download NG An error occurred while writing to the flash memory 1 Check the connections between the target device and MINICUBE2 2 Check the power supply to the target system 3 The cause may be the security flag setting so clear the security flag setting via the flash memory programmer 4 The target device may be damaged so exchange the target device 5 Check the MINICUBE2 settings 6 Check the circuit for connecting MINICUBE2 Break Timeout ERROR Execute Break Test1 The target
24. selected clock Voo value that is applied to the self check board RESET pin status HIGH Reset signal input from the self check board is HIGH LOW Reset signal input from the self check board is LOW Version of each hardware Program Download ID verification result of downloading to flash memory in the target device self check board Run Test Result of executing and stopping the program Flash Erase Erasure result of flash memory in the target device self check board User s Manual U17029E for the control code of the OCD Checker User s Manual U18591EJ2VOUM For the latest CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 7 3 Error Output The following describes the operation and display example when an NG is displayed as a result of 7 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button eocpuTL fX 1 2 The contents displayed in the log view window are saved in the log file Log view window 7 OGD Checker Mode of the emulator Target Device Connection 178KO MINICUBE Device Port Glock Internal ROM Security socket C internal Y ID Code Iran Log file C Temp IEOCDUTL log 10 54 10 Emulator Test End Log file Execution time tt mm ss Clock status NG error Target Clock 0 00MHz NG VDD status gt Target
25. status OK Target Clock 20 00MHz OK Eirerindication Monitor Command 3FH Error Communication Error Hardware version MINICUBE2 4100 x xx xx Emulator Test End In this NG example the monitor command 3FH error and communication error are output The communication failure between the target device and MINICUBE2 is detected The cause is an error in the target cable connection between the target system and MINICUBE2 User s Manual U18591EJ2VOUM 17 CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 3 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in MINICUBE2 If the same error is displayed even after the relevant action is implemented the cause may be a defect in MINICUBE2 In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Communication error There is no response from the target device Address 0x84 on chip debug emulator use enable flag is set to 0x00 disable use or the target system and MINICUBE2 are not connected correctly Confirm the file of the program written to the target device and connection between the target system and MINICUBE2 Target Power 0 0V NG The power supply to the target system cannot be detected
26. CK FOR MINICUBE2 AND 78KOR MICROCONTROLLER 78K0 MINICUBE CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 78K0S MINICUBE CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE User s Manual U18591EJ2V0UM 9 CHAPTER 2 INSTALLATION AND STARTUP This section explains how to install and start the OCD Checker 2 1 When NEC Electronics Tool Is Used 2 1 1 Installation lt R gt e Select the Emulator Utilities check box when installing CubeSuite V1 00 or later The MINICUBE OCD Checker is then installed automatically e Select the MINICUBE Utilities Vx xx check box when installing ID78KO QB V2 93 or later The OCD Checker is then installed automatically e Select the MINICUBE Utilities Vx xx check box when installing ID850QB V3 20 or later The OCD Checker is then installed automatically e Select the MINICUBE Utilities Vx xx check box when installing QBP V1 00 or later The OCD Checker is then installed automatically e Select the MINICUBE Utilities Vx xx check box when installing ID78KOS QB V2 82 or later The OCD Checker is then installed automatically e Select the MINICUBE Utilities Vx xx check box when installing ID78KOR QB V3 20 or later The OCD Checker is then installed automatically Caution If multiple debuggers are installed MINICUBE Utilities Vx xx MINICUBE OCD Checker in the Latest Version folder is overwritten When an ID78K0 QB or ID78K0S QB earlier than V3 00 is installed the OCD
27. Checker in the NEC Tools32 folder is overwritten Remark The MINICUBE2 diagnostic tool is installed when the OCD Checker is installed lt R gt 2 1 2 Startup Start the OCD Checker using either of the following procedure e When using CubeSuite Click the Start menu of Windows point to Programs NEC Electronics CubeSuite Emulator Utilities lt Target Device gt and then click OCD Checker e When using the ID850QB ID78K0 QB ID78K0S QB ID78KOR QB or QB Programmer Start OCD Checker by using either of the following methods e Click the Start menu of Windows point to Programs NEC Electronics Tools Latest Version and then click MINICUBE Utilities Vx xx OCD Checker e Click the Start menu of Windows point to Programs NEC Tools32 and then click OCD Checker For an ID78K0 QB or ID78K0S QB earlier than V3 00 10 User s Manual U18591EJ2V0UM CHAPTER 2 INSTALLATION AND STARTUP Caution If the debugger QBP or MINICUBE2 diagnostic tool is running terminate it before starting the OCD Checker Remark When an ID78K0 QB or ID78K0S QB earlier than V3 00 a link file for startup is created in the NEC Tools32 and NEC Electronics Utilities folders 2 2 When Tools Manufactured by Partner Companies GHS and IAR are Used 2 2 1 Installation e Download MINICUBE Utilities W NICUBE_Utilities_Vxxx lzh from one of the following websites http www necel com micro ghs
28. Log file Execution time tt mm ss Clock status Target Clock 10 00MHz OK VDD status gt 3 Target Power OFF Hardware MINICUBE 78KOS 2000 x xx xx version Control Board 0001 xx xx Emulator Test End In this NG example the error Target Power OFF is detected Shutdown of the power supplied to the QB 78KOSKX1 DA is detected This is because the check is performed without turning on the power to the QB 78KOSKX1 DA User s Manual U18591EJ2VOUM 47 CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE 8 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in the 78K0S MINICUBE If the same error is displayed even after the relevant action is implemented the cause may be a defect in the 78K0S MINICUBE In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Communication Error There is no response from the QB 78KOSKX1 DA gt Check the connection between the OCD I F board or OCD I F cable and the QB 78KOSKX1 DA and QB 78KOSMINI Target Power OFF The power supply to the QB 78KOSKX1 DA cannot be detected gt Confirm that the power switch on the QB 78K0SKX1 DA is turned on gt Check the connection between the OCD I F board or OCD I F cable and the QB 78KOSKX1
29. M 11 2 3 CHAPTER 2 INSTALLATION AND STARTUP Explanation of Each Area When the OCD Checker is started the following window appears 1 2 3 12 11 3 1 4 2 5 10 OGD Checker Device file folder 6 Mode of the emulator 7 8 Log file C Te mp IEOCDUTL log 9 Emulator mode select area Select from the drop down list the emulator mode for which target connection check is to be performed Target Device Connection area If MINICUBE2 V850 MINICUBE2 78K0S or MINICUBE2 78KOR is selected for the emulator mode specify from the drop down list the device file for the target device and the mode for connection with the target system This menu is unavailable if an item other than MINICUBE2 V850 MINICUBE2 78K0S or MINICUBE2 78K0R is selected e Device Select from the drop down list the target device to be connected If the target device device file is not displayed in the list specify the folder where the device file is saved using the 3 Device file folder button in the above window e Port Select the mode for connection with MINICUBE2 and target system from the drop down list available only when MINICUBE2 V850 or MINICUBE2 78KOR is selected Device file folder button This button is used for searching the folder where the device file is saved to define the device file to be connected when MINICUBE2 V850 MINICUBE2 78K0S
30. Power 4 9V OK Hardware version gt MINICUBE 78K0 4000 x xx xx Emulator Test End In this NG example the clock status 0 0OMHz is detected as an error The clock frequency 0 00 MHz is detected This is because no oscillator is mounted in the CLK1 socket but socket is selected in the clock select area User s Manual U18591EJ2VOUM 41 CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 7 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in 78KO MINICUBE If the same error is displayed even after the relevant action is implemented the cause may be a defect in the 78KO MINICUBE In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Communication error There is no response from the target device Address 0x84 on chip debug emulator use enable flag is set to 0x00 disable use or the self check board and MINICUBE are not connected correctly Confirm the file of the program written to the self check board and connection between the self check board and MINICUBE Target Power OFF The power supply to the self check board cannot be detected Confirm that LED1 on the self check board glows Check the connection between the self check board and MINICUBE Targ
31. can also be checked with the MINICUBE2 diagnostic tool debugger and QBP The latest version of MINICUBE2 firmware can be checked on the following NEC Electronics websites Japanese version http www necel com micro ods pn index html English version http www necel com micro ods eng index html See Version up service gt MINICUBE2_Software 6 3 Error Output The following describes the operation and display example when an NG is displayed as a result of 6 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button 1 reocDuTL Pl 2 The contents displayed in the log view window are saved in the log file Log view window OCD Checker Device file folder C Program Files NEG Electronics Tools DEV Exit Mode of the emulator y Target Device Connection Device uPD78F1166_40 Port TOOLO TOOL1 y Internal ROM Security I ID Code Iran Log file C Temp IEOCDUTL log 08 35 03 Target Power 3 24 OK Target Reset HIGH MINIGUBE2 4100 A 14 01 Program Download NG Emulator Test End User s Manual U18591EJ2VOUM 35 CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER Log file Execution time _5 tt mm ss VDD status OK Target Power 3 2V OK Reset status OK 4 Target Reset HIGH Hardware version
32. chine and MINICUBE2 has failed 1 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 2 Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on Program Download NG An error occurred while writing to the flash memory 1 Check if the items specified in the Target Device Connection area and clock select area satisfy the target device specifications 2 Check the connections between the target device and MINICUBE2 3 Check the power supply to the target system 4 The cause may be the security flag setting so clear the security flag setting via the flash memory programmer 5 The target device may be damaged so exchange the target device 6 Check the MINICUBE2 settings 7 Check the circuit for connecting MINICUBE2 Break Timeout ERROR Execute Break Test1 ERROR Read Access Break Test ERROR Write Access Break Test ERROR Execute Break Test2 The target device may be damaged so exchange the target device Target Power 0 0V NG The power supply to the target system cannot be detected Confirm that the power for the target system is on
33. customer designated quality assurance program for a specific application The recommended applications of an NEC Electronics product depend on its quality grade as indicated below Customers must check the quality grade of each NEC Electronics product before using it in a particular application 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 Special 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 life support systems and medical equipment for life support etc The quality grade of NEC Electronics products is Standard unless otherwise expressly specified in NEC Electronics data sheets or data books etc If customers wish to use NEC Electronics products in applications not intended by NEC Electronics they must contact an NEC Electronics sales representative in advance to determine NEC Electronics willingness to support a given application Note 1 NEC Electronics as used in this statement means NEC Electronics Corporation and also includes its majority owned subsidiaries 2 NEC Electronics pro
34. d accessory using the OCD Checker 7 1 Execution of OCD Check 38 Be sure to terminate the debugger before executing the OCD Checker Perform the connection check according to the following steps 1 to 4 1 Connection Connect the 78K0 MINICUBE to the self check board in accordance with the 78KO MINICUBE user s manual 2 Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select 78K0 MINICUBE e Clock select area Select internal or socket e Internal ROM Security setting area Input the ID code e Log file button Specify the log file name and the location for saving the log file 3 Click the Test button If an error occurs during checking refer to 7 3 Error Output and 7 4 Action for Error OGD Checker Pe Exit 2 Mode of the emulator Target Device Connection 4 SS 78K0 MINICUBE S Device Port 3 Cloc Internal ROM Sec rit C socket Test internal lv ID Code plebiscite C Temp IEOCDUTL log User s Manual U18591EJ2VOUM CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 4 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in the log file If an NG is displayed refer to 7 3 Error Output and 7 4 Action for Error OCD Checker Device file folder Mode of the emulator Target Device Connection 78K0 MINICUBE Device Port a 4
35. ducts means any product developed or manufactured by or for NEC Electronics as defined above M8E 02 11 1 User s Manual U18591EJ2VOUM 3 Target Readers Purpose Organization How to Read This Manual Conventions INTRODUCTION This manual is intended for users who use the MINICUBE OCD Checker when designing and developing a system using an NEC Electronics on chip flash memory microcontroller This manual is intended to give users an understanding of the basic specifications and correct use of the MINICUBE OCD Checker This manual includes the following sections e Overview e Installation and startup e OCD check for MINICUBE2 and 78K0 microcontroller e OCD check for MINICUBE2 and V850 microcontroller e OCD check for MINICUBE2 and 78KOS microcontroller e OCD check for MINICUBE2 and 78KOR microcontroller e OCD check for 78K0 MINICUBE e OCD check for 78K0S MINICUBE e OCD checker version indication e Uninstallation It is assumed that the readers of this manual have general knowledge of electricity logic circuits and microcontrollers In the explanations of the operation of the applications it is also assumed that the readers have sufficient knowledge of Windows For the usage and terminology of Windows 98 Windows Me Windows 2000 and Windows XP refer to each Windows manual The mark lt R gt shows major revised points The revised points can be easily searched by copying an lt R gt in the PDF file
36. e ID code 42 User s Manual U18591EJ2V0UM CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 2 2 Error message and action Log file write error The specified log file cannot be accessed gt Confirm that the folder path and file are write enabled Test Rom Command xxH Error Monitor Command xxH Error Communication between the target device on the self check board and MINICUBE has failed The cause may be a problem in the electrical specifications of the cable or the self check board or the USB driver may not be operating normally Confirm the connection and restart Windows on the host machine Write Memory Read Memory Data verify error The internal RAM cannot be accessed The target device on the self check board may be damaged Exchange the target device _Flash Env Error Flash Get Info Error _Flash Block Blank Check Error _Flash Block Erase Error _Flash Word Write Error Flash Block Verify Error Flash Word Read Error Data Verify Error An error occurred while writing to the flash memory The cause may be the security flag setting so clear the security flag setting via the QBP The target device on the self check board may be damaged so exchange the target device Break Timeout ERROR SP Break Test ERROR Execute Break Test1 ERROR SFR Access Break Test ERROR Read Access Break Test1 ERROR Read Access Break Test2 ERROR Write Access Break Test1 ERROR Write Access Break Test2 ERROR St
37. e not marked as such O Documents Related to Development Tools User s Manuals Document Name Document Number MINICUBE OCD Checker This manual QB MINI2 On Chip Debug Emulator with Programming Function U18371E QB 78KOMINI On Chip Debug Emulator U17029E ID78KO QB Ver 2 90 Integrated Debugger Operation U17437E QB 78K0SKX1MINI In Circuit Emulator U17272E ID78KOS QB Ver 2 90 Integrated Debugger Operation U18247E ID78KOR QB Ver 3 20 Integrated Debugger Operation U17839E ID850QB Ver 3 20 Integrated Debugger Operation U17435E QB Programmer Programming GUI Operation U18527E MINICUBE2 Diagnostic Tool U18588E Caution The related documents listed above are subject to change without notice Be sure to use the latest version of each document for designing etc User s Manual U18591EJ2VOUM 5 CONTENTS CHAPTER 1 OVERVIEW 2 000 dt EE 8 1 1 MINICUBE OCD Checker iooocooccosioncocacicontntnaninancanicn n cantadas deed Ed ee deeg See degeEge 8 1 2 Target Emulators and Items to Be Checked cccccsseseeceeeeeeeeeeseenseeeseeeeeeeseenseeeseaneeseseeeneeeeeeaes 8 1 3 Notes Before Using OCD Checkebl cccccesseseseseeeeeseseeeeeeeeeeeeseseseeeseseeeeesesesneesesessnaesesesenseseenees 9 CHAPTER 2 INSTALLATION AND STARTUP coccococonconcccccnccnnnnononcnnncncnnnnnnnnonncnnenernnnnnnn nn cn nn nr rn ne nnmnnn nne 10 2 1 When NEC Electronics Tool IS Used ocoonnnnnconiccconccnnnnnncancnncnncnnnnnn
38. ed from the drop down list If the target device name is not displayed specify the device file saving destination folder using the Device file folder button Port Select the mode for connection with target system from the drop down list e Clock select area Input the original main clock frequency in the Main OSC MHz text box e Internal ROM Security setting area Input the ID code e Log file button Specify the log file name and the location for saving the log file User s Manual U18591EJ2V0UM CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER 4 Click the Test button If an error occurs during checking refer to 4 3 Error Output and 4 4 Action for Error 7 OGD Checker 4 Device file folder y Y r Mode of the emulator Target Depice Connection Device ful Port CSIBO Internal ROM Security IV ID Code e C Temp IEOCDUTL log 5 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in the log file If an NG is displayed refer to 4 3 Error Output and 4 4 Action for Error Click the OK button OGD Checker Device file folder C Program Files NEG Electronics Tools DEW Exit Mode of the emulator Target Device Connection MINICUBE2 W850 Device uPD70F3732 v Port CSIB0 y 5 Clock Internal ROM Security E isok Test E cinternal Sem Main OSC MHo wocpunt NI 09 49
39. ep Break Test ERROR Execute Break Test2 The target device on the self check board may be damaged so exchange the target device User s Manual U18591EJ2VOUM 43 CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE This section describes the method to perform a simple test based on checking the connection between the QB 78KOSMINI and QB 78KOSKX1 DA of the 78KOS MINICUBE using the OCD Checker 8 1 Execution of OCD Check Be sure to terminate the debugger before executing the OCD Checker 1 Connection and power application Connect the 78K0S MINICUBE with QB 78KOSMINI and QB 78KOSKX1 DA connected or 78K0S MINICUBE to the target system in accordance with QB 78K0SKX1MINI User s Manual U17272E 2 Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select 78K0S MINICUBE e Clock select area Select internal or socket e Log file button Specify the log file name and the location for saving the log file 3 Click the Test button If an error occurs during checking refer to 8 3 Error Output and 8 4 Action for Error OGD Checker Mode of the emulator 78 KOS MINIGUBE Clock e socket C internal C Temp IEOCDUTL log 44 User s Manual U18591EJ2VOUM CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE 4 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in t
40. et Clock 0 00MHz NG The clock mounted in the CLK1 socket may not be operating gt Confirm the clock oscillation or remove the clock mounted in the CLK1 socket and use the internal clock Select Socket Clock The clock mounted in the CLK1 socket is not selected gt Select socket for the clock setting or remove the clock mounted in the CLK1 socket and select internal Driver open error 1 There is no response from the 78K0 MINICUBE gt Check the connections between the host machine and the USB cable and the USB cable and the 78K0 MINICUBE gt Turn all the power supplies off according to the procedures described in the user s manual The 78K0 MINICUBE is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started gt The debugger and the OCD Checker cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally gt Confirm the cable connection and the USB driver setup Re install the USB driver as necessary 4 The debugger may not be installed normally gt Re install the debugger Incorrect ID code The input ID code is incorrect gt Confirm the ID code written to the target device and re input th
41. even after the relevant action is implemented the cause may be a defect in MINICUBE2 In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Driver open error 1 There is no response from MINICUBE2 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started The debugger and the OCD Checker cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally Confirm the cable connection and the USB driver setup Re install the USB driver as necessary 4 The debugger may not be installed normally Re install the debugger Log file write error The specified log file cannot be accessed Confirm that the folder path and file are write enabled Monitor Command xxH Error Communication between the target device and MINICUBE2 has failed The cause may be a problem in the electrical specifications of the cable or the target system or the USB driver may
42. f the selected clock ON POC OFF Power supply to the QB 78KOSKX1 DA and target system are on Power supply to the QB 78KOSKX1 DA is on and power supply to the target system is off Power supply to the QB 78KOSKX1 DA is off NG RESET pin status HIGH Reset signal input from the target system is HIGH LOW Reset signal input from the target system is LOW Version of each hardware The version of the 78K0S MINICUBE can be checked on the following NEC Electronics websites For the latest version consult an NEC Electronics sales representative or distributor Japanese version http www necel com micro ods jpn index html English version http www necel com micro ods eng index html See Version up service gt MINICUBE2_ Software User s Manual U18591EJ2V0UM CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE 8 3 Error Output The following describes the operation and display example when an NG is displayed as a result of 8 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button wocDuTL fX 1 2 The contents displayed in the log view window are saved in the log file Log view window 7 OGD Checker Mode of the emulator Target Device Connection 78KOS MINICUBE Device Port r Clock hternal ROM Security socket C intemal 4 Log file C Temp IEOCDUTL log 0001 01 00 Emulator Test End
43. he log file If an NG is displayed 8 3 Error Output and 8 4 Action for Error Click the OK button OGD Checker Mode of the emulator Target Device Connection 78K0S MINIGUBE wi Device Port l Clock _hternal ROM Security Ze socket C internal Main CC 0001 01 00 0100 00 03 01 01 5 Click the Exit button 5 OCD Checker Exit Mode of the emulator Target Device Connection NET Device Port IL T Clock Internal ROM Security socket C internal 7 ID Code bus Main OSC MH2 Log file C Temp IEOCDUTL ke mulator Test End User s Manual U18591EJ2VOUM 4 45 8 2 46 CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE Format of Log File The following shows an example of the log file when the check results show OK statuses e Execution time e Clock status e Vop status e Reset status e Hardware version Remark Execution time tt mm ss Clock status Target Clock 10 00MHz OK VDD status gt Target Power POC Reset status gt Target Reset HIGH Hardware version Check result ALL OK OCD Control Code Vx xx MINICUBE 78KOS 2000 x xx xx Control Board 0001 xx xx UO Board 0100 00 03 xx xx Emulator Test End The time when checking was started by clicking the Test button Frequency o
44. heir result are output to the log file Log view window Displays the check result The contents displayed in this area are also output to the log file that is specified using the 6 Log file button Clear button Clears the log view window The contents output to the log file are not cleared 10 Exit button Terminates the OCD Checker 11 System menu Version can be checked by clicking About OCD Checker on the System menu Remark Settings for the OCD Checker are maintained when the OCD Checker is started the next time except for the setting in the Internal ROM Security setting area User s Manual U18591EJ2VOUM 13 CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER This section describes the method to check the connection between MINICUBE2 and the target system which uses a 78KO microcontroller as the target device using the OCD Checker 3 1 Execution of OCD Check Be sure to terminate the debugger QBP and MINICUBE2 diagnostic tool before executing the OCD Checker Perform the connection check according to the following steps 1 to 6 1 MINICUBE2 setup e Power select switch Set the switch corresponding to the target system e Mode select switch Set to M2 e 78K0 OCD board Connect the board in accordance with MINICUBE2 User s Manual U18371E e Target cable Connect the cable having a pin count corresponding to the target system 16 pin or 10 pin 2 Connection and power app
45. ing from the use of NEC Electronics products listed in this document or any other liability arising from the use of such products No license express implied or otherwise is granted under any patents copyrights or other intellectual property rights of NEC Electronics or others e Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of a customer s equipment shall be done under the full responsibility of the customer NEC Electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information e While NEC Electronics endeavors to enhance the quality reliability and safety of NEC Electronics products customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features e NEC Electronics products are classified into the following three quality grades Standard Special and Specific The Specific quality grade applies only to NEC Electronics products developed based on a
46. le Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 2 The debugger has been started The debugger and the OCD Checker cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally Confirm the cable connection and the USB driver setup Re install the USB driver as necessary 4 The debugger may not be installed normally Re install the debugger Incorrect ID code The input ID code is incorrect Confirm the ID code written to the target device and re input the ID code Log file write error The specified log file cannot be accessed Confirm that the folder path and file are write enabled 24 User s Manual U18591EJ2VOUM CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER 2 2 Error message and action Cannot find monitor file Check if an unsupported device or unsupported port is selected Monitor Command xxH Error Communication between the target device and MINICUBE2 has failed The cause may be a problem in the electrical specifications of the cable or the target system or the USB driver may not be operating normally Confirm the connection and restart Windows on the host machine Emulator Command xxH Error Communication between the host ma
47. lication Connect MINICUBE2 to the target system in accordance with MINICUBE2 User s Manual U18371E and the turn on power to the target system 3 Setting the OCD Checker Refer to 2 3 Explanation of Each Area e Emulator mode select area Select MINICUBE2 78K0 e Clock select area Select internal or socket e Internal ROM Security setting area Input the ID code e Log file button Specify the log file name and the location for saving the log file 4 Click the Test button If an error occurs during checking refer to 3 3 Error Output and 3 4 Action for Error 4 7 OGD Checker Mode of the emulato MINICUBE2 78K0 socket C internal 17 ID Code perrea C Temp IEOCDUTL ke 14 User s Manual U18591EJ2VOUM CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 5 When all of the tests are complete the result dialog box is displayed as shown below The contents displayed in the log view window are saved in the log file If an NG is displayed refer to 3 3 Error Output and 3 4 Action for Error Click the OK button OCD Checker Device file folder Mode of the emulator Target Device Connection MINIGUBE2 78K0 a Device gt Port Clock Internal ROM Security socket internal 5 arget Glock 20 00MHz OK Target Power BIV OK Target Reset HIGH OCD Control Code W2 00 MINIGUBE2 4100 A V4 01 Program Download OK Run Test OK
48. mulator Test End User s Manual U18591EJ2VOUM 23 CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER Log file Execution time A tt mm ss VDD status OK ___ _ Target Power 3 2V Reset status OK 4 Target Reset HIGH Hardware version y MINICUBE2 4100 x xx xx Error indication gt Program Download NG Emulator Test End In this NG example the error Program Download is detected An error during flash memory programming is detected The cause is an error in pin connection on the board for connecting MINICUBE2 on the target system pin 5 SO is shorted with GND 4 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in MINICUBE2 If the same error is displayed even after the relevant action is implemented the cause may be a defect in MINICUBE2 In such a case consult an NEC Electronics sales representative or distributor 1 2 Error message and action Driver open error 1 There is no response from MINICUBE2 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 gt Turn all the power supplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cab
49. n and display example when an NG is displayed as a result of 5 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button 1 reocDuTL Pl 2 The contents displayed in the log view window are saved in the log file Log view window OGD Checker Device file folder D NECTools32 DEV Exit Mode of the emulator Target Device Connection MINIGUBE2 8K0S Device juPD78F9234 ei Port Internal ROM Security Program Download NG Emulator Test End User s Manual U18591EJ2VOUM 29 CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER Log file Execution time y tt mm ss Reset status OK gt Target Reset HIGH Hardware version 3 MINICUBE2 4100 x xx xx Error indication gt Program Download NG Emulator Test End In this NG example the error Program Download is detected An error during flash memory programming is detected The cause is an error in pin connection on the board for connecting MINICUBE2 on the target system pin 5 SO is shorted with GND 5 4 Action for Error The errors that may occur during self testing such as setting error and relevant actions for coping with the errors are listed below If an error other than below is displayed the cause may be a defect in MINICUBE2 If the same error is displayed
50. nannnnnnnnnn rmac cnn nn cnn rra 10 ZA Ee EE 10 QZ SUA 22222 50 to See eee aA ee A er rd ie si See eh ae A ee a ee eed Sd al 10 2 2 When Tools Manufactured by Partner Companies GHS and IAR are Used seess 11 2 24 UE 11 2 22 Slant e ene ea nee eee eo Meee he ea ei a 11 2 3 Explanation of Each Ate a cio a 12 CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER essseseeeeeeeeeeees 14 3 1 Execution of OCD Check an apa 14 3 2 Format of LOG File ee zi20 cede cccs ccc caccececsectcneedisctuccesattces Cacttuncdestinseessltvessdatbccecs lt tuuscessactuecesesdverettaes cast 16 33 ETTOFOU PUt lt A a rene ction 17 3 4 Action TOR Ertl EE 18 CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER eseesseeeeeeeeeees 20 4 1 Execution of OCD i Checks cccics iein cnoiar e datar 20 4 2 Format of Log File ou is 22 AS Error DU E E E E T 23 4 4 ACUON TOR A CT 24 CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER 2 2 eeeeeeeeeees 26 5 1 Execution of OCD Chek icc eege sec ccecccde ntsc e aAa a a re icine cies Eesen 26 3 2 FOrmatof A 28 oE ETFORQU PUL EE 29 54 Action TOR ET ee EE EE 30 CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER o cocccccccccncconionccnncnnnns 32 6 1 Execution of OCD C NECK a e SEENEN 32 6 2 Format of Log Fiesse aaa aA seed 34 LG SN ee alt i E a A A A waneetiecewessentezens 35 6 4 Action for EOT a ii 36 CHAPTER 7 OCD CHECK FOR
51. nloading to flash memory in the target device Run Test Result of executing and stopping the program 16 Flash Erase Erasure result of flash memory in the target device Remark The version of MINICUBE2 can also be checked with the MINICUBE2 diagnostic tool debugger and QBP The latest version of MINICUBE2 firmware can be checked on the following NEC Electronics websites Japanese version http www necel com micro ods j pn index html English version http www necel com micro ods eng index html See Version up service gt MINICUBE2_ Software User s Manual U18591EJ2VOUM CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 3 3 Error Output The following describes the operation and display example when an NG is displayed as a result of 3 1 Execution of OCD Check The message just indicates NG but there are various causes 1 The result is displayed in the dialog box Click the OK button IEOCDUTL 1 2 The contents displayed in the log view window are saved in the log file Log view window 7 OCD Checker Mode of the emulator y Target Device Connection MINICUBE2 78K0 Device Port Glock Internal ROM Security socket C internal L ID Code PERRE Log file C tmp MQB2UTL log 17 08 19 Target Clock 20 00MH2 OK Monitor Command 3FH Error Communication Error MINIGUBE2 4100 4 14 01 Emulator Test End Log file Execution time y tt mm ss Clock
52. pplies off according to the procedures described in the user s manual MINICUBE2 is turned off by disconnecting the USB cable Turn all the power supplies on and then click the Test button If an error message is displayed even after taking these measures restart Windows on the host machine before turning all the power supplies on 3 Check if the target device name matches the name specified in the Device drop down list in the Target Device Connection area Program Download NG An error occurred while writing to the flash memory 1 Check if the items specified in the Target Device Connection area and clock select area satisfy the target device specifications 2 Check the connections between the target device and MINICUBE2 3 Check the power supply to the target system 4 The cause may be the security flag setting so clear the security flag setting via the flash memory programmer 5 The target device may be damaged so exchange the target device 6 Check the MINICUBEZ2 settings 7 Check the circuit for connecting MINICUBE2 Break Timeout ERROR Execute Break Test1 The target device may be damaged so exchange the target device Use the firmware version Vx xx or later Update MINICUBE2 firmware to Vx xx or later User s Manual U18591EJ2VOUM 37 CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE This section describes the method to check the connection between the 78KO MINICUBE and self check boar
53. r cannot be started simultaneously so terminate the debugger 3 The USB driver may not be operating normally Confirm the cable connection and the USB driver setup Re install the USB driver as necessary 4 The debugger may not be installed normally Re install the debugger Target Power 0 0V NG The power supply to the target system cannot be detected Confirm that the power for the target system is on Check the connection between the target system and MINICUBE2 Incorrect ID code The input ID code is incorrect Confirm the ID code written to the target device and re input the ID code 36 User s Manual U18591EJ2VOUM CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER 2 2 Error message and action Log file write error The specified log file cannot be accessed gt Confirm that the folder path and file are write enabled Monitor Command xxH Error Communication between the target device and MINICUBE2 has failed gt The cause may be a problem in the electrical specifications of the cable or the target system or the USB driver may not be operating normally Confirm the connection and restart Windows on the host machine Emulator Command xxH Error Communication between the host machine and MINICUBE2 has failed 1 Check the connections between the host machine and the USB cable and the USB cable and the MINICUBE2 2 Turn all the power su
54. vice file folder C Program Files NEC Electronics Tools DEV Exit Mode of the emulator Target Device Connection MINICUBE 78K0R Device uPD 8F1166_40 y Port TOOLO TOOL1 y Internal ROM Security t GG ID Code Ir Log file C Te mp IEOCDUTL log LOK Emulator Test End 6 2 Format of Log File The following shows an example of the log file when the check results show OK statuses Execution time gt tt mm ss VDD status _5 Target Power 3 2V OK Reset status _5 Target Reset HIGH Hardware version y MINICUBE2 4100 x xx xx Program Download OK Check result Run Test OK Flash Erase OK ALL OK Emulator Test End e Execution time The time when checking was started by clicking the Test button e Voo status Vop value that is applied to the target device e Reset status RESET pin status HIGH Reset signal input from the target system is HIGH LOW Reset signal input from the target system is LOW e Hardware version Version of each hardware e Check result Program Download ID verification result of downloading to flash memory in the target device Run Test Result of executing and stopping the program Flash Erase Erasure result of flash memory in the target device 34 User s Manual U18591EJ2VOUM CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78KOR MICROCONTROLLER Remark The version of MINICUBE2
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - パナソニック GTS HMC55-LI(1.5X) rechargeable battery PROGRAMMABLE TRANSDUCER OF D.C. VOLTAGE UBC5/3 - SGBRAS Engenharia Bénéficiaires Development of an Autonomous Wheelchair Sharkoon Twin Drive 旧製品ドライブシールドSSライセンス追加購入の対応変更のお知らせ Acer Predator G3620 Copyright © All rights reserved.
Failed to retrieve file