To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 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. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
User’s Manual Flash Microcomputer On-Board Programming Adapter Board User’s Manual Renesas Microcomputer Development Environment System HS0008EASF5HE Rev.1.00 2009.
Rev. 1.00 Oct.
Notes regarding these materials 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document. 2.
Rev. 1.00 Oct.
IMPORTANT INFORMATION READ FIRST • READ this user's manual before using this adapter board. • KEEP the user's manual handy for future reference. • Do not attempt to use the adapter board until you fully understand its mechanism. Adapter Board: Throughout this document, the term "adapter board" shall be defined as the adapter board main unit and attached cables manufactured by Renesas Technology Corp. The user system or a host computer is not included in this definition.
Target User of the Adapter board: This adapter board should only be used by those who have carefully read and thoroughly understood the information and restrictions contained in the user's manual. Do not attempt to use the adapter board until you fully understand its mechanism. It is highly recommended that first-time users be instructed by users that are well versed in the operation of the adapter board.
SAFETY PAGE READ FIRST • READ this user's manual before using this adapter board. • KEEP the user's manual handy for future reference. • Do not attempt to use the adapter board until you fully understand its mechanism. DEFINITION OF SIGNAL WORDS This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.
WARNING Observe the precautions listed below. Failure to do so will result in a FIRE HAZARD and will damage the user system and the adapter board or will result in PERSONAL INJURY. The USER PROGRAM will be LOST. 1. Always switch OFF the adapter board and user system before connecting or disconnecting any CABLES, PARTS, or cable head. 2. Before connecting, always make sure that pin 1 on both sides are correctly aligned. 3. The adapter board can be used for flash microcomputers to which Vcc = 2.7 V to 5.
Contents Section 1 Overview..............................................................................................1 Section 2 Configuration .......................................................................................3 Section 3 Connectors, Switches, and LEDs.........................................................5 3.1 3.2 3.3 Connectors ........................................................................................................................ 5 3.1.
Rev. 1.00 Oct.
Section 1 Overview Section 1 Overview The adapter board HS0008EASF5H, connected between a host computer and the user system, can write and erase user application programs on the flash memory incorporated in the flash microcomputer on the user system (on-board) when it is used with the on-board programming tool HS6400FWIW5SR. Therefore, the burden on the peripheral circuit required during on-board programming can be reduced. A system configuration using the adapter board is shown in figure 1.1.
Section 1 Overview Rev. 1.00 Oct.
Section 2 Configuration Section 2 Configuration The configuration and components of the adapter board are shown in figure 2.1 and table 2.1, respectively. Serial interface connector Power supply switch Adapter board power-supply connector Circuit protector (breaker for protection) POWER FG P2 P3 P1 107.3 F1 HS0008EASF5H 28.5 150.5 User interface connector START/STOP POWER FG START Transfer switch LEDs Four screws for fixing the upper and lower panels Unit: mm Figure 2.
Section 2 Configuration Rev. 1.00 Oct.
Section 3 Connectors, Switches, and LEDs Section 3 Connectors, Switches, and LEDs 3.1 Connectors This adapter board has connectors P1, P2, and P3. 3.1.1 User Interface Connector (P1) WARNING Observe the precautions listed below. Failure to do so will result in a FIRE HAZARD and will damage the user system and the adapter board or will result in PERSONAL INJURY. 1. Always switch OFF the adapter board and the user system before connecting or disconnecting ANY CABLES or PARTS. 2.
Section 3 Connectors, Switches, and LEDs Serial interface connector (P2) TXD 3 RXD 2 GND 5 3 RXD 2 TXD 5 GND Power supply 1 2 3 4 . . . Host computer Vcc GND User interface connector (P1) 1 Vcc (Red) 2 GND (Black) Adapter board power-supply connector (P3) ( 17 18 19 20 Adapter board User system 1 2 3 4 . . . 17 18 19 20 Straightmatching ): Color of provided cable Figure 3.1 Connector Pin Location Rev. 1.00 Oct.
Section 3 Connectors, Switches, and LEDs 20 19 . . . . . 20 19 . . . . . User system side 2 1 2 1 HS0008EASF5H side Pin 1 Top view Side view Connector: 3428-6002LCPL (Sumitomo 3M, Ltd.) Figure 3.2 User System Interface Cable Rev. 1.00 Oct.
Section 3 Connectors, Switches, and LEDs Table 3.1 Correspondence between Signals and Numbers Indicated on the User System Interface Cable Number on Cable Signal 1 RES 2 GND 3 FWE/FWP 4 GND 5 MD0 6 GND 7 MD1 8 GND 9 IO0 10 GND 11 IO1 12 GND 13 IO2 14 GND 15 RXD (TXD for the user system) 16 GND 17 TXD (RXD for the user system) 18 VIN (Vcc) 19 NC 20 VIN (PVcc) If the device has Vcc and PVcc, provide Vcc (pin 18) and PVcc (pin 20) to the VIN pin of the P1 connector.
Section 3 Connectors, Switches, and LEDs 3.1.1 Serial Interface Connector (P2) Connect the adapter board and host computer using the serial interface cable provided. 3.1.2 Adapter Board Power-Supply Connector (P3) Supply power to the adapter board from the user system power supply (Vcc: 2.7 V to 5.25 V, PVcc: 2.7 V to 5.25 V) via the VIN pin of the user system interface cable. If the device does not use the PVcc, provide Vcc to the two VIN pins.
Section 3 Connectors, Switches, and LEDs CAUTION After program transfer, press the transfer switch (START/STOP) and confirm that the START LED (red) is turned off. If the user system power supply VIN (Vcc: 2.7 V to 5.25 V, PVcc: 2.7 V to 5.25 V) is turned off while the START LED is on, the user system will be damaged. For details on activating the on-board programming tool, refer to the On-Board Programming Tool User's Manual.
Section 3 Connectors, Switches, and LEDs On Off Figure 3.3 Power-Supply Switch (POWER) 3.2.3 Jumper Terminals for Power-Supply Switch (JP1) The jumper terminals are inside the chassis. Open the upper panel by removing the screw in each corner attaching the upper and lower panels. After jumper setting, close the chassis by re-fixing the screws. The following two methods are available for supplying power to the adapter board; appropriate jumper setting is required for these jumper terminals.
Section 3 Connectors, Switches, and LEDs 3.2.4 Circuit Protector (F1) This adapter board is provided with a resumable circuit protector on the input section of the user system power supply to prevent damage to the system.
Section 3 Connectors, Switches, and LEDs 3.2.5 Control-Signal Enable/Disable Switches (S4) This adapter board is provided with switches so that each control signal can be enabled or disabled separately, as shown in table 3.2; the control-signal switches that are necessary to program the flash microcomputer should be set to E. These switches are inside the case. Open the upper panel by removing the screw in each corner between the upper and lower panels.
Section 3 Connectors, Switches, and LEDs Table 3.3 Low (0)/High (1) Switches (S3) Signal 0 1 FWE (S3-1) Low High MD0 (S3-2) Low High MD1 (S3-3) Low High IO0 (S3-4) Low High IO1 (S3-5) Low High IO2 (S3-6) Low High - - Low output from RES (control sequence 2) High output from RES (control sequence 1) - (S3-7) SQMD (S3-8) 3.2.
Section 3 Connectors, Switches, and LEDs 3.2.8 S3, S4, S5, and S6 Setting Examples Table 3.5 shows examples of S3 to S6 switch settings for on-board programming in boot mode. When using an flash microcomputer that is not listed in table 3.5, refer to the corresponding hardware manual. Table 3.
Section 3 Connectors, Switches, and LEDs Rev. 1.00 Oct.
Section 4 Notes on Use Section 4 Notes on Use 1. The RES pin of the adapter board is an open-collector output. Use a resistor that suits the user system to pull up the RES pin (around 1-kΩ is recommended). 2. Do not directly connect control signals FWP/FWE, MD0, MD1, IO0, IO1, or IO2 to Vcc or GND. The user interface of the adapter board is shown figure 4.1. The resistance value is 20 Ω when analog switch HC4066 is on. It is recommended to pull up or pull down the resistance with 4.7-kΩ or more.
Section 4 Notes on Use Rev. 1.00 Oct.
Section 5 Specification Section 5 Specifications 5.1 Input Voltage and Consumption Current • Power-supply input (VIN) from the user interface connector (Vcc: 2.7 V to 5.25 V, PVcc: 2.7 V to 5.25 V) • Power-supply input (Vcc) from the P3 connector of the adapter board: 5 V ± 5% • Consumption current: 200 mA at 5 V or 330 mA at 3 V 5.2 Write Processing For write processing, control sequence 1 or control sequence 2 is selectable. Select either according to the usage of the user system.
Section 5 Specification 5.2.1 Specification of Control Sequence 1 1. When the user system power supply is turned on or the power switch is on, the high level is output by the RES pin. 2. When the transfer switch is pressed, the RES signal is held to the low level for 550 ms. 3. After 10 ms of the falling edge of the RES signal, 2.7- to 5.25-V application to the FWE/FWP pin starts or stops (figure 5.1). The user-system power supply or POWER switch is turned on. POWER LED is turned on.
Section 5 Specification 5.2.2 Specification of the Control Sequence 2 1. When the user system power supply is turned on or the power switch is on, the low level is output by the RES pin. 2. After power has been turned on, pressing the transfer switch for the first time places the RES pin at the high level, and the user system makes the transition to programming processing etc. 3. After that, every time the transfer switch is pressed, the level of RES signal is inverted. 4.
Section 5 Specification Rev. 1.00 Oct.
Flash Microcomputer On-Board Programming Adapter Board User's Manual Publication Date: Rev.1.00, October 2, 2009 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Customer Support Department Global Strategic Communication Div. Renesas Solutions Corp. © 2009. Renesas Technology Corp., All rights reserved. Printed in Japan.
Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan RENESAS SALES OFFICES http://www.renesas.com Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
Flash Microcomputer On-Board Programming Adapter Board User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J2064-0100