> Can you git bisect to find the problem commit?
>
After having a look at the git commits, it seems that the first commit from
2009-12-29 already has the broken version.
The sane version I was referring to, was passed to the mailing list by Catalin
Patulea (cat at vv.carleton.ca) on Sun Dec 20 09:25:38 CET 2009
(http://lists.berlios.de/pipermail/openocd-development/2009-December/013731.html).
I thought this to be the same version that was committed s initial version,
but unfortunatly it wasnt.
Maybe I can help out with this patch (I'm quit new to git, I hope I didnt mess
up something ;) )
index 1679040..b0df7d3 100644
--- a/src/jtag/drivers/usb_blaster.c
+++ b/src/jtag/drivers/usb_blaster.c
@@ -234,7 +234,7 @@ usb_blaster_buf_read(uint8_t *buf, unsigned size, uint32_t
*bytes_read)
#define NCE (1 << 2)
#define NCS (1 << 3)
#define TDI (1 << 4)
-#define LED (1 << 5)
+#define LED_OE (1 << 5)
#define READ (1 << 6)
#define SHMODE (1 << 7)
#define OTHERS ((1 << 2) | (1 << 3) | (1 << 5))
@@ -277,6 +277,9 @@ static void usb_blaster_write(int tck, int tms, int tdi)
if (tdi)
out_value |= TDI;
+ // enable output of CPLD
+ out_value |= LED_OE;
+
usb_blaster_write_data();
}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development