background image

Headquarters

International

Atmel Corporation
2325 Orchard Parkway
San Jose, CA 95131
USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600

Atmel Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369

Atmel Europe
Le Krebs
8, Rue Jean-Pierre Timbaud
BP 309
78054 Saint-Quentin-en-
Yvelines Cedex
France
Tel: (33) 1-30-60-70-00 
Fax: (33) 1-30-60-71-11

Atmel Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581

Product Contact

Web Site

www.atmel.com
www.atmel.com/AT91SAM 

Technical Support

AT91SAM Support
Atmel techincal support

Sales Contacts

www.atmel.com/contacts/

Literature Requests
www.atmel.com/literature

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 
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 INCIDEN-
TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF 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 product 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’s products are not intended, authorized, or warranted for use 
as components in applications intended to support or sustain life.

© 2008 Atmel Corporation. All rights reserved. Atmel®, logo and combinations thereof and others are registered trademarks or trademarks of 
Atmel Corporation or its subsidiaries.  Windows® and others are registered trademark or trademarks of Microsoft Corporation in the US and/or 
other countries.. ARM®, the ARMPowered® logo and others are the registered trademarks, or trademarks of ARM Ltd. Other terms and product 

6206B–ATARM–04-Mar-08

Summary of Contents for AT91SAM-ICE

Page 1: ...6206B ATARM 04 Mar 08 AT91SAM ICE User Guide ...

Page 2: ...1 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Page 3: ...s with SAM ICE 2 2 Section 3 Setup 3 1 3 1 Installing the USB Driver 3 1 3 1 1 Verifying Correct Driver Installation 3 3 3 2 Debug Installation 3 4 3 3 Connecting the Target System 3 4 3 3 1 Power on Sequence 3 4 3 3 2 Verifying Target Device Connection 3 4 3 4 Problems 3 4 Section 4 SAM ICE Related Software 4 1 4 1 Overview 4 1 4 2 Free Software 4 1 4 2 1 JLink exe Command Line Tool 4 1 4 2 2 SAM...

Page 4: ...6 1 Troubleshooting 6 1 6 1 1 General Procedure 6 1 6 1 2 Typical Problem Scenarios 6 1 6 2 Contacting Support 6 2 Section 7 Glossary 7 1 7 1 Terminology 7 1 Section 8 Errata 8 1 8 1 Reset Problem on the SAM ICE V5 1 8 1 Section 9 Revision History 9 1 9 1 AT91SAM ICE User Guide Revision History 9 1 ...

Page 5: ...eed recognition All JTAG signals can be monitored Support for multiple devices Fully plug and play compatible Standard 20 pin JTAG connector Wide target voltage range 1 2V to 3 3V USB and 20 pin ribbon cable included Real time memory viewer J Mem included SAM ICE TCP IP server included can use SAM ICE via TCP IP networks RDI server available can use SAM ICE with RDI compliant software Support for ...

Page 6: ...T91 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 Relative Humidity non condensing 90 rH Size without cables 100 mm x 53 mm x 27 mm Weight without cables 70 g Electromagnetic Compatibility EMC EN 55022 EN 55024 Supported OS Microsoft Windows2000 XP Table 1 1 SAM ICE ...

Page 7: ...connected to nTRST on the target CPU This pin is normally pulled HIGH on the target to avoid unintentional resets when there is no connection 4 GND Common ground 5 TDI Output JTAG data input of target CPU It is recommended that this pin is pulled to a defined state on the target board Typically connected to TDI on target CPU 6 GND Common ground 7 TMS Output JTAG mode set input of target CPU This p...

Page 8: ... core Connections 12 GND Common ground 13 TDO Input JTAG data output from target CPU Typically connected to TDO on target CPU 14 GND Common ground 15 RESET I O Target CPU reset signal 16 GND Common ground 17 NC This pin is not connected in SAM ICE 18 GND Common ground 19 NC This pin is not connected in SAM ICE 20 GND Common ground Table 2 1 Pinout Continued Pin Signal Type Description JTAG TDO TDI...

Page 9: ... SAM ICE is plugged into the computer s USB port or when the computer is first powered on after connecting 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 ...

Page 10: ...river available on the DVD ROM to your location 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 ...

