Atmel AT91SAM-ICE User Manual
Atmel AT91SAM-ICE User Manual

Atmel AT91SAM-ICE User Manual

Advertisement

Quick Links

AT91SAM-ICE
....................................................................................................................
User Guide
6206B–ATARM–04-Mar-08

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AT91SAM-ICE and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel AT91SAM-ICE

  • Page 1 AT91SAM-ICE ........................User Guide 6206B–ATARM–04-Mar-08...
  • Page 2 AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 3: Table Of Contents

    Overview ..........................4-1 Free Software ........................4-1 4.2.1 JLink.exe (Command Line Tool)................4-1 4.2.2 SAM-ICE TCP/IP Server (Remote SAM-ICE Use) ..........4-1 4.2.3 J-Mem Memory Viewer..................4-2 Section 5 Frequently Asked Questions ..................5-1 FAQs..........................5-1 AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 4 Contacting Support ......................6-2 Section 7 Glossary ........................7-1 Terminology ........................7-1 Section 8 Errata.......................... 8-1 Reset Problem on the SAM-ICE V5.1................8-1 Section 9 Revision History ......................9-1 AT91SAM-ICE User Guide Revision History ..............9-1 AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 5: Introduction

    Section 1 Introduction Overview ® ® SAM-ICE is a JTAG emulator designed for Atmel AT91 ARM cores. It connects via USB to a PC run- ning Microsoft Windows2000 or XP. SAM-ICE has a built-in 20-pin JTAG connector, which is compatible ®...
  • Page 6: Requirements

    USB driver is required. 1.2.2 Target System An Atmel AT91 ARM7 or ARM9 target system is required. The system should have a 20-pin connector as defined by ARM Ltd. The individual pins are described in Section 2.1 ”JTAG Connector” on page 2-1.
  • Page 7: Hardware

    To assist in meeting this requirement, a returned and retimed TCK can be used RTCK to dynamically control the TCK rate. SAM-ICE supports adaptive clocking which waits for TCK changes to be echoed correctly before making further changes. Connect to RTCK if available, otherwise to GND. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 8: Debugging Multiple Arm

    Cores with SAM-ICE SAM-ICE can handle mulitcore debugging. In this case, multiple ARM chips are connected to the same JTAG connector as shown in Figure 2-1. Figure 2-1. Multi-core Connections Device 0 Device 1 TRST JTAG AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 9: Setup

    SAM-ICE, Windows detects the new hardware. The wizard starts the installation of the driver. First, select the "Search for a suitable driver for my device (recommended)" option, then click on the "Next >" button. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 10 The wizard asks you to specify the location of the correct driver files for the new device. Use the direc- tory navigator to select “D:\tools\driver\usb\jlinkarm” (or your chosen location) and confirm with a click on the "Next >" button The wizard confirms your choice and starts to copy, when you click on the "OK" button. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 11: Verifying Correct Driver Installation

    If the driver is installed and your SAM-ICE is connected to your computer, the device manager should list the J-Link driver as a node below "Universal Serial Bus controllers" as shown in the following screenshot: AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 12: Debug Installation

    ID. The screenshot below shows the output of JLink.exe. As can be seen, it reports a SAM- ICE with one JTAG device connected. Problems For help with any of the steps described above, refer to Section 6.1 for troubleshooting tips. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 13: Sam-Ice Related Software

    The SAM-ICE TCP/IP server allows using SAM-ICE remotely via TCP/IP. This enables you to connect to and fully use a SAM-ICE from another computer. Performance is just slightly (about 10%) lower than with direct USB connection. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 14: J-Mem Memory Viewer

    RAM can be modified and SFRs can be written. The type of acces for both read and write access can be selected to be 8/16/32 bits. This is an efficient means for modifying SFRs, in partic- ular because it writes the SFR only after the complete value has been entered. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 15: Frequently Asked Questions

    Frequently Asked Questions FAQs Which CPUs are supported? ™ ™ – SAM-ICE works exclusively with Atmel AT91 ARM7 /ARM9 -based microcontroller cores. What is the maximum JTAG speed supported by SAM-ICE? – The maximum supported JTAG speed is 8 MHz.
  • Page 16: Support

    Make sure that the connectors are firmly attached. Check the cable connections on your SAM- ICE and the computer. If this does not solve the problem, please check if your cable is defective. If the USB cable is ok, try a different PC. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 17: Contacting Support

    Make sure that you have the following information available for the support team: A detailed description of the problem SAM-ICE serial number Output of JLink.exe if available Your findings on the signal analysis Information about your target hardware (processor, board etc.) AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 18: Glossary

    DLL. ™ EmbeddedICE ® The additional hardware provided by debuggable ARM processors to aid debugging. Halfword A 16-bit unit of information. Contents are taken as being an unsigned integer unless otherwise stated. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 19 This signal is known as nSYSRST in some other manuals. See also nTRST. nTRST Abbreviation of TAP Reset. The electronic signal that causes the target system TAP controller to be reset. This signal is known as nICERST in some other manuals. See also nSRST. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 20 Logic on a device which allows access to some or all of that device for test purposes. The circuit func- tionality is defined in IEEE1149.1. Target The actual processor (real silicon or simulated) on which the application program is running. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 21 A location within the image that will be monitored and that will cause execution to stop when it changes. Word A 32-bit unit of information. Contents are taken as being an unsigned integer unless otherwise stated. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 22: Errata

    SAM-ICE reset output (JTAG connector pin 15) is a push-pull stage with a 100 Ohm serial resistor. Workaround: Two workarounds are possible: Replace R19 by a Schottky diode with the same resistor footprint (e.g. BAT54J). Remove the resistor. This problem has been resolved in SAM-ICE V5.2. AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 23 AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 24: Revision History

    Section 9 Revision History AT91SAM-ICE User Guide Revision History Change Version Comments Request Ref. Section 1.1.1 ”Features of SAM-ICE” on page 1-1 , Support for adaptive clocking added 6206B 5182 Table 2-1, “Pinout,” pin 11, RTCK, Description rewritten. 6206A First Issue AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 25 AT91SAM-ICE User Guide 6206B–ATARM–04-Mar-08...
  • Page 26 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 ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY...
  • Page 27 Мы молодая и активно развивающаяся компания в области поставок электронных компонентов. Мы поставляем электронные компоненты отечественного и импортного производства напрямую от производителей и с крупнейших складов мира. Благодаря сотрудничеству с мировыми поставщиками мы осуществляем комплексные и плановые поставки широчайшего спектра электронных компонентов.

Table of Contents