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