Closed mithro closed 9 years ago
I was able to get "Test 2 - FX2 enumerates from EEPROM with unconfigured FPGA" to work.
I did this with in circuit programming via;
first_byte = 0xC2;
with first_byte = 0xC0;
make
:00000001FF
Running the command sudo ./fxload -v -t fx2lp -D /dev/bus/usb/003/029 -s ./Vend_Ax.hex -d 1d50:60b5 -c 0x01 -I output.hex
(/dev/bus/usb/XXX/XXX can be found via lsusb)
This has been verified by me but I need to write up some good instructions.
Please verify the following;
Test 0 - Device doesn't enumerate without board power
Computer is connected to the Cypress FX2 while board is unpowered.
No device should be enumerated / discovered.
Test 1 - FX2 enumerates while board unconfigured.
EEPROM contents should be empty. FPGA SPI contents should be empty. Jumper P18 should be connected. Board should be powered on. Computer connected to the Cypress FX2.
Device should enumerate as an "Unconfigured Cypress FX2 device".
Test 2 - FX2 enumerates from EEPROM with unconfigured FPGA
The EEPROM should be programmed with the following data;
FPGA SPI contents should be empty. Jumper P18 should be connected. Board should be powered on. Computer connected to the Cypress FX2.
Device should enumerate with VID:0x1d50 PID:0x60b5
Test 3 - FX2 enumerates when EEPROM disconnected
The EEPROM should be programmed with the following data;
FPGA SPI contents should be empty. Jumper P18 should be disconnected. Board should be powered on. Computer connected to the Cypress FX2.
Device should enumerate as an "Unconfigured Cypress FX2 device".
Test 4 - FX2 enumerates with firmware overridden by FPGA
The EEPROM should be programmed with the following data;
FPGA SPI should be programmed with the "hdmi2usb-cypress-fx2-boot-test.bit" file. Jumper P18 should be connected. Board should be powered on. Computer is then connected to the Cypress FX2.
Device should enumerate with VID:0x1d50 PID:0x60b6
(Note PID is 0x60b 6 and not 0x60b 5)
Ported from http://redmine.numato.in/issues/1852