00001 import time 00002 import USBP 00003 00004 00005 c = USBP.USBP() 00006 print 'INIT USB' 00007 c.initUSB(0) 00008 00009 # Load Firmware will auto Re-enumerate 00010 print 'LOAD FX2 Firmware' 00011 c.loadFxFirmware('xem.hex') 00012 00013 # Load the FPGA 00014 #print 'Configure FPGA....' 00015 #c.configFPGA('pugboard_top.bit') 00016 00017
1.5.1-p1