From a3b8d3ff9862d2fcc927038310d00d26d90936eb Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sat, 19 Apr 2008 14:33:03 +0000 Subject: [PATCH] Fix [ 1925509 ] ftd2xx: SetBaudRate fails with FT245 git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1178 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 2 ++ jtag/src/tap/parport/ftd2xx.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 9cfd4abe..d5bb887e 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,7 @@ 2008-04-19 Kolja Waschk + * src/tap/parport/ftd2xx.c: SetBaudRate to 3E6, not 48E6. Should + fix [ 1925509 ] ftd2xx: SetBaudRate fails with FT245 * src/flash/intel.c: Handle chips that support "Mitsubishi standard/enhanced command set" just like Intel chips. Need to do more research about the differences (if any) [1946559] diff --git a/jtag/src/tap/parport/ftd2xx.c b/jtag/src/tap/parport/ftd2xx.c index c48b6e1b..722b073e 100644 --- a/jtag/src/tap/parport/ftd2xx.c +++ b/jtag/src/tap/parport/ftd2xx.c @@ -254,7 +254,7 @@ ftd2xx_std_open( parport_t *parport ) FT_Close(fc); return -1; } - if ((status = FT_SetBaudRate(fc, 48000000)) != FT_OK) { + if ((status = FT_SetBaudRate(fc, 3E6)) != FT_OK) { fprintf(stderr, "Can't set baudrate: %li\n", status); FT_Close(fc); return -1;