background image

     

   

           

 

 

           

 

 

           

 

 

           

 

 

ARM-JTAG-EW 

 

      

          

 

        

 

        

 

        

 

        

 

        

 

        

 

 

User Manual

 All boards produced by Olimex are ROHS compliant

Rev.B, March 2009

Copyright(c) 2009, OLIMEX Ltd, All rights reserved

Summary of Contents for ARM-JTAG-EW

Page 1: ...ARM JTAG EW User Manual All boards produced by Olimex are ROHS compliant Rev B March 2009 Copyright c 2009 OLIMEX Ltd All rights reserved ...

Page 2: ...rts ARM targets working in voltage range 2 0 5 0V DC 1 USB full speed connection to the PC bi color status LED can provide 5 0V DC power to target via pin 19 of the JTAG connector measurement of target current consumption measurement of target MCU voltage and output voltage pins 1 and 19 of the JTAG connector JTAG and SWD TCK frequency range 6kHz 12MHz SWO frequency range 1kHz 3MHz dimensions 50x4...

Page 3: ... Cables 1 8 meter USB A B cable Software EW ARM 5 30 from IAR Systems AB 2 Hardware 2 1 USB Connector ARM JTAG EW has a standard USB device connector that requires a standard USB A B cable for connecting to a PC 2 2 JTAG Connector The JTAG connector pin description is given below Pin Signal Direc tion3 Description 1 UTG I Target reference voltage Target board must connect 3 Pin direction is from t...

Page 4: ...round 11 RTCK I Target JTAG return clock ARM JTAG EW has 100 Ω resistor in series with this input 12 GND Ground 13 TDO SWO I Target JTAG data output and Serial Wire Output ARM JTAG EW has 100 Ω resistor in series with this input 14 GND Ground 15 nSRST O open drain Target system reset ARM JTAG EW has 100 Ω resistor in series with this output Driven as open drain output 16 GND Ground 17 NC Not conne...

Page 5: ...linking is with a period of 128ms LED State Description OFF ARM JTAG EW is not connected to USB or it is in USB suspended state Slow RED blinking No target connected GREEN constantly on Target connected Fast RED blinking Target error caused by target current overconsumption or MCU voltage out of bounds GREEN blinking USB communication is taking place Slow blinking sequence GREEN RED OFF ARM JTAG E...

Page 6: ...re package from http www olimex com dev Extract it to a temporary directory on your hard drive using the password found in the box along with the ARM JTAG EW device 4 Plug ARM JTAG EW in your PC and wait Windows to ask you for drivers ...

Page 7: ...ll is replaced by ARM JTAG EW s one 4 1 Installing ARM JTAG EW DLL Download the ARM JTAG EW software package from http www olimex com dev Extract it to a temporary directory on your hard drive using the password found in the box along with the ARM JTAG EW device The software package contains the file jlinkarm dll Find it and copy it to the IAR ARM arm bin directory like this C copy c arm jtag ew 1...

Page 8: ...U_tg 3600 So when ARM JTAG EW detects that UTG 3000mV AND UTG 3600mV it will shift a request to the target CPU to halt Multiple inputs can be mixed into one event 3000 U_tg U_tg 3600 I_tgpwr 200 WARNING There is always some time between an actual event and the corresponding action by ARM JTAG EW Due to the limited sampling rate of analogue signals ARM JTAG EW cannot detect instantly changes on its...

Page 9: ...r voltages mA for currents Every analogue variable can be compared against at most two constants due to the availability of only two comparators in firmware A formal definition of the grammar is given below PRIMARY_BOOLEAN true false EXPR PRIMARY_ANALOG 0 9 U_tg I_tgpwr RELATIONAL_ANALOG PRIMARY_ANALOG PRIMARY_ANALOG Illustration 1 External Breakpoints Block Diagram UTG boolean function defined by...

Page 10: ... the following in your C SPY macro file execUserPreload __jlinkExecCommand extbkpt I_tgpwr 100 If you want to halt the target if its voltage goes out of the 3 0V 3 6V range then you can write a macro like this execUserPreload __jlinkExecCommand extbkpt 3000 U_tg U_tg 3600 The vmeter command can be used to get the current state of the event inputs __jlinkExecCommand vmeter An example output of this...

Page 11: ...set lines ARM JTAG EW has 100 Ω resistors in series with all its JTAG digital inputs and outputs If the target board has circuits for driving those signals this will result in contention Please remove all digital outputs LEDs RS232 drivers SPI I2C from the JTAG and reset lines 7 4 Target cannot be initialized reset halted Ensure that you have selected the proper reset strategy If target supports R...

Page 12: ...Min Typ Max Uni ts UCC ARM JTAG EW Power Supply Voltage From USB 4 0 5 5 V ICC ARM JTAG EW Power Supply Current Consumption From USB No target connected 40 mA UTG Target Voltage 2 0 5 54 V ITGPWR MAX Maximum current that can be drawn from target via JTAG connector pin 19 400 mA FTCK Frequency on TCK JTAG SW pin 5 12000 kHz FSWO SWO capture speed 1 3000 kHz 4 ARM JTAG EW outputs have 3 3V levels an...

Page 13: ...ed no kit no soldering required How to order You can order to us directly or by any of our distributors Check our web www olimex com dev for more info Revision history REV A February 2009 Initial release REV B March 2009 Added notes about SWD SWO ...

Page 14: ...y be adapted or reproduced in any material from except with the prior written permission of the copyright holder The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warrantie...

Page 15: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd ARM JTAG EW ...

Reviews: