Just to add the changed parts of Makefile and fsusb.c for fsusb-0.1.11. The same changes are applied to usb_pickit by Mark Rages. 1) Makefile # This file is part of fsusb_picdem # from http://internetking.org/fsusb/ # by Rick Luddy, version 0.1.11 # Trying to port it to Windows by # Chen Xiaofan # add this line to point to the correct # location of libusb under windows # try /c/Progra~1/libusb if not working LIBUSB=c:\Progra~1\libusb OPTS=-Wall -D_GNU_SOURCE OBJS=fsusb.o rjlhex.o memimg.o CFLAGS=$(OPTS) -I$(LIBUSB)/include # change this line to point to the # correct MingW version of libusb #LDFLAGS=-L$(LIBUSB)/lib -lusb LDFLAGS=-L$(LIBUSB)/lib/gcc -lusb 2)fsusb.c /* changes by Chen Xiaofan */ /* geteuid is only working on Linux */ /* if (geteuid()!=0) { bad("This program must be run as root, or made setuid root"); } */ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist