On Tuesday 02 March 2010, simon qian wrote: > There is an error, what I mean should be swd_add_swdio_seq not > swd_add_tms_seq.
We have no swd_*() funtions at all for now, so I'm not sure where this error "is" ... > Under a generic multi-interface framework, an interface-related function can > only be called when the interface is enabled. > For example, if JTAG is enabled, jtag_* can be called, and if SWD is > enabled, swd_* can be called. I like that model ... but we don't have it today. > So dap_to_swd should call jtag_add_tms_seq or swd_add_swdio_seq according to > the different dap mode, although the code may be the same. > It will gain the maximum compatibility. Actually if it's in SWD mode, it could be a NOP. :) _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development