On Sunday 20 December 2009, Catalin Patulea wrote: > 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"
That should work on JTAG interfaces that wire SRST in a highly standardized way. As for example, it's hooked up to pin 15 on a standard ARM 20-pin JTAG header. But from what you've said, that's not the case for these adapters. So, not this one. > Or like this? > $_TARGETNAME configure -event reset-assert "usb_blaster_pin6 1" That makes more sense to me. Since it's more generic ... the pin is actually a GPIO, and this lets it be used for more than just SRST. And if it's pin #7 on some board ... easy tweak. (I would however make "usb_blaster pin6" be the command, not one long "usb_blaster_pin6".) That model can be used for interfaces other than USB-Blaster and friends, too. Like emu0/emu0 on xds100 and clones. - Dave _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
