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
All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
Page 4
Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures.
Page 5
2. The product described herein was prepared for program development or evaluation purposes. The product cannot be used for the mass production. 3. Renesas Technology Corporation and Renesas Solutions Corporation will not assume any responsibility for the results of development no matter what systems may have been developed by customers by using the product described herein.
Page 6
Thank you very much for purchasing the 32176 Group Starter Kit, the M3A-2152G52A and M3A-2152G52. This manual describes how to set up the hardware and software products included with the 32176 Group Starter Kit and the precautions to be observed when using those products.
1. Overview...1 Outline of the Starter Kit ... 1 System Configuration... 3 2. Contents of the Product Package ...4 Packaged Product Items ... 4 Contents of CD-ROM ... 5 Other Necessary Items ... 5 3. Usage Precautions...6 Guaranteed Scope of the Starter Kit ... 6 Regarding About System Power-on Sequence when Connected to the Emulator...
Page 8
M3T-CC32R ... 25 6.3.1 Installing M3T-CC32R... 25 6.3.2 Verifying Whether M3T-CC32R is Installed Normally ... 25 Browsing Electronic Manuals ... 25 Appendix 1 Contents of CD-ROM ...26 1. Contents of CD-ROM...26 Acrobat ... 27 Tool... 28 Manual... 31 Board Related Manual (Document) ... 32 Sample Program ...
32176 Group. It is capable of reprogramming internal flash memory of the 32176 Group microcomputer as well as controlling. Included M32100T-EZ-E and M3T-PD32RM enable fast reprogramming MCU’s internal flash memory.
Page 10
PC by controlling the microcomputer on the M3A-2152 Evaluation Board which is connected to the host PC via the M3A-2195 Interface Board. The function of M3S-KD32R is same as one of M3T-PD32RM. REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 2 of 83...
(included with a kit) Figure 1.3 System Configuration of M3A-2154G02A by Itself REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 XCN1 M3A-2152G02 (32176 Group evaluation board) 5V DC power supply (required on the user side) Mar. 2008 32176 Group Page 3 of 83...
Note: When you unpack the Starter Kit, check to see that none of the above package contents is damaged or missing. If any item is damaged or not included, return the package to Renesas Technology Corporation through distributors. It will be replaced with a new one.
CD-ROM for your application, please be sure to evaluate those technical contents, programs, and algorithms as the whole system, and not individually as single items before you determine whether they are useful. Renesas Technology Corporation will not assume any responsibility regarding their suitability for your application.
3. Usage Precautions Guaranteed Scope of the Starter Kit The Starter Kit was developed for users to trial the 32176 Group microcomputer specifications and development environment. Therefore, the results arising from the use of the Starter Kit are not guaranteed.
M32R microcomputers except for 32176 Group. In case that the M32100T-EZ-E is used for the product except for 32176 Group, the upgrade program to M32100T-EZ-E compliant with M32R microcomputers is available. For more details, refer to the attachment of M32R/ECU starter kit release notes.
The M32R core’s internal debug circuit (SDI) allows setting breakpoints, at which to break the program immediately before executing an instruction (at the address indicated by the program counter). For the M3A-2152G52A and M3A-2152G52 (32176 Group MCU), four such breakpoints can be set. (3) Post-execution PC break The M32R core’s internal debug circuit (SDI) allows setting one breakpoint, at which to break the...
Save check box, and the security code you entered is saved. From next time on, the security code saved here is used to check matching with the stored security code when M3T- PD32RM (or M3S-KD32R) starts. REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 9 of 83...
The IC socket included in the evaluation board uses NQPACK and HQPACK by TOKYO ELETECH CORPORATION. For more details, visit their website at http://www.tetc.co.jp/e_index.htm. The following illustrates configuration of M3A-2152G02 (32176 Group Evaluation Board). Figure 3.2 M3A-2154G02A 3.6.2 Cable Connection Make sure the cables are connected to the evaluation board firmly.
C to 60 C to 70 M3A-2152G52 Windows 98, Me, NT4.0, 2000 — 1 port (required) Power supply voltage 4.75 V to 5.25 V 0V (reference voltage) Mar. 2008 32176 Group Remarks — Power supply current — Page 11 of 83...
When connected to the emulator 1st (Refer to 5.1.4) 2nd (Refer to 5.1.4) USB I/F USB cable M32100T-EZ-E Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 When using the evaluation board by itself M3A-2152G52A/M3A-2152G52 — — 1st (Refer to 5.3.1) —...
Note: Unless the Starter Kit is powered on this sequence, the kit may operate erratically or break down. REJ10B0224-0310/Rev.3.10 4.75 - 5.25V DC power supply Uses power from CN2 connector to AVCC power supply SDI I/F 10-pin flat cable Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Remarks XCN1 M3A-2152 evaluation board Page 13 of 83...
Figure 5.5 Connecting the M3A-2195 and Host PC REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 M3A-2195 3 JP1 1 3 JP1 1 Jumper connector When feeding from DC 5V(J4) (set as default when shipped from factory) Settings of JP1 Mar. 2008 32176 Group Page 14 of 83...
Note: Unless the Starter Kit is powered on this sequence, the kit may operate erratically or break down. REJ10B0224-0310/Rev.3.10 4.75 - 5.25V DC power supply Uses power from CN2 connector to AVCC power supply JTAG 10-pin flat cable Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Remarks XCN1 M3A-2152 evaluation board Page 15 of 83...
By disconnecting it, the M3A-2152 Evaluation Board turns powered off. REJ10B0224-0310/Rev.3.10 4.75 - 5.25V DC power supply Uses power from CN2 connector to AVCC power supply Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Remarks Page 16 of 83...
(2) Proceed to install M3T-PD32RM following messages on the installation screen.. (3) When you finished installing M3T-PD32RM, the dialog box shown in Figure 6.1 appears. Figure 6.1 Dialog Box when Installation is Finished REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 17 of 83...
To start M3T-PD32RM, choose [Start] -> [Programs] -> [Renesas] -> [PD32RM V3.01 Release 00] -> [PD32RM] from Start menu of Windows. When M3T-PD32RM starts, the initialize dialog box shown in Figure 6.2 appears. So initialize M3T-PD32RM from this dialog box.
Page 27
When M3A-2152G52A in use, M3T-PD32RM can be started only with Serial No. as follows. In case of M32100T-EZ-E’s limited version included with M3A-2152G52A: 7-digit number (32176) Example : 3CE0002(32176) In case of the general purpose M32100T-EZ-E: 7-digit number Example : 3CE0002 Selecting a Cross Tool While the Debugging Information tab is open, select “CC32R(M32R)”...
M3T-PD32RM. Or click the “Cancel” button, in which case M3T-PD32RM does not terminate. Figure 6.6 Dialog Box for Confirming Whether to Quit M3T-PD32RM REJ10B0224-0310/Rev.3.10 ERROR11473: Target MCU is not under control. Please reset target systems. Cancel Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Page 20 of 83...
(3) When you finished installing M3S-KD32R, the dialog box shown in appears. Figure 6.7 Dialog Box when Installation is Finished (4) Case of using Windows 2000 / NT4.0, after M3S-KD32R is installed, reboot the PC. REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 21 of 83...
To start M3S-KD32R, choose [Start] -> [Programs] -> [RENESAS-TOOL] -> [KD32R V4.00 Release 1] -> [KD32R] from Start menu of Windows. When M3S-KD32R starts, the initialize dialog box shown in Figure 6.2 appears. So initialize M3S-KD32R from this dialog box.
Page 31
Figure 6.10 appears. For details on how to use it, refer to the M3S-KD32R Release Note and the PD32R Help. Figure 6.10 M3S-KD32R Window at Normal Startup REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Cancel Help Mar. 2008 32176 Group Page 23 of 83...
Figure 6.13 Dialog Box for Confirming Whether to Quit M3S-KD32R REJ10B0224-0310/Rev.3.10 Can’t connect with the target ERROR(1705) ERROR11473: Target MCU is not under control. Please reset target systems. Cancel Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Page 24 of 83...
If M3T-CC32R has been installed normally, a command version of M3T-CC32R like the one shown below is displayed. CC32R Compiler for M32R Family V.X.XX Release X Copyright 1995-XXXX RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHT RESERVED (X varies with the version of the Cross Tool Kit included in the package.) Displayed below this is the version information of each tool included in the Cross Tool Kit.
CD-ROM for your application, please be sure to evaluate those technical contents, programs, and algorithms as the whole system, and not individually as single items before you determine whether they are useful. Renesas Technology Corporation will not assume any responsibility regarding their suitability for your application.
: M3T-CC32R user’s manual (Assembler) : M3T-CC32R user’s manual (C Compiler) : MAP Viewer user’s manual M32100T-EZ-E) included. : Setup programs for M3T-PD32RM : Setup programs for M3T-PD32RM Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 This debugger software Page 28 of 83...
Page 37
Starter Kit User’s Manual M3A-2152 : M3S-KD32R release note : Setup programs for M3S-KD32R : M3S-KD32R release note : Setup programs for M3S-KD32R : Setup programs for M3S-UFLA32R : Setup programs for M3S-UFLA32R Mar. 2008 32176 Group Page 29 of 83...
Page 38
: Objects for M3S-UFLA32R Version 1.3 : Objects for M3T-CC32R Version 4.3 : Objects for M3T-CC32R Version 5.0 : Objects for M3T-PD32RM Version 3 : Objects for M3S-KD32R Version 3 : Objects for M3S-UFLA32R Version 1.3 Mar. 2008 32176 Group Page 30 of 83...
+ rjj10b0243_2142um.pdf : M3A-2142 Starter Kit use’s manual + rjj10b0242_2142g01sk.pdf : M3A-2142G01 product standards + rjj10b0240_2142g03sk.pdf : M3A-2142G03 product standards + cdrom_j.pdf : Content list of CD-ROM Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Page 32 of 83...
Page 41
(3) M3A-2152 Evaluation Board related documents The related documents for the 32176 Group Evaluation Board are included in PDF file format. (English version) Eng+Document+M3A-2152+ (Japanese version) Jpn+Document+M3A-2152+ (4) M3A-2154 Evaluation Board related documents The related documents for the 32185/32186/32192/32195/32196 Group Evaluation Board are included in PDF file format.
Page 42
+ 2145g50sk_j.pdf : M3A-2145G50 product standards + 2145g02sk_j.pdf : M3A-2145G02 product standards + 2145g50p_j.pdf : M3A-2145G50 part list + 2145g02p_j.pdf : M3A-2145G02 part list + cdrom_j.pdf : Content list of CD-ROM Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Page 34 of 83...
: 32170/32171 Group application notes and sample programs : 32172/32173 Group application notes and sample programs : 32176 Group application notes and sample programs : 32180/32182 Group application notes and sample programs : 32185/32186 Group application notes and sample programs...
32176 Group Starter Kit User’s Manual M3A-2152 Appendix 2 Part List A part list is provided in following pages for your reference. REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 38 of 83...
Page 47
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 39 of 83...
Page 48
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 40 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 Appendix 3 M3A-2152G02 Product Standards This manual describes how to operate the M3A-2152G02 (32176 Group Evaluation Board) REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 41 of 83...
Figure 1.1 Photograph of the M3A-2152G02 REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 M32176F4VFP M3A-2152G02 Power supply connector LED indicator (power-on) CAN connector JTAG connector Reset key RS-232C connector Rotary switch (selects a serial I/O channel) Mar. 2008 32176 Group Page 42 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 External View An external view of the M3A-2152G02 is shown below. Figure 1.2 External View of the M3A-2152G02 REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 43 of 83...
VR controls (VOL0, VOL1) Connects these VR controls with AD0IN0 and AD0IN1 to use them to control inputs on ports Extension connectors (CON1, CON2) Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Rated Value 4.75 V to 5.25 V 0°C to 70°C 0°C to 70°C...
Power supply from VCCE (CN2) between 1–2 Shorted Power supply from AVCC (CN1) between 2–3 — — Shorted Power supply from AVCC between 1–2 Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Description VCCE power supply Page 46 of 83...
Open Note: The J6 jumper is shorted by soldering. REJ10B0224-0310/Rev.3.10 TX14 EXTFP Enables reprogramming the M32R/ECU’s internal flash Disables reprogramming the M32R/ECU’s internal flash Unusable Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 M32R/ECU Description Page 47 of 83...
Controls MOD0 by EXTMOD0, unless control MOD0 by EXTMOD0 sets MOD0 to 0 Sets MOD0 to 1 Sets MOD1 to 0 Sets MOD1 to 1 Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 M32R/ECU MOD0 MOD1 MOD2 Page 48 of 83...
I/O channel can be used at a time. Any of the four channels 0–3 can be selected using a rotary switch. Figure 2.4 Serial I/O Interface REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 49 of 83...
Page 58
Unused Received data Transmitted data Connects to the DSR pin Ground Connects to the DTR pin Connects to the CTS pin Connects to the RTS pin Unused Mar. 2008 32176 Group SIO0 SIO1 SIO2 SIO3 Description Page 50 of 83...
REJ10B0224-0310/Rev.3.10 Outputs a clock from X1 (surface mount-type oscillator module) Outputs a clock from X2 (DIP-type oscillator module) Outputs a clock from Y1 (resonator) Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 M32R/ECU XOUT Description Page 51 of 83...
P115 P116 P117 Corresponding ON Condition M32R/ECU Port P110 P111 P112 P113 P114 P115 P116 P117 Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Color High High High High High Green High Green High Green High Green Page 52 of 83...
P137 Table 2.11 Toggle Switch Positions Lever Direction P130 P131 P132 P133 P134 P135 P136 P137 M iddle Open Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 Port Input Level High Middle Open Down Down Page 53 of 83...
AD0IN0 H4 1 VOL1 AD0IN1 Uses VR control (VOL0) Does not use VR control (VOL0) Uses VR control (VOL1) Does not use VR control (VOL1) Mar. 2008 32176 Group Starter Kit User’s Manual M3A-2152 AVCC Description Page 54 of 83...
Note: TX7, TX8, TX9, TX10, TX11, TX12, TX13 and TX15 are not mounted but they only have patterns available. Figure 2.10 Interface with a CAN-mounted System REJ10B0224-0310/Rev.3.10 Starter Kit User’s Manual M3A-2152 Mar. 2008 32176 Group Page 55 of 83...
Page 64
Uses the CAN0 terminating resistor mounted on-board Does not use the CAN0 terminating resistor mounted on-board Uses the CAN1 terminating resistor mounted on-board Does not use the CAN1 terminating resistor mounted on-board Mar. 2008 32176 Group Description Page 56 of 83...
2.10 JTAG Peripheral Circuit The evaluation board comes standard with a connector for Renesas SDI. This connector consists of the 2.54-mm contact pitch XG4C-1034 made by Omron Corporation. XCN1 Figure 2.11 JTAG/NBD Interface Table 2.16 JTAG Connector Pin Assignments Connector Name...
32176 Group Starter Kit User’s Manual M3A-2152 Connection Diagram A connection diagram is provided in following pages for your reference. REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 62 of 83...
Page 71
EXCVCC EXCVCC (M32176F4VFP) EXCVDD VCCE VCCE VCCE VCCE REJ10B0224-0310/Rev.3.10 #4NL M32R/ECU Mar. 2008 Page 63 of 83...
Page 72
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 64 of 83...
Page 73
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 65 of 83...
Page 74
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 66 of 83...
Page 75
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 67 of 83...
Page 76
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 68 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 Part List A part list is provided following pages for your reference. REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 69 of 83...
Page 78
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 70 of 83...
Page 79
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 71 of 83...
Page 80
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 72 of 83...
Page 81
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 73 of 83...
Page 82
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 74 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 Pattern Diagram A pattern diagram for the board is provided in this and following pages for your reference. REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 75 of 83...
Page 84
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 76 of 83...
Page 85
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 77 of 83...
Page 86
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 78 of 83...
Page 87
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 79 of 83...
Page 88
REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 80 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 Diagram of External Dimension A diagram of external dimension for the board is provided in following pages for your reference. REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 81 of 83...
Page 90
CHANGE REJ10B0224-0310/Rev.3.10 Mar. 2008 Page 82 of 83...
32176 Group Starter Kit User’s Manual M3A-2152 Description of Board Silk The color of board silk indicates solder specification when the items on board are mounted. Table 3.6 Difference in the Color of Board Silk Color of board silk Solder specification when the items on board are mounted...
- Updated a setup method along with the tool update (Chapter 6) - Updated contents of CD-ROM (Appendix 1) - Updated a part list of the evaluation board (Appendix 3.5) 32176 Group Starter Kit User’s Manual M3A-2152 Description Summary REVISON-1...
Page 93
Rev.3.10, Mar.13,2008 2008, Renesas Technology Corp., All rights reserved. Printed in Japan.
Page 94
(4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all...
Page 95
32176 Group Starter Kit User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10B0224-0310...