Renesas RTA-FoUSB-MON User Manual
Renesas RTA-FoUSB-MON User Manual

Renesas RTA-FoUSB-MON User Manual

Flash programmer/in-circuit debugger
Hide thumbs Also See for RTA-FoUSB-MON:

Advertisement

Quick Links

Powerful Processors – Easy to Use™
w w w.renesas.com
A pplica t io n s E n g in e e r in g
RTA-FoUSB-MON
Flash Programmer/In-Circuit Debugger
User's M anual
Rev. 1.8
August 2003

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTA-FoUSB-MON and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas RTA-FoUSB-MON

  • Page 1 A pplica t io n s E n g in e e r in g Powerful Processors – Easy to Use™ RTA-FoUSB-MON Flash Programmer/In-Circuit Debugger User's M anual Rev. 1.8 August 2003 w w w.renesas.com...
  • Page 2: Table Of Contents

    Appendix A. ICD Specifications.………….………………………………………………20 Appendix B. Technical Notes & Limitations ...…………………………………………21 Appendix C. Troubleshooting …………………………………………………………….22 Appendix D. Reference Manuals..………………………………………………………..27 Appendix E. Connecting to Legacy RS-232C Port ……………………………………28 Appendix F. USB Board Schematics ……………………………………………………29 RTA-FOUSB-MON User’s Manual Rev 1.8 1 / 29 August 2003...
  • Page 3: Kit Overview

    Yellow – ICD Status Red – Power 1. Kit Overview The RTA-FoUSB-MON (ICD) is a low cost compact device that can function as an in-circuit debugger (ICD) tool or as an FoUSB (Flash-over-USB ) Programmer for Renesas M16C Flash microcontrollers (MCU).
  • Page 4: Software Installation

    2.1 Insert the enclosed CD ROM in PC’s CD Rom drive. 2.2 The CD will auto start and the Renesas Starter Kit Plus welcome screen is displayed. If the screen does not come up, browse the root folder of the CD using Windows Explorer and double-click on ‘SKP_Installer.exe’.
  • Page 5: Driver Installation

    Fig. 3.1 PC Detected the ICD The newly attached device, Renesas USB ICD, has been discovered by the operating system. Drivers need to be loaded so Windows applications can use the device. The dialog box similar to the one shown in Fig.
  • Page 6 Click on the ‘Hardware’ tab and then click on ‘Device Manager’ button. Open the ‘Universal Serial Bus Controllers’ list and see that the ICD was loaded into the hardware table. Fig. 3.3 ICD Driver Loaded in PC Memory RTA-FOUSB-MON User’s Manual Rev 1.8 5 / 29 August 2003...
  • Page 7: Running Kd30 Debugger

    Fig. 4.1 KD30 Debugger Initialization Screen Select ‘USB’ option and click on ‘OK’ button. The KD30 screen should appear. Please see the KD30 Help on how to use the debugger (Start > Programs > Renesas-Tools > KD30 V.3.20 Release 1B >KD30 Help).
  • Page 8: Running Fousb Programmer

    Renesas’ M16C Flash MCU’s. This application can be used along with the ICD to program the M16C MCU on a target board. To open the application, click on Start > Programs > Renesas-Tools > Flash- over-USB Ver. 1.x > FoUSB Programmer and a screen similar to Fig. 5.1 will be displayed. Please ensure that you close KD30 first before running FoUSB Programmer.
  • Page 9 Program allows you to program or erase, program, and verify the target MCU. The Unlock function used to “unlock” Renesas MCU’s for memory access. Renesas M16C MCU’s are equipped with a security feature, a 7-byte ID, to prevent firmware program disassembly. The user must enter the security ID information to be able to access Flash memory access.
  • Page 10 MCU the ICD is connected to. Different MCU devices use different image files (similar functionality to MCU files of the emulator). c. Serial Boot Code: displays the version of boot code of the target MCU. RTA-FOUSB-MON User’s Manual Rev 1.8 9 / 29 August 2003...
  • Page 11: Target Hardware Connectivity For In-System Programming

    (RXD) pin. This pin may be used for other applications as long as the user ensures that the ICD can drive the pin to valid levels with 5mA current. RTA-FOUSB-MON User’s Manual Rev 1.8 10 / 29 August 2003...
  • Page 12 UART/SIO transmit data output (TXD) pin. This pin may be used for other applications as long as the user ensures that the ICD can drive the pin to valid levels with 5mA current. RTA-FOUSB-MON User’s Manual Rev 1.8 11 / 29 August 2003...
  • Page 13 Examples of target board hardware connection to the 10-pin header (ICD), when used for in-system programming only, are shown below. If you cannot find your M16C Flash MCU in the examples shown, please contact Renesas representative for assistance. 10-Pin 10-Pin...
  • Page 14 UART, CE, & EPM circuit and M16C MCU - 10- pin header connection. NOTE: If you cannot find your M16C Flash MCU in the examples shown, please contact Renesas representative for assistance. RTA-FOUSB-MON User’s Manual Rev 1.8...
  • Page 15: Target Hardware Connectivity For In-Circuit Debugging

    This is the ICD SIO transmit data output. This must be connected to the target MCU’s boot UART/SIO receive data input (RXD) pin. This pin cannot be used while the Kernel program is running (during in-circuit debug operations). RTA-FOUSB-MON User’s Manual Rev 1.8 14 / 29 August 2003...
  • Page 16 ICD before running the user program. Without the pull-down resistor, the target MCU will only run the Kernel program program. This pin cannot be used while the Kernel program is running (during in-circuit debug operations). RTA-FOUSB-MON User’s Manual Rev 1.8 15 / 29 August 2003...
  • Page 17 UART1 M306V7FG Both UART0 Examples of target hardware connection to the 10-pin header (ICD) when used for debugging purposes. If you cannot find your M16C Flash MCU in the examples shown, please contact Renesas representative for assistance. 10-Pin 10-Pin Header...
  • Page 18 ** CE and EPM pin are high impedance in user mode (during debug operations). *** HOLD/EPM pin must be pulled high in memory expansion mode. NOTE: If you cannot find your M16C Flash MCU in the examples shown, please contact Renesas representative for assistance. RTA-FOUSB-MON User’s Manual Rev 1.8...
  • Page 19: Target Mcu Resources Used By The Icd For In-Circuit Debugging

    Communications between ICD and the kernel program will fail when the global interrupt is not set or disabled for long periods (>1s). This is the primary cause of communication errors while using the KD30 Debugger. RTA-FOUSB-MON User’s Manual Rev 1.8 18 / 29 August 2003...
  • Page 20 MCU’s that do NOT support/have DBC interrupt. • Do NOT attempt to debug watchdog, WAIT mode, or STOP mode. • Do NOT execute a ‘STEP’ operation after a write to PRC2 SFR. RTA-FOUSB-MON User’s Manual Rev 1.8 19 / 29 August 2003...
  • Page 21: Appendix A. Icd Specifications

    The following table lists the specifications for the ICD Board. Table A.1 ICD Specification Item Description USB MCU Renesas M37641F8HP (8-bit USB Flash MCU) PC host and target connectivity. Interface a. USB (J1) Full speed USB connection and USB 2.0 compliant. Primary connection to debug PC.
  • Page 22: Appendix B. Technical Notes & Limitations

    JP9’s (UART1) RXD line to be able to run user code. The monitor program polls the RXD line for the presence of the ICD before running the user program. Without the pull-down resistor, the M16C/62 MCU will only run the monitor program. RTA-FOUSB-MON User’s Manual Rev 1.8 21 / 29 August 2003...
  • Page 23: Appendix C. Troubleshooting

    KD30 or FoUSB Programmer applications. This section also discusses the countermeasures and solutions to resolve these problems. If, for any reason, you cannot resolve the problem, please contact your Renesas representative for assistance. C.1 Installing Required Files Manually Before connecting the ICD to your PC, the driver files (inf and sys) files and executables must be copied to the C:\MTOOL\FOUSB directory.
  • Page 24 For cases where the ‘Device Status’ states the device is not working properly, please try the following: 1. Double-click on ‘Renesas USB ICD’ and a Renesas USB ICD Properties dialog box appears. 2. Click on ‘Driver’ tab and click on ‘Update Driver’ button.
  • Page 25 (3) There is insufficient bus power to run the ICD and target board. Bus power can supply up to 100mA to both ICD and SKP boards. Renesas SKP boards were designed so that the combination of ICD and SKP board will be under 100mA limit. If your target board is a non-Renesas SKP board, change S1 to TRGTPWRD and connect an external power supply to your target board.
  • Page 26 (4) The target MCU is damaged. Try a different target board and see if a target connection can be established. You may have a damaged MCU on your target board. RTA-FOUSB-MON User’s Manual Rev 1.8 25 / 29 August 2003...
  • Page 27 (1) Unplug the USB cable and disconnect the target board from the ICD. (2) Open the ICD. Renesas recommend that you open from the USB connector side. (3) Shunt JP1 with a 2.54mm (.100 mil) jumper and shunt or a bent paper clip. This will then configure the ICD to run in boot mode when it is powered up.
  • Page 28: Appendix D. Reference Manuals

    NOTE: The RTA-FOUSB-MON installer will copy all these manuals and can be accessed using the Document List web page by clicking on the Start > Programs > Renesas-Tools > RTA-FOUSB-MON > Document List shortcut. RTA-FOUSB-MON User’s Manual Rev 1.8...
  • Page 29: Appendix E. Connecting To Legacy Rs-232C Port

    Appendix E. Connecting to Legacy RS-232C Serial Port This section shows how to connect the ICD to a computer’s RS-232C ports using Renesas’ MSV-RS232 cable. This connection will only allow you to use the ICD as a debugger but not a programmer.
  • Page 30: Appendix F. Usb Board Schematics

    Applications Engineering Appendix F. USB Monitor Schematics RTA-FOUSB-MON User’s Manual Rev 1.8 29 / 29 August 2003...

Table of Contents