background image

6.  Firmware Upgrade

 

 

In   order   to   manually   upgrade   the   ARM-JTAG-EW   firmware   do   the 
following:

1. Download

 

the

 

latest

 

software

 

package

 

from 

http://www.olimex.com/dev

2. Connect ARM-JTAG-EW to your PC.
3. Disconnect ARM-JTAG-EW from any target boards.
4. Run the provided 

arm-jtag-ew-fwupd.exe

 application.

5. When prompted, please install the drivers for the bootloader.

7.  Troubleshooting

 

 

7.1.  The DLL file libusb0.dll cannot be loaded.

 

 

Please check that the driver for ARM-JTAG-EW is installed properly.

7.2.  The firmware upgrade application and/or the DLL cannot initialize properly.

 

 

Please   check   that   you   have   installed   the   Visual   Studio   Redistributable 
Package and the .NET framework, as described in the section  

Software  

Installation

.

7.3.  ARM-JTAG-EW cannot pull high/down the JTAG or reset 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 
RTCK enable it. If target supports Serial Wire then select it. Otherwise set 
TCK to at least 1/6 of its CPU frequency. Don't forget that some targets 
(like SAM7) start with 32kHz clock so you'll have to set TCK to 5kHz. 

7.5.  SWO does not work and/or framing errors are reported

 

 

Ensure   that  you   have  selected   the  correct   target  CPU   frequency  in   the 
SWO setup menu. 

7.6.  SWO capture overrun is reported

 

 

This   might   be   caused   by   a   USB   congestion   and/or   slow   PC   host.   Try 
removing   other   USB   devices   from   the   hub   where   ARM-JTAG-EW   is 
connected. As a last resort select a lower SWO speed.

Содержание ARM-JTAG-EW

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 15: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd ARM JTAG EW ...

Отзывы: