On Fri, Apr 29, 2011 at 3:32 PM, Jonas Hoerberg <jhorb...@sauer-danfoss.com> wrote: > > On Friday, April 29, 2011 3:03 PM, Øyvind Harboe > [mailto:oyvind.har...@zylin.com] wrote: >> >> So is this something that should be fixed or is this an >> inherent limitation of the parport driver? >> >> The parport drivers main purpose, IMHO, is to act as reference >> code for the bitbang driver. > > I believe that extremely few use the "parport_toggling_time_command" > command. However the bug will be very annoying for those who does. > My opinion is that we should fix this or else we should remove the parport > toggling time setting feature. > I see some quick and dirty fixes but none quick and clean fix at the moment. > Alternative A: make "parport_handle_parport_toggling_time_command" ignore the > return value of "jtag_get_speed". > Alternative B: make "parport_handle_parport_toggling_time_command" skip the > "jtag_get_speed" call when "bitbang_interface" is clear.
I don't mind leaving a hack behind in the parport driver to move things forward here. Perhaps add a hack in a seperate patch with some good comments? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development