First step is to recompile fx2_programmer so it will work in windows.
Download the fx2_prorammer source code.
Download MinGW
Add its binary path to your system environments path
Download libusb-win32
Copy the usb.h to the fx2_programmer folder
Copy the libusb.a from the lib\gcc folder to the fx2_programmer folder
modify the make file to use libusb.a instead of -lusb
open fx2_programmer.c
change usb.h to use “” instead of <>
change sleep to Sleep
in the command prompt type make fx2_programmer
test out the fx2_programmer
fx2_programmer any any dump_busses
Dump of USB subsystem:
bus bus-0 device \\.\libusb0-0001–0×046d-0×08d9 vendor id=0×046d product id=0x
08d9
bus bus-0 device \\.\libusb0-0002–0×1781-0×0b38 vendor id=0×1781 product id=0x
0b38
Attached is the windows binary files, and slightly modified code.
I had to hard code in the set 0xE600 1 and 0 into the program loop.
Attached is the source code, and binary.
Hopefully someone finds it handy.
It should also be noted that a driver needs to be installed for a device before fx2_programmer can se it.