Page 11: ...l enumeration the LED stays on permanently Start the provided sample application JLink exe JLink exe should display the build date of the SAM ICE firmware the serial number a target voltage of 0 000V if a target is not connected to SAM ICE and the speed selection See the screenshot below In addition to this you may verify the driver installation by consulting the Windows device manager If the driv...

Page 12: ... System 3 3 1 Power on Sequence SAM ICE must be powered on before connecting it to the target device First connect SAM ICE to the host system via the USB and then connect SAM ICE to the target device via JTAG Power on the device after you have connected SAM ICE to it 3 3 2 Verifying Target Device Connection If the USB driver is working properly and your SAM ICE is connected to the host system you ...

Page 13: ... the ARM core and the ICE breaker module 4 2 2 SAM ICE TCP IP Server Remote SAM ICE Use 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 Table 4 1 Available Software Packages Software Description JLink exe Free Command line tool ...

Page 14: ...ion registers while the target is running This makes it possible to look into the memory of an ARM chip at run time 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 ...

Page 15: ...G speed is 8 MHz Can I access individual ICE registers via SAM ICE Yes you can access all individual ICE registers via SAM ICE Can SAM ICE read back the status of the JTAG pins Yes the status of all pins can be read This includes the outputs of SAM ICE as well as the supply voltage and can be useful to detect hardware problems on the target system Does SAM ICE support the embedded trace macro ETM ...

Page 16: ...tart JLink exe 13 If JLink exe reports the SAM ICE serial number and the target processor s core ID the SAM ICE is working properly and cannot be the cause of your problem 14 If JLink exe is unable to read the target processor s core ID you should analyze the communica tion between your target and SAM ICE with a logic analyzer or oscilloscope 15 If your problem persists and you own an original SAM...

Page 17: ...auses a The JTAG cable is defective b The target hardware is defective Corrective action Follow the steps described in Section 6 1 1 6 2 Contacting Support Before contacting support assure that you have tried to solve your problem by following the steps out lined in section Section 6 1 1 You may also try your SAM ICE with another PC and if possible with another target system to see if it works the...

Page 18: ...ain memory Coprocessor An additional processor that is used for certain operations for example for floating point math calcula tions signal processing or memory management Dirty data When referring to a processor data cache data that has been written to the cache but has not been writ ten to main memory Only write back caches can have dirty data because a write through cache writes data to the cac...

Page 19: ... controls the operation of the TAP IR See Instruction Register Joint Test Action Group JTAG The name of the standards group which created the IEEE 1149 1 specification Little endian Memory organization where the least significant byte of a word is at a lower address than the most signif icant byte See also Big endian Memory Management Unit MMU Hardware that controls caches and access permissions t...

Page 20: ...l memory or devices after the application has started executing This is typically done to allow RAM to replace ROM once the initialization has been done Remote Debug Interface RDI RDI is an open ARM standard procedural interface between a debugger and the debug agent The wid est possible adoption of this standard is encouraged RTCK Returned TCK The signal which enables Adaptive Clocking RTOS Real ...

Page 21: ...cting the last TAP controller to the Multi ICE Interface Unit Test Access Port TAP The port used to access a device s TAP Controller Comprises TCK TMS TDI TDO and nTRST optional Transistor transistor Logic TTL A type of logic design in which two bipolar transistors drive the logic output to one or zero LSI and VLSI logic often used TTL with HIGH logic level approaching 5V and LOW approaching 0V Wa...

Page 22: ... by the AT91 target may be inoperative due to the fact that the 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 or Remove the resistor This problem has been resolved in SAM ICE V5 2 R19 ...

Page 23: ...8 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Page 24: ... Revision History 9 1 AT91SAM ICE User Guide Revision History Version Comments Change Request Ref 6206B Section 1 1 1 Features of SAM ICE on page 1 1 Support for adaptive clocking added Table 2 1 Pinout pin 11 RTCK Description rewritten 5182 6206A First Issue ...

Page 25: ...9 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Page 26: ...E 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 INCIDEN TAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF 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 ...

Page 27: ...мые продукты мы предоставляем гарантию Осуществляем поставки продукции под контролем ВП МО РФ на предприятия военно промышленного комплекса России а также работаем в рамках 275 ФЗ с открытием отдельных счетов в уполномоченном банке Система менеджмента качества компании соответствует требованиям ГОСТ ISO 9001 Минимальные сроки поставки гибкие цены неограниченный ассортимент и индивидуальный подход ...

Reviews: