Simon,

> Additionally, the device expects the speed in Hz, not kHz. I figured
> this out be sniffing the USB traffic generated by IAR EWARM (using
> Olimex' JLINK emulation driver). Since the default speed in the target
> configuration file is 1000 kHz, this resulted in an effective speed of
> 1 kHz. This was probably the reason for the additional errors (JTAG
> chain timeout (?), as in private email from Dimitar Dimitrov, the
> original author of the driver and a former Olimex employee).
>

Good catch! JTAG chain timeout is expected in such circumstances.
Clocking the (presumably full) 4k buffer with 1kHz TCK frequency
easily exceeds the static timeout of 2 seconds, as currently defined
in the driver. Maybe timeout should be set dynamically based on JTAG
frequency?

Regards,
Dimitar
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to