Welcome, Guest

Author Topic: ARM-USB-TINY-H clock polarity  (Read 634 times)

ralu

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
ARM-USB-TINY-H clock polarity
« on: May 07, 2019, 05:08:04 PM »
Clock polarity from olimex ARM-USB-TINY-H jtag seems to be inverted compared
to what is expected
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0499k/pge1418217063134.html
. Jtag dongle changes data at rising edge of clock. I speculate that this
is an issue whit some of boards although most of them works fine.

Target is LPC2148.  I am using standard openocd scripts in debian stable and I am looking
for a way to invert clock if possible and some pointers if that can be an issue with
some boards.
Best, Luka

LubOlimex

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1968
  • Karma: +50/-3
Re: ARM-USB-TINY-H clock polarity
« Reply #1 on: May 08, 2019, 03:39:54 PM »
Hello,

Seems like software incompatibility.

"...what is expected..." - It might be expected if you use debugger fully compliant with the DS-5 software tools but it is not expected when using OpenOCD. I didn't measure if your statement is correct, but in OpenOCD there is a command about the edge, ftdi_tdo_sample_edge rising|falling http://openocd.org/doc/html/Debug-Adapter-Configuration.html

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