On Fri, 13 Mar 2009, Rick Altherr wrote:

> On Mar 13, 2009, at 2:47 PM, Peter Denison wrote:
>> There are also adapters (at least one - USBprog) that rely on the fact that 
>> there are exactly 7 state transitions in every tms sequence. This is not 
>> immutable, but it will need coordination and will have to change if OpenOCD 
>> does.
>
> Does the adapter actually depend on the 7 state transitions or does the 
> driver for that adapter in OpenOCD rely on that.  If the former, we have a 
> problem.  If the latter, it just means we need to be sure to update the 
> driver.  As far as I have been able to discern, every single adapter OpenOCD 
> supports is just fed a stream of bytes indicating the pin states for the next 
> cycle.

The USBprog adapter firmware depends on doing things in 7-cycle groups. 
However, it is open-source firmware, so we can change it, but it will just 
need a load more coordination.

>From what you've said, it sounds like it's the only one that is like that. 
I strongly suspect that the adapter firmware was written with detailed 
internal knowledge of OpenOCD, and that at that stage 7 clocks for each 
transition fitted nicely.

P.S. Any chance of looking at the USBprog/JLink patch, at 
https://lists.berlios.de/pipermail/openocd-development/2009-March/004957.html

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

Reply via email to