How to change a driver for JTAG ARM-USB-TINY

Started by Lauras, October 06, 2015, 08:28:06 PM

Previous topic - Next topic

Lauras

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 ?

JohnS

Just wondering which OS etc?

Also, did you ask IAR for help/ideas?

John

Lauras

OS is windows 7 32bit. I don't know which debbuger should i use in IAR

JohnS


LubOlimex

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
Technical support and documentation manager at Olimex