timvideos / HDMI2USB-numato-opsis-hardware

The Numato Opsis board is the first fully open source HDMI2USB board.
Creative Commons Attribution Share Alike 4.0 International
105 stars 42 forks source link

Document the Cypress FX2 reset functionality #15

Closed mithro closed 9 years ago

mithro commented 9 years ago

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;

c0 50 1d b5 60 01 00 01

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;

c0 50 1d b5 60 01 00 01

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;

c0 50 1d b5 60 01 00 01

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

mithro commented 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;

:00000001FF
mithro commented 9 years ago

This has been verified by me but I need to write up some good instructions.