David Brownell wrote:
>> A board may stretch SRST, so you *have* to be able to wait a
>> (user-defined) amount of time after SRESET assertion/deassertion before 
>> talking to anything in the chain. This is also true if the SRESET 
>> assertion is not caused by OpenOCD directly.
>>     
>
> Understood.  This is part of why some JTAG adapters provide
> inputs for SRST, not just outputs.  It'd be nice if the
> FT2232 ones provided a "USB interrupt" to give hosts an
> asynch (more or less) notification that it was asserted.
>   
This won't help if the FTDI library asserts SRST when calling the init
function. At that point, the interrupts are probably not yet set up
correctly.

If the library does assert SRST during init without being told to do
that, then OpenOCD needs to know about that and at least apply the
configured delays so that the chain is in working order.

cu
Michael

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

Reply via email to