background image

AT91SAM-ICE User Guide

7-3

6206B–ATARM–04-Mar-08

Open collector

A signal that may be actively driven LOW by one or more drivers, and is otherwise passively pulled 
HIGH. Also known as a “wired AND” signal.

Processor Core

The part of a microprocessor that reads instructions from memory and executes them, including the 
instruction fetch unit, arithmetic and logic unit and the register bank. It excludes optional coprocessors, 
caches, and the memory management unit.

Program Status Register (PSR)

Contains some information about the current program and some information about the current proces-
sor. Often, therefore, also referred to as Processor Status Register.

Is also referred to as Current PSR (CPSR), to emphasize the distinction between it and the Saved PSR 
(SPSR). The SPSR holds the value the PSR had when the current function was called, and which will be 
restored when control is returned.

Remapping

Changing the address of physical 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 Time Operating System.

Scan Chain

A group of one or more registers from one or more TAP controllers connected between TDI and TDO, 
through which test data is shifted.

Semihosting

A mechanism whereby the target communicates I/O requests made in the application code to the host 
system, rather than attempting to support the I/O itself.

SWI

Software Interrupt. An instruction that causes the processor to call a programer-specified subroutine. 
Used by ARM

®

 to handle semihosting.

TAP Controller

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

Страница 1: ...6206B ATARM 04 Mar 08 AT91SAM ICE User Guide ...

Страница 2: ...1 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 23: ...8 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Страница 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 ...

Страница 25: ...9 2 AT91SAM ICE User Guide 6206B ATARM 04 Mar 08 ...

Страница 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 ...

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

Отзывы: