APPLICATION NOTE Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual 8-bit Atmel Microcontrollers Features • • • • 10-pin connector for Atmel® RF231USB USB radio stick 20-pin connector for ARM® JTAG programmer 6-pin connector for ARM Debug-Unit RS232 connector with onboard RS232 level shifter for ARM Debug-Unit Introduction This application note provides a detailed hardware description of the Atmel SAMICE™ adapter. The adapter is typically used as service adapter to enable programming, debugging and testing right in the circuit of a RF231USB radio stick. For programming via JTAG the female 10-pin connector has to be plugged onto the RF231USB stick’s 10-pin connector. The connection to the Atmel SAM-ICE programmer is implemented with the assembled 20-pin JTAG header. A RS232 connection is additionally available. Figure 1. SAM-ICE adapter. 42019A−AVR−08/2012 Table of Contents 1. Disclaimer ............................................................................................ 3 2. Overview .............................................................................................. 3 3. Mechanical description ........................................................................ 4 4. Functional description .......................................................................... 6 4.1 10-pin connector ............................................................................................... 7 4.2 20-pin connector ............................................................................................... 7 4.3 6-pin connector ................................................................................................. 7 4.4 RS-232 connector ............................................................................................. 8 4.5 Other assembly parts ........................................................................................ 8 4.5.1 RS232 transceiver .............................................................................. 8 4.5.2 Spacers … .......................................................................................... 8 5. Electrical characteristics ...................................................................... 9 5.1 Absolute maximum ratings ................................................................................ 9 5.2 Recommended operating range ........................................................................ 9 6. Abbreviations ....................................................................................... 9 Appendix A. PCB design data ........................................................... 10 A.1 Schematic ....................................................................................................... 10 A.2 Assembly drawing ........................................................................................... 11 A.3 Bill of materials ................................................................................................ 12 Appendix B. References .................................................................... 13 Appendix C. Revision history SAM-ICE adapter PCBA ..................... 14 Appendix D. EVALUATION BOARD/KIT NOTICE ............................. 15 Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 2 1. Disclaimer Typical values contained in this application note are based on simulations and testing of individual examples. Any information about third-party materials or parts is included in this document for convenience. The vendor may have changed the information since then. Check the individual part information for the latest changes. 2. Overview The Atmel SAM-ICE adapter is an integral part of the Atmel RF231USB Reference Design. It is designed to interface directly to a RF231USB board. Figure 2-1 shows the Atmel SAM-ICE adapter. See [1] for details on the RF231USB board. Figure 2-1. Main component parts. RS232 connector RS232 transceiver 6-pin connector 20-pin connector 10-pin connector The primary physical interface for programming and debugging the RF231USB board’s MCU is JTAG. For programming via JTAG the RF231USB board has to be attached with its JTAG connector to the SAM-ICE adapter and finally to the SAM-ICE programmer and the host PC with the appropriate wiring established as shown in Figure 2-2. For details on programming and debugging, please refer to Chapter 4. Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 3 Figure 2-2. SAM-ICE adapter, USB radio sticks wiring. 3. Mechanical description The SAM-ICE adapter is manufactured using a two-layer printed circuit board (PCB). All connectors and user I/Os are mounted on the top side using through-hole components. In delivery condition, the board comes with four spacers enclosed but not mounted. They shall be affixed through holes from the bottom side. Figure 3-1. Mechanical outline. Table 3-1. SAM-ICE adapter mechanical dimensions. Dimension Value Length x 81.0mm Width y 34.0mm Height z 17.0mm (without spacers) 22.0mm (with spacers) Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 4 Table 3-2. Connectors and features. Connector Specification X1, 10-pin 2-row, 1.27mm (50mil) pitch X2, 20-pin 2-row, 2.54mm (100mil) pitch X3, 6-pin 2-row, 2.54mm (100mil) pitch X4, RS232 DE-9 socket, 2.77mm (109mil) pitch Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 5 Functional description The SAM-ICE adapter enables programming and debugging of the RF231USB PCBA. It is required to connect the RF231 USB stick to the SAM-ICE programmer via JTAG interface. This setup communicates with the host PC preferably via USB lines. Additional connections from the SAM-ICE adapter may be chosen. Figure 4-1 shows the hardware assembly and Figure 4-2 the schematic of the complete setup. Figure 4-1. SAM-ICE adapter with programmer and USB radio stick (left-hand). SAM-ICE programmer to PC 4. to PC SAM-ICE adapter USB radio stick Figure 4-2. Hardware setup schematic. Atmel SAM-ICE USB PC / USB Host JTAG (20-pin) RS232 SAM-ICE Adapter JTAG (10-pin) RF321USB USB The following sections provide detailed information about the individual component parts and their functionality. Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 6 4.1 10-pin connector The (female) 10-pin connector, X1, is designed on the top side of the PCB at one side to facilitate connecting a USB radio stick in a plane rectangular to the SAM-ICE adapter PCB. The 2-row (2x5) connector has a pitch of 1.27mm (50mil). X1 serves as JTAG/Trace interconnection to the RF231USB. For in-circuit programming, debugging and testing a RF231USB radio stick has to be plugged in with its appropriate programming/debugging header. Figure 4-3. 10-pin connector. X1 TCK TDO TMS VCC 1 3 5 7 9 TDI 2 4 6 8 10 GND /RESET DRXD DTXD VCC Socket 10P, 2-row 4.2 20-pin connector The (male) 20-pin connector, X2, is assembled on the top side of the PCB. It provides the traditional JTAG interface for ARM MCUs which is a 20-pin, 100mil connector. The four JTAG signals (TDI, TDO, TCK and TMS) are routed to the 10-pin connector X1 (see Section 4.1). Figure 4-4. 20-pin connector. X2 VCC VCC 1 3 5 7 9 11 13 15 17 19 TDI TMS TCK GND TDO /RESET 2 4 6 8 10 12 14 16 18 20 Pin header IDC 20-P, 2-rowGND 4.3 6-pin connector The (male) 6-pin connector, X3, is assembled on the top side of the PCB. It carries a UART (RX, TX signals, TTL level), supply voltage and the MCU reset line. Internally all these signals are routed to the 10-pin connector X1 (see Section 4.1). Figure 4-5. 6-pin connector. X3 DTXD /RESET 1 3 5 VCC 2 4 6 Pin header 6P, 2-row DRXD GND Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 7 4.4 RS-232 connector The RS232 connector, X4, is designed on the top side of the PCB opposite to the X1 connector to communicate with the host PC via a common RS232 D-sub connection. RX as well as TX signals are provided V.24-compliant by an intermediate RS232 transceiver, see Section 4.5.1. Figure 4-6. RS232 connector. X4 1 6 2 7 3 8 4 9 5 RXD TXD PC RS232 GND Socket D-SUB-9P 4.5 Other assembly parts 4.5.1 RS232 transceiver A RS232 transceiver, IC1 [2], is designed on the PCBA next to the RS232 connector to transform the received and transmitted data (RXD, TXD) as described above.If it shall be used, power must be supplied by a RF231USB target device plugged onto the SAM-ICE adapter. Figure 4-7. RS232 transceiver. IC1 1 C4 1µF 3 4 C5 1µF DRXD DTXD VCC 5 12 11 10 9 C1+ C1- C2+ C2R1OUT T1IN T2IN R2OUT Vs+ VCC GND VsR1IN T1OUT T2OUT R2IN 2 16 15 6 13 14 7 8 C1 1µF VCC C2 1µF GND C3 1µF TXD RXD MAX3232 4.5.2 Spacers From the bottom side of the PCB four spacers are assembled in the vicinity of the PCB corners to enable a practicable and safe positioning in the working environment. Due to the spacer’s 6.4mm base at the bottom side the PCB can be placed in a convenient position to be able to connect plugs to the PCB and arrange the wiring around. Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 8 5. Electrical characteristics 5.1 Absolute maximum ratings Stresses beyond those listed in Table 5-1 “Absolute Maximum Ratings” may cause permanent damage to the board. This is a stress rating only; functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this manual are not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. For more details about these parameters, refer to individual datasheets of the components used. Table 5-1. Absolute maximum ratings. No. Parameter 5.1.1 Storage temperature range 5.1.2 Relative humidity 5.1.3 Supply voltage 5.1.4 EXT I/O pin voltage 5.1.5 Supply current 5.2 Condition Typical Maximum Unit +85 °C 80 % r.H. -0.3 5.5 V -0.3 VUSB + 0.3 V 35 60 mA Typical Maximum Unit +65 °C 5.5 V -45 Non-condensing USB powered, outputs short-circuit Recommended operating range Table 5-2. Recommended operating range. No. Parameter 5.2.1 Operating temperature range (TOP) 5.2.2 Supply voltage (VUSB) 6. Minimum Condition Minimum 0 USB powered 4.5 5.0 Abbreviations I/O - Input/output ICE - In-circuit-emulator JTAG - Digital interface for debugging of embedded device, also known as IEEE® 1149.1 standard interface MCU - Microcontroller unit PCB - Printed circuit board PCBA - Printed circuit board assembly RS232 - Traditional name of standards for serial binary data and control signals commonly used in computer serial ports SMD - surface-mount device RX - Receive TX - Transmit USART - Universal synchronous/asynchronous receiver transmitter USB - Universal serial bus V.24 - A standard similar to RS232 Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 9 /RESET DTXD 2 4 6 Pin header 6P, 2-row 1 3 5 X3 GND VCC DRXD VCC TDI TCK TDO TMS 2 4 6 8 10 Socket 10P, 2-row 1 3 5 7 9 X1 TARGET JTAG + Debug /RESET DTXD TDO TDI TMS TCK DRXD GND /RESET DRXD DTXD VCC Pb S/N REFTOP1 REFTOP2 Nr. R1 7k50 VCC Änderung VCC DRXD DTXD C5 1µF C4 1µF 12 11 10 9 5 4 3 1 MAX3232 Datum 1 3 5 7 9 11 13 15 17 19 X2 2 4 6 8 10 12 14 16 18 20 AT91SAM-ICE VCC Name R1IN T1OUT T2OUT R2IN Vs- GND VCC Vs+ C3 1µF C2 1µF C1 1µF GND TXD RXD X4 PC RS232 Socket D-SUB-9P 1 6 2 7 3 8 4 9 5 Document Number Telefon 0351 / 31 85 00 Telefax 0351 / 31 85 010 Document File Name 5 264 07 00.100.0 0 SAM_ICE_ADAPTER_REV00.SchDoc 8/9/2012 Time: 8:46:49 AM DrawnBy: APA Sheet 1 of 1 Rev: 0.0 dresden elektronik ingenieurtechnik gmbh D-01237 Dresden, Enno-Heidebroek-Str. 12 GND VCC SAM_ICE_ADAPTER TXD RXD Date: A4 Size Title 13 14 7 8 6 15 16 2 Pin header IDC 20-P, 2-rowGND R1OUT T1IN T2IN R2OUT C2- C2+ C1- C1+ IC1 GND TDO /RESET TDI TMS TCK VCC A.1 DEBUG Appendix A. PCB design data Schematic Figure 6-1. Schematic. Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 10 A.2 Assembly drawing Figure 6-2. Assembly top. Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 11 A.3 Bill of materials Table 6-1. Qty. Bill of materials. Designator 1 Description Footprint SAM-ICE adapter PCB Part#/Value Comment Rating 5 264 07 00.251.00 5 C1, C2, C3, C4, C5 Capacitor 0603 1μF / 10% SMD 16V / X5R 1 IC1 RS232 transceiver SO-16 MAX3232ESE+ SMD 3..5V 1 R1 Resistor 0603 7K50 / 1% SMD 50V / 100mW 1 X1 Socket-10P 2-row/win 853-87-010-20-001101 UL94V-0 1 X2 Pin header IDC-20P Low profile 09-18-520-6324 DIN41651 1 X3 Pin header-6P 2-row 1002-121-006 UL94V-0 1 X4 Socket D-SUB 9P win 09-66-152-7611 DIN41652 Spacer 6.4mm TCBS-4 4 Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 12 Appendix B. References [1] Atmel AVR2030: RF231USB-RD - Hardware User Manual [2] 3.0V to 5.5V, Low-Power RS232 Transceiver http://datasheets.maxim-ic.com/en/ds/MAX3222-MAX3241.pdf Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 13 Appendix C. Revision history SAM-ICE adapter PCBA Version Description A09-1497/01 Initial revision Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 14 Appendix D. EVALUATION BOARD/KIT NOTICE This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitation, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE or UL (except as may be otherwise noted on the board/kit). Atmel supplied this board/kit “AS IS,” without any warranties, with all faults, at the buyer’s and further users’ sole risk. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies Atmel from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER USER NOR ATMEL SHALL BE LIABLE TO EACH OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. No license is granted under any patent right or other intellectual property right of Atmel covering or relating to any machine, process, or combination in which such Atmel products or services might be or are used. Mailing Address: Atmel Corporation, 2325 Orchard Parkway, San Jose, CA 95131 Copyright © 2011, Atmel Corporation Atmel AVR2033: SAM-ICE Adapter – Hardware User Manual [APPLICATION NOTE] 42019A−AVR−08/2012 15 Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan G.K. 1600 Technology Drive Unit 01-5 & 16, 19F Business Campus 16F Shin-Osaki Kangyo Bldg. San Jose, CA 95110 BEA Tower, Millennium City 5 Parkring 4 1-6-4 Osaki, Shinagawa-ku USA 418 Kwun Tong Road D-85748 Garching b. Munich Tokyo 141-0032 Tel: (+1)(408) 441-0311 Kwun Tong, Kowloon GERMANY JAPAN Fax: (+1)(408) 487-2600 HONG KONG Tel: (+49) 89-31970-0 Tel: (+81)(3) 6417-0300 www.atmel.com Tel: (+852) 2245-6100 Fax: (+49) 89-3194621 Fax: (+81)(3) 6417-0370 Fax: (+852) 2722-1369 © 2012 Atmel Corporation. All rights reserved. / Rev.: 42019A−AVR−08/2012 Atmel®, Atmel logo and combinations thereof, AVR®, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. ARM® is a registered trademark of ARM Ltd. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.