damdoy / ice40_ultraplus_examples

Examples for iCE40 UltraPlus FPGA: BRAM, SPRAM, SPI, flash, DSP and a working RISC-V implementation
Mozilla Public License 2.0
247 stars 44 forks source link

make prog not work #9

Open quantrpeter opened 1 year ago

quantrpeter commented 1 year ago

hi, when i plugin the usb, my ubuntu mount it as a drive, and make prog not working, please help

/home/peter/workspace/ice40_ultraplus_examples/leds>make prog iceprog -S leds.bin init.. Can't find iCE FTDI USB device (vendor_id 0x0403, device_id 0x6010 or 0x6014). ABORT. make: *** [Makefile:10: prog] Error 2

damdoy commented 1 year ago

Hi,

It seems strange that your Ubuntu is recognising it as a drive, is it reading the flash?

If you are using the breakout board, can you please try to change the J6 jumpers orientation to make a direct connection to the ice40 instead of the flash and retry make prog (see picture enclosed)?

Also, as make prog tries to program the ice40up, have you tried make prog_flash, that should put the fpga bitstream in flash instead?

image