Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- But the ftdi dll seems to be able to access the usb blaster fine : ftlstndev 1 ftgetdescriptions USB-Blaster ftopen 0 FTDI USB device 0 opened, Handle : 40973760 40973760 --- Quote End --- Great. I haven't tried accessing a USB-Blaster under windows. --- Quote Start --- But now I am not sure what will happen to any data I write to the handle --- Quote End --- Write some test code; a) Toggle TCK, while keeping all other bits high, so according to the protocol: 0011_1111 b /* bit mode, don't read-back, OE + TDI + CS# + CE# + TCK high */ 0011_1110 b /* drop TCK low */ So fill a write buffer with 3-bytes, i.e., 3Fh, 3Eh, 3Fh, and write it to the USB-Blaster. Probe the TCK pin and you will see a ~1us low pulse on TCK. Viola, you now have control of your USB-Blaster! Cheers, Dave