Welcome, Guest

Author Topic: Use Olimex ARM-USB-OCD-H with SWD-Interface  (Read 904 times)

lorenz

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Use Olimex ARM-USB-OCD-H with SWD-Interface
« on: May 17, 2017, 12:01:52 PM »
Dear Ladies and Gentlemen,
I am using the Olimex ARM-USB-OCD-H Debugger with the jtag-adapter. The used controller is Atmel SAMD21. While connecting to the processor with OpenOCD i encountered an occasional error where the Processors registeres may not be read properly(0xFFFFFFF). This seems to be an issue with the hardware connection as the source seems to be an unstable connection of the OCD-H-Debugger with the SWD-Adapter or the SWD-adapter with my JTAG20pin-Cable. Is this an known issue or is my Adapter faulty?

Best regards
Lorenz Megele

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1709
  • Karma: +42/-2
Re: Use Olimex ARM-USB-OCD-H with SWD-Interface
« Reply #1 on: May 17, 2017, 04:25:56 PM »
This is most likely bad support for this specific chip in OpenOCD or improper project settings.

Yet, make sure to connect the SWD adapter to the debugger in the following way: ARM-USB-OCD-H debugger – SWD interface adapter – JTAG ribbon cable - target board; i.e. connect the SWD adapter directly to the programmer with no cable in-between them!
Technical support and documentation manager at Olimex