) Programmer for Renesas M16C Flash microcontrollers (MCU). KD30 and KD3083 are the software applications for debugging M16C and M32C firmware and FoUSB Programmer is the software application for programming the Renesas M16C Flash MCU’s. Here are some of the ICD highlights: •...
2.1 Insert the enclosed “RTA-FoUSB-MON” CD ROM in the PC’s CD Rom drive. 2.2 The CD should 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
Applications Engineering Windows will then begin installing the USB driver. Another screen may appear stating that this driver has not been XP certified by Microsoft because we did not participate in Microsoft XP driver certification. Click the “Continue Anyway” button. Your driver is now installed.
Before running the debugger, connect the target board to the ICD using the 10-pin flat ribbon cable. Connect the ICD to your PC using the supplied USB cable. If you are using a Renesas SKP starter kit (e.g.: SKP16C62P) the ICD should be set to Bus Powered (S1 set to USB) mode. If using any other target board, select Target Powered mode and supply power through the target board itself.
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 8
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 9
Applications Engineering The Select MCU button allows the user to change FoUSB Programmer configuration to match the target MCU. When you click on this button, a list of currently supported devices will be displayed. Fig. 5.3 MCU Selection Screen If the selected MCU is different from the MCU Monitor Image (MMI) file loaded on the ICD, the user will be prompted to re-program the ICD.
Vcc line/plane. In Target Power mode, the ICD requires at least 3.3V (5.0V max) and 50mA to operate properly. When programming target boards other than Renesas SKPs, set S1 to Target Powered mode and supply external power.
Page 11
Applications Engineering 5. CE Pin This pin is used to enter boot mode for programming of the target M16C MCU. Not all M16C MCU’s have a CE pin. If a CE pin exists on the target MCU, it should be connected to this pin (refer to serial mode flash programming in the target MCU’s datasheet).
Page 12
Examples of target board hardware connections 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 13
CNVss CNVss P6_7/TxD1 (TxD) P0_5 (TxD) (nominal) (nominal) 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 2.2 12 / 27 Jan 2005 Downloaded from Elcodis.com...
In Target Power mode, the ICD requires at least 3.3V and 50mA to operate properly. The ICD requires 5V when downloading new MCU Monitor Image (MMI). When debugging target boards other than Renesas SKPs, set S1 to Target Powered mode and supply external power.
Page 15
Applications Engineering 5. CE Pin This pin is used to enter boot mode for programming of the target M16C MCU. Not all M16C MCU’s have a CE pin. If a CE pin exists on the target MCU, it should be connected to this pin (refer to serial mode flash programming in the target MCU’s datasheet).
Page 16
If possible, avoid using the boot SIO/UART pins for other purposes. 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.
Page 17
P1_4/TxD0 (TxD) P0_5 (TxD) (nominal) (nominal) (nominal) (nominal) 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 2.2 16 / 27 Jan 2005 Downloaded from Elcodis.com...
Applications Engineering 8. Target MCU Resources Used by ICD for Debugging This section describes the MCU resources used by the ICD for in-circuit debugging (with the KD30 Debugger). These resources are NOT used when the ICD is used for programming (with the FoUSB Programmer).
Page 19
Applications Engineering interrupt is not set or disabled for long periods (>1s). This is the primary cause of communication errors while using the KD30 Debugger. The following list includes MCUs with DBC support: - M16C/26, M16C/28, M16C/29 - M16C/62P, M16C/6N4, M16C/6N5 - M32C/83, M32C/85 d.
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) Interface PC host and target connectivity. a. USB (J1) Full speed USB connection and USB 2.0 compliant. Primary connection to debug PC.
Applications Engineering Appendix B. Technical Notes & Limitations A. MSV1632-SKP Board When using the ICD with the MSV1632-SKP board, connect a 10KOhm pull-down resistor on 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.
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 Manual Installation 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 23
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 24
(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 the S1 Power Mode switch to TARGET and connect an external power supply to your target board.
Page 25
Applications Engineering C.4 FoUSB Programmer Problems This section describes common problems, causes, and countermeasures when working with the FoUSB Programmer. The common problems with FoUSB Programmer are: FoUSB Programmer does not come up, device is not detected, or target is not connected. When FoUSB Programmer does not come up properly, the main reason is that the MCU text file list folder does not exist on the folder where the FoUSB Programmer executable is.
Page 26
If you plug the ICD into the PC, the FoUSB Programmer should show the target MCU device name you selected earlier. If for some reason, it still does not come up, your ICD may have been damaged. Please contact your Renesas representative to get a replacement.
NOTE: The RTA-FOUSB-MON installer will copy all these manuals during installation. They can be accessed using the Document Descriptions file by clicking on the Start > Programs > Renesas-Tools > RTA- FOUSB-MON > Document Descriptions. RTA-FOUSB-MON User’s Manual Rev 2.2...
Applications Engineering Appendix E. Board Schematic & BOM The circuit board schematic and BOM are available as separate documents, RTA-FoUSB-MON_Schematic_RevX.pdf and RTA-FoUSB-MON_Board_BOM_RevX.pdf respectively. RTA-FOUSB-MON User’s Manual Rev 2.2 27 / 27 Jan 2005 Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the RTA-FoUSB-MON and is the answer not in the manual?
Questions and answers