November 23, 2024, 02:49:57 AM

ARM-USB-TINY-H clock polarity

Started by ralu, May 07, 2019, 05:08:04 PM

Previous topic - Next topic

ralu

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

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