Olimex Support Forum

ARM => JTAG => Topic started by: Lauras on October 06, 2015, 08:28:06 PM

Title: How to change a driver for JTAG ARM-USB-TINY
Post by: Lauras on October 06, 2015, 08:28:06 PM
Hello,
I am a newbie to ARM, so i don't understand nothing about it..
My board is STM32-P152 from OLIMEX
I'm using JTAG ARM-USB-TINY from OLIMEX and IAR demo version.
When starting debbuging and downloading demo project IAR wrote that there is no USB driver...
Maybe my problem is that Device Manager JTAG is in :
Other devices
with driver name Olimex OpenOCD JTAG TINY
But not in
Universal Serial Bus controllers
with driver name  ARM-USB-TINY
It happened after a few experiments :)
How to solve this problem ?
Title: Re: How to change a driver for JTAG ARM-USB-TINY
Post by: JohnS on October 07, 2015, 04:09:00 PM
Just wondering which OS etc?

Also, did you ask IAR for help/ideas?

John
Title: Re: How to change a driver for JTAG ARM-USB-TINY
Post by: Lauras on October 07, 2015, 08:24:49 PM
OS is windows 7 32bit. I don't know which debbuger should i use in IAR
Title: Re: How to change a driver for JTAG ARM-USB-TINY
Post by: JohnS on October 08, 2015, 10:07:52 AM
I'd try zadig

MS make USB hard :(

John
Title: Re: How to change a driver for JTAG ARM-USB-TINY
Post by: LubOlimex on October 12, 2015, 08:52:11 AM
Hey,

Important for STM32-P152: The default demo software blocks the JTAG communication. A workaround is to press and hold button B2, then press RST, then release B2. This will shut down the display allowing you to erase the demo via JTAG and after that the JTAG should be available. It is good idea to use SWD interface for debugging/programming because of the multiplexing of the JTAG signal lines with the display lines. 

The driver for ARM-USB-TINY depends on the OpenOCD version used. If you use OpenOCD version prior to 0.8.0 - you need to use the libusb drivers. If you are using a newer OpenOCD version - just use Zadig and the WinUSB drivers. Note that there is Zadig release for Windows XP that is different from the Zadig releases for newer Windows versions.

Please read the user's manual carefully.

Best regards,
Lub/OLIMEX