On 26 September 2012 22:19, Andreas Fritiofson <[email protected]> wrote: > > No, I'm saying that having srst open-drain in reset_config and the > following in the interface config: > > ftdi_layout_signal nSRST -noe 0x0020 > > has the same effect on the FTDI chip as having srst push-pull with the > following: > > ftdi_layout_signal nSRST -data 0x0020 > > Both options drive pin 0x0020 low when srst is asserted and drive it > high when it's deasserted. >
so if my understanding is getting any better then the following are the same (except last one). reset config srst open drain (default) ftdi_layout_init 0x0308 0x030b ftdi_layout_signal nSRST -noe 0x0200 reset config srst push pull ftdi_layout_signal nSRST -data 0x0200 reset config srst push pull ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200 however this is the only config that will treat the srst as open drain. reset config srst open drain (default) ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200 I have tested all the above with the str9 comstick that i had to hand, and they all work as expected. In this case the latter config was chosen as the srst is tied directly to the str9 on the comstick. Must say the new ftdi driver config is very flexible :-) Spen ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
