This is an automated email from Gerrit. Andreas Fritiofson (andreas.fritiof...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1998
-- gerrit commit 8e66b86153c4e4ad337846115fbbc407ea1e38f6 Author: Andreas Fritiofson <andreas.fritiof...@gmail.com> Date: Tue Feb 25 00:02:11 2014 +0100 ftdi: Add hack to get reset working Change-Id: If789543cf98aae6eef4bba9da12b33bf5c198827 Signed-off-by: Andreas Fritiofson <andreas.fritiof...@gmail.com> diff --git a/src/jtag/drivers/ftdi.c b/src/jtag/drivers/ftdi.c index a5657ea..5617599 100644 --- a/src/jtag/drivers/ftdi.c +++ b/src/jtag/drivers/ftdi.c @@ -821,6 +821,31 @@ COMMAND_HANDLER(ftdi_handle_vid_pid_command) return ERROR_OK; } +#if 1 +COMMAND_HANDLER(reset_hack_command) +{ + LOG_DEBUG("Yuk!"); + return ERROR_OK; +} + +#include <jtag/tcl.h> + +static const struct command_registration ugly_fcking_hack_handlers[] = { + { + .name = "arp_init-reset", + .mode = COMMAND_ANY, + .handler = reset_hack_command, + .usage = "" + }, + { + .name = "tapisenabled", + .mode = COMMAND_EXEC, + .jim_handler = jim_jtag_tap_enabler, + }, + COMMAND_REGISTRATION_DONE +}; +#endif + static const struct command_registration ftdi_command_handlers[] = { { .name = "ftdi_device_desc", @@ -883,6 +908,15 @@ static const struct command_registration ftdi_command_handlers[] = { .help = "the vendor ID and product ID of the FTDI device", .usage = "(vid pid)* ", }, +#if 1 + /* FIXME: Investigate what the non-hackish version of getting reset working is. */ + { + .name = "jtag", + .mode = COMMAND_ANY, + .usage = "", + .chain = ugly_fcking_hack_handlers, + }, +#endif COMMAND_REGISTRATION_DONE }; -- ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel