Welcome, Guest

Author Topic: Change debugger from ARM-USB-TINY-H to ARM-USB-OCD-H  (Read 615 times)

cliff

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Change debugger from ARM-USB-TINY-H to ARM-USB-OCD-H
« on: December 07, 2017, 04:14:34 AM »
I have used debugger ARM-USB-TINY-H to connect Eclipse to develop RISC-V. Now, I will change debugger to ARM-USB-OCD-H due to voltage. Where can I find openOCD config for ARM-USB-OCD-H or sample configuration file?

JohnS

  • Hero Member
  • *****
  • Posts: 1709
  • Karma: +33/-45
Re: Change debugger from ARM-USB-TINY-H to ARM-USB-OCD-H
« Reply #1 on: December 07, 2017, 08:47:09 AM »
google / bing

John

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1819
  • Karma: +46/-2
Re: Change debugger from ARM-USB-TINY-H to ARM-USB-OCD-H
« Reply #2 on: December 07, 2017, 10:13:27 AM »
Hey,

It should be pretty easy and straight forward to switch from ARM-USB-TINY-H to ARM-USB-OCD-H, just the script is slightly different. How to find the script?

In OpenOCD there are already configuration files for ARM-USB-OCD-H, too. Either check your existing OpenOCD folders or  download and extract this archive from the page of the product: https://www.olimex.com/Products/ARM/JTAG/_resources/OpenOCD-OLIMEX-WINDOWS.zip (it doesn't matter that it was compiled for Windows, we only need the .cfg). Depending on the drivers that you use find olimex-arm-usb-ocd-h.cfg in either \scripts\interface or \scripts\interface\ftdi - or if you are unsure whether your OpenOCD configuration requires LibUSB or FTDI drivers test both cfgs.

If you are using Windows, let me know, I can give you tips for the driver installation.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex