Professional Documents
Culture Documents
Features
Introduction
This application note provides a detailed hardware description of the Atmel SAM-
ICE™ 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.
42019A−AVR−08/2012
Table of Contents
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.
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.
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.
Dimension Value
Length x 81.0mm
Width y 34.0mm
Height z 17.0mm (without spacers)
22.0mm (with spacers)
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
Figure 4-1. SAM-ICE adapter with programmer and USB radio stick (left-hand).
SAM-ICE programmer
to PC
to PC
SAM-ICE adapter
USB radio stick
USB
Atmel PC / USB Host
SAM-ICE
JTAG (20-pin)
RS232
SAM-ICE
Adapter
JTAG (10-pin)
USB
RF321USB
The following sections provide detailed information about the individual component parts and their functionality.
X1
TCK
1 2 GND
TDO
3 4 VCC
TMS /RESET
5 6
DRXD
VCC 7 8
TDI DTXD
9 10
VCC X2 VCC
1 2
3 4
TDI
5 6
TMS
7 8
TCK
9 10
GND 11 12
TDO
13 14
/RESET
15 16
17 18
19 20
X3 VCC
DTXD
1 2
DRXD
3 4
/RESET
5 6
X4
1
6
RXD 2
7
TXD 3 PC
8 RS232
4
9
5
GND
Socket D-SUB-9P
IC1
1 2
C1+ Vs+
C4 C1
1µF 1µF
3 16
C1- VCC VCC
C2
1µF
4 15
C2+ GND GND
C5 C3
1µF 1µF
5 6
C2- Vs-
DRXD 12 13 TXD
R1OUT R1IN
DTXD 11 14 RXD
T1IN T1OUT
10 7
VCC T2IN T2OUT
9 8
R2OUT R2IN
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.
6. 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
Schematic
DEBUG
AT91SAM-ICE
X3 VCC
DTXD VCC X2 VCC
1 2
DRXD DRXD
3 4 1 2
/RESET
Figure 6-1. Schematic.
5 6 3 4
TDI TDI
GND 5 6
Pin header 6P, 2-row TMS TMS
7 8
TCK TCK
9 10
GND 11 12
TDO TDO
13 14
/RESET
15 16
17 18
/RESET
19 20
DTXD
Pin header IDC 20-P, 2-rowGND
PCB design data
IC1
1 2
C1+ Vs+ X4
C4 C1
1
1µF 1µF
3 16 6
C1- VCC VCC
VCC RXD 2
C2
7
1µF PC
4 15 TXD 3
C2+ GND GND
R1 8 RS232
7k50 C5 C3
4
1µF 1µF
5 6 9
C2- Vs-
TARGET 5
JTAG + Debug DRXD 12 13 TXD
R1OUT R1IN GND
DTXD 11 14 RXD
T1IN T1OUT
X1 10 7
VCC T2IN T2OUT Socket D-SUB-9P
TCK 9 8
1 2 GND R2OUT R2IN
TDO
3 4 VCC
TMS /RESET MAX3232
5 6
DRXD
VCC 7 8
TDI DTXD
9 10
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.