Evaluation kit for ra2l1 microcontroller group (37 pages)
Summary of Contents for Renesas MINICUBE QB-MINI2
Page 1
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.
Page 2
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”...
Page 3
User’s Manual ® MINICUBE OCD Checker MINICUBE Utility Target Devlopment Tool QB-MINI2 QB-78K0MINI QB-78K0SKX1MINI Document No. U18591EJ2V0UM00 (2nd edition) Date Published October 2008 NS 2007 Printed in Japan...
Page 5
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. •...
Page 6
INTRODUCTION Target Readers 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. Purpose This manual is intended to give users an understanding of the basic specifications and correct use of the MINICUBE OCD Checker.
Page 7
Terminology The meanings of the terms used in this manual are as follows. Term Meaning Emulator General name that means MINICUBE2, 78K0 MINICUBE and 78K0S MINICUBE+ MINICUBE2 Indicates QB-MINI2, an on-chip debug emulator with programming function. 78K0 MINICUBE Indicates 78K0 on-chip debug emulator QB-78K0MINI. 78K0S MINICUBE+ Indicates 78K0S/Kx1+ in-circuit emulator QB-78K0SKX1MINI.
CONTENTS CHAPTER 1 OVERVIEW..........................8 MINICUBE OCD Checker ......................8 Target Emulators and Items to Be Checked................8 Notes Before Using OCD Checker....................9 CHAPTER 2 INSTALLATION AND STARTUP..................10 When NEC Electronics Tool Is Used ..................10 2.1.1 Installation............................10 2.1.2 Startup ............................
Page 9
CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE+ ................44 Execution of OCD Check......................44 Format of Log File........................46 Error Output..........................47 Action for Error .......................... 48 CHAPTER 9 OCD CHECKER VERSION INDICATION................50 CHAPTER 10 UNINSTALLATION ......................51 APPENDIX A REVISION HISTORY ......................52 Major Revisions in This Edition....................
CHAPTER 1 OVERVIEW 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 OCD Checker checks if the communication circuits the communication circuits...
CHAPTER 1 OVERVIEW 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.
CHAPTER 2 INSTALLATION AND STARTUP This section explains how to install and start the OCD Checker. When NEC Electronics Tool Is Used 2.1.1 Installation • Select the “Emulator Utilities” check box when installing CubeSuite V1.00 or later. The MINICUBE OCD <R>...
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.
CHAPTER 2 INSTALLATION AND STARTUP Explanation of Each Area When the OCD Checker is started, the following window appears. (11) (10) (1) Emulator mode select area Select from the drop-down list the emulator mode for which target connection check is to be performed. (2) Target Device Connection area If “MINICUBE2 V850”, “MINICUBE2 78K0S”...
Page 15
CHAPTER 2 INSTALLATION AND STARTUP (4) Clock select area Select with the radio button the clock supplied to the emulator. • internal: When a clock mounted in the emulator is used. • 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.
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 78K0 microcontroller as the target device, using the OCD Checker. Execution of OCD Check Be sure to terminate the debugger, QBP and MINICUBE2 diagnostic tool before executing the OCD Checker.
Page 17
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.
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 Execution time tt:mm:ss tt:mm:ss Clock status Clock status Target Clock: 20.00MHz [OK] Target Clock: 20.00MHz [OK] status status...
CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 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.
CHAPTER 3 OCD CHECK FOR MINICUBE2 AND 78K0 MICROCONTROLLER 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.
Page 21
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.
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. Execution of OCD Check Be sure to terminate the debugger, QBP and MINICUBE2 diagnostic tool before executing the OCD Checker.
Page 23
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. (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.
CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER (6) Click the [Exit] button. Format of Log File The following shows an example of the log file when the check results show “OK” statuses. Execution time Execution time tt:mm:ss tt:mm:ss status status Target Power: 3.2V...
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:...
CHAPTER 4 OCD CHECK FOR MINICUBE2 AND V850 MICROCONTROLLER [Log file] Execution time Execution time tt:mm:ss tt:mm:ss status = OK status = OK Target Power: 3.2V Target Power: 3.2V Reset status = OK Reset status = OK Target Reset: HIGH Target Reset: HIGH Hardware version Hardware version...
Page 27
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. →...
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. Execution of OCD Check Be sure to terminate the debugger, QBP and MINICUBE2 diagnostic tool before executing the OCD Checker.
Page 29
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. (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.
CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER (6) Click the [Exit] button. Format of Log File The following shows an example of the log file when the check results show “OK” statuses. Execution time Execution time tt:mm:ss tt:mm:ss Reset status Reset status Target Reset: HIGH...
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.
CHAPTER 5 OCD CHECK FOR MINICUBE2 AND 78K0S MICROCONTROLLER [Log file] Execution time Execution time tt:mm:ss tt:mm:ss Reset status = OK Reset status = OK Target Reset: HIGH Target Reset: HIGH Hardware version Hardware version MINICUBE2 4100 x xx.xx MINICUBE2 4100 x xx.xx Error indication Error indication Program Download:NG...
Page 33
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.
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER This section describes the method to check the connection between MINICUBE2 and the target system, which uses a 78K0R microcontroller as the target device, using the OCD Checker. Execution of OCD Check Be sure to terminate the debugger, QBP and MINICUBE2 diagnostic tool before executing the OCD Checker.
Page 35
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER (4) Click the [Test] button. If an error occurs during checking, refer to 6.3 Error Output and 6.4 Action for Error. (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.
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER (6) Click the [Exit] button. Format of Log File The following shows an example of the log file when the check results show “OK” statuses. Execution time Execution time tt:mm:ss tt:mm:ss status status Target Power: 3.2V [OK]...
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R 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:...
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER [Log file] Execution time Execution time tt:mm:ss tt:mm:ss tt:mm:ss tt:mm:ss status = OK status = OK Target Power: 3.2V [OK] Target Power: 3.2V [OK] Reset status = OK Reset status = OK Target Reset: HIGH Target Reset: HIGH Hardware version...
Page 39
CHAPTER 6 OCD CHECK FOR MINICUBE2 AND 78K0R MICROCONTROLLER (2/2) Error message and action 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. →...
CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE This section describes the method to check the connection between the 78K0 MINICUBE and self-check board (accessory), using the OCD Checker. Execution of OCD Check Be sure to terminate the debugger before executing the OCD Checker. Perform the connection check according to the following steps (1) to (4).
Page 41
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.
CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE Format of Log File The following shows an example of the log file. Execution time Execution time tt:mm:ss tt:mm:ss Clock status Clock status Target Clock: 5.00MHz [OK] Target Clock: 5.00MHz [OK] status status Target Power: 4.8V [OK] Target Power: 4.8V [OK] Reset status...
CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 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.
Page 44
CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE 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 78K0 MINICUBE. If the same error is displayed even after the relevant action is implemented, the cause may be a defect in the 78K0 MINICUBE.
CHAPTER 7 OCD CHECK FOR 78K0 MINICUBE (2/2) Error message and action Log file write error 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 target device on the self-check board and MINICUBE has failed.
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- 78K0SMINI and QB-78K0SKX1-DA of the 78K0S MINICUBE+, using the OCD Checker. Execution of OCD Check Be sure to terminate the debugger before executing the OCD Checker.
Page 47
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 the log file. If an NG is displayed, 8.3 Error Output and 8.4 Action for Error.
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. Execution time Execution time tt:mm:ss tt:mm:ss Clock status Clock status Target Clock: 10.00MHz [OK] Target Clock: 10.00MHz [OK] status status...
CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE+ 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.
CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE+ 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+.
Page 51
CHAPTER 8 OCD CHECK FOR 78K0S MINICUBE+ (2/2) Error message 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-78K0SMINI has failed.
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. Click “About OCD Checker…” on the system menu; the version information window then appears. User’s Manual U18591EJ2V0UM...
CHAPTER 10 UNINSTALLATION This section explains how to uninstall the OCD Checker. Note the following points when uninstalling the OCD Checker. • The MINICUBE2 diagnostic tool is uninstalled at the same time. • The log files are not deleted by uninstalling the OCD Checker. Perform uninstallation according to the following steps (1) to (5).
<R> APPENDIX A REVISION HISTORY Major Revisions in This Edition Page Description 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 User’s Manual U18591EJ2V0UM...