On Sun, Dec 20, 2009 at 7:13 PM, David Brownell <[email protected]> wrote:
> On Sunday 20 December 2009, Catalin Patulea wrote:
>> Can you point me to (or quickly cook up) an example of using a
>> reset-handler to toggle TRST/SRST?
>
> The examples I have are for triggering reset on boards
> that don't have SRST at all ... see the reset-assert
> event handlers at the end of:
>
>        tcl/target/omap2420.cfg
>        tcl/target/omap3430.cfg
>
> Doing such stuff on a board with SRST would be just
> making the handler do
>
>        jtag_reset 0 1
>
> keeping TRST inactive (0), and making SRST active (1).
You'll have to bear with me here for a second, the last time I looked
at openocd was before this fancy Tcl scripting.

Are you saying you would like the reset config to look like this:
$_TARGETNAME configure -event reset-assert "jtag_reset 0 1"
Or like this?
$_TARGETNAME configure -event reset-assert "usb_blaster_pin6 1"
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to