Author Topic: Trouble programming a lattice ice stick with diamond 3.10 programmer  (Read 3056 times)

0 Members and 1 Guest are viewing this topic.

Offline DmeadsTopic starter

  • Regular Contributor
  • *
  • Posts: 161
  • Country: us
  • who needs deep learning when you have 555 timers
Hey!

Just got an FPGA board from lattice.

I am going through all the steps in the quick start quide to program a blinking led (Im using the icecube2017 user guide). I want to get familiar with this software to use fpga in my projects.

I got through all the steps except programming the FPGA with diamond. the icestick just has a usb connector so I didnt use JTAG (i dont really know what that is tho)

I have tried different USB ports, but they don't work.

Here is the error message:

INFO - Check configuration setup: Start.

INFO - Check configuration setup: Successful (Ignored JTAG Connection Checking).

INFO - Device1 iCE40HX1K: SPI-M25P10-A: SPI Flash Erase,Program,Verify

Initializing...

IDCode Checking...

ERROR - Function:CHECK_ID
Data Expected: h10  Actual: hFF

ERROR - Operation: unsuccessful.

ERROR - Programming failed.


A little research showed maybe my ftdi drivers need to be updated? What are these drivers? I am running windows 10.



Any tips please?
 

Offline DmeadsTopic starter

  • Regular Contributor
  • *
  • Posts: 161
  • Country: us
  • who needs deep learning when you have 555 timers
Okay, I solved my own problem.

I want to leave this here for anyone who will need it in the future.

I was using the lattice IceCube2 quickstart guide to load an example sketch of a blinking LED to an Icestick (uses the Ice40HX1K fpga).
This user guide was very out of date (from 2013 I think).

Use this guide to make an LED blink instead:

http://thebcfactor.net/electronics/programmable-logic/lattice-icestick/example-1/

Most of the stuff is the same except for the flashing step.

This should save you some major frustration haha.




 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf