In the mists of time SRST & TRST probably had some
well defined function and meaning.

However, over time MCU vendors have repurposed these
signals, tied them to other signals, etc. for various mysterious
and more or less well intended purposes.

The reset_config doc should explain that what SRST and TRST
does is actually HIGHLY target and architecture specific.


OpenOCD tries to allieviate the situation using two techniques:

- allow target scripts to define which signals that should be used
- the more common tricky repurposing of these signals such as having
srst pull trst are supported by reset_config


There ARE interfaces that do not have TRST and SRST both, but
really one is much better off considering reset_config a configuration
on how to operate the target. If TRST support is *required* by the target,
e.g. XScale, then interfaces that do not support that just will not
work.

-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to