Author Topic: 8$ iCE40 developer board..  (Read 7775 times)

0 Members and 1 Guest are viewing this topic.

Offline aventuri

  • Contributor
  • Posts: 18
  • Country: it
8$ iCE40 developer board..
« on: September 17, 2017, 05:15:50 PM »
i've just found this Upduino board, a Lattice iCE40 based design for less then 8$ shipping included!! tell me about cheapness..
BTW it looks like an Ultra Plus version of Lattice FPGA with ~5K LUT  and boasting 8 MAC/DSP cores, 1Mbit of added RAM, I2C HW cores. it's a beefy IC (with respect to Lattice lineup, of course..)
 
it's also promoted by Lattice Semi itself..  that's a kind of an endorsement!
 
two downsides:
* you need to stick with Icecube2 for design, as it's still one of the few iCE40 devices still not supported by the free toolchain arachne-pnr/icestorm..
* there's no programmer on board and so need a Raspi or similar SBC with SPI port.. not a big deal..

there's schematic and all, so pretty documented project

looking at the Linked-in page of the owner of the site, i would say he's a Lattice "insider" and these boards are heavily subsidzed, but it's just my speculation..

me, i'm curious so i've committed for a couple and see how they fares.. eventually put up a post at the right time
 
bests

 
The following users thanked this post: edavid

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 530
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: 8$ iCE40 developer board..
« Reply #1 on: September 18, 2017, 05:22:52 AM »
Nice!
 

Offline Sal Ammoniac

  • Frequent Contributor
  • **
  • Posts: 686
  • Country: us
Re: 8$ iCE40 developer board..
« Reply #2 on: September 18, 2017, 07:32:58 AM »
What's wrong with Icecube2?
Never trust a government that doesn't trust you.
 

Offline wilfred

  • Super Contributor
  • ***
  • Posts: 4577
  • Country: au
Re: 8$ iCE40 developer board..
« Reply #3 on: September 18, 2017, 11:33:58 AM »
What's wrong with Icecube2?
My inference is that is your only choice. I didn't draw any other conclusions from the OP.
 

Offline cleaningOut

  • Regular Contributor
  • *
  • Posts: 197
Re: 8$ iCE40 developer board..
« Reply #4 on: September 18, 2017, 12:30:38 PM »
Ice40s look like they'd be really good for a minimouse. Seems like all the competitors these days just use MCUs.
 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 530
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: 8$ iCE40 developer board..
« Reply #5 on: September 18, 2017, 02:56:17 PM »
What's wrong with Icecube2?
Only works in Windows 7-10 and Red Hat Linux. That's me out!
 
 

Offline daybyter

  • Frequent Contributor
  • **
  • Posts: 346
  • Country: de
Re: 8$ iCE40 developer board..
« Reply #6 on: September 18, 2017, 08:54:50 PM »
Use a VirtualBox ?
 

Offline mubes

  • Regular Contributor
  • *
  • Posts: 171
  • Country: gb
  • Do Not Boil
Re: 8$ iCE40 developer board..
« Reply #7 on: September 18, 2017, 08:59:06 PM »
Um....I tend to use icestorm but unless things have changed _very_ recently then Linux is deffo a supported platform. There are some gotchyas to getting is going and their support is write-only, but the stuff is (was) there.

Dave
 

Offline joshtyler

  • Contributor
  • Posts: 25
  • Country: gb
Re: 8$ iCE40 developer board..
« Reply #8 on: September 18, 2017, 10:08:02 PM »
I believe that Red Hat is the only officially supported linux distro, but other distros work just fine. icecube2 works well for me on Arch.

Project Icestorm is much more pleasant to use however.
 

Offline ZaneKaminski

  • Contributor
  • Posts: 12
  • Country: us
Re: 8$ iCE40 developer board..
« Reply #9 on: September 19, 2017, 03:08:41 AM »
iCE40 UltraPlus is an amazing part. Looks like a regular iCE40 at first, but it has more block RAM--128 kbytes in four separate banks--than any other FPGA anywhere near the same implementation cost. That's why it's pretty light on I/O; I guess they used all their die area up for sram. I've been eyeing this part for a few months, so I'm glad to score this devkit for so cheap.
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 1891
  • Country: gb
Re: 8$ iCE40 developer board..
« Reply #10 on: September 19, 2017, 04:26:06 AM »
What's wrong with Icecube2?
Only works in Windows 7-10 and Red Hat Linux. That's me out!

Works fine under wine. In my case on OS X, but i see no reason why it shouldn't work OK on any random Linux.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline aventuri

  • Contributor
  • Posts: 18
  • Country: it
Re: 8$ iCE40 developer board..
« Reply #11 on: September 19, 2017, 06:57:45 AM »
i've just got the devices by snail mail; they were packaged in a very thin envelope indeed. that's a bit cheap..

in attach the first shot; sorry it's fuzzy, my phone doesn't macro very well..

in my hand the device by front side with the FPGA, the other in the "protective" bag is on the back side, so you can see the SPI flash to;. assembled on both front and back ..expensive!

now let's see if they fire up for the blinking led test..
 

Offline eliocor

  • Supporter
  • ****
  • Posts: 280
  • Country: it
    • rhodiatoce
Re: 8$ iCE40 developer board..
« Reply #12 on: September 19, 2017, 07:32:09 AM »
Am I reading it wrong, or is the date on the postage stamp: "22 Sep 2017"?  :o

@AVenturi: are you living in Italy or in the USA? Your flag is like mine, but...
 
« Last Edit: September 19, 2017, 07:42:33 AM by eliocor »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2474
  • Country: us
Re: 8$ iCE40 developer board..
« Reply #13 on: September 19, 2017, 07:34:57 AM »
i've just got the devices by snail mail; they were packaged in a very thin envelope indeed. that's a bit cheap..

If the envelope is more than 1/4" thick, the postage rate goes up from $1 to $13  >:(
 

Offline aventuri

  • Contributor
  • Posts: 18
  • Country: it
Re: 8$ iCE40 developer board..
« Reply #14 on: September 19, 2017, 09:03:12 AM »
yes, i'm still living in Italy!  :)

the time stamp is a bit fuzzy.. of course cant be 22.9! as today is only 19..  i suppose the packet was sent 1 week ago or so..
 

Offline daybyter

  • Frequent Contributor
  • **
  • Posts: 346
  • Country: de
Re: 8$ iCE40 developer board..
« Reply #15 on: September 19, 2017, 11:40:00 AM »
How do you program the fpga? It has to be done via SPI? I ordered one of these boards now, too, and thougt about using some arduino as a programmer? (Don't have a raspberry. Just an orange pi.)
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 1891
  • Country: gb
Re: 8$ iCE40 developer board..
« Reply #16 on: September 20, 2017, 01:11:38 AM »
How do you program the fpga? It has to be done via SPI? I ordered one of these boards now, too, and thougt about using some arduino as a programmer? (Don't have a raspberry. Just an orange pi.)

Read the datasheet for the full details, but basically you can choose between:
  • Program the FPGA RAM via SPI from a microcontroller
  • Program the SPI EEPROM on the board, and the FPGA will program its own RAM from that at startup
  • In addition, on some other members of the iCE40 family program a write-once configuration PROM on the FPGA over SPI

From a cursory glance at the board's schematic it would appear to have strapping for choosing between the first two options.

Note that this particular board is specifically designed to fit the Arduino Micro/nano pinouts, so obviously programming the FPGA from an Arduino is going to be possible. Note that all the iCE40 parts are maximum 3V3 IO (3V6 abs. max.).
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline mark03

  • Frequent Contributor
  • **
  • Posts: 260
  • Country: us
Re: 8$ iCE40 developer board..
« Reply #17 on: September 20, 2017, 01:46:28 AM »
If nothing else, it's apparently the only way to obtain the largest ultraplus ice40 in a QFN package.  I've been interested in that part too, but nobody has stock that I know of.  I guess the risk is that you might learn to like the chip, only to find out that it will *never* be available in small quantities for your projects.
 

Offline daybyter

  • Frequent Contributor
  • **
  • Posts: 346
  • Country: de
Re: 8$ iCE40 developer board..
« Reply #18 on: September 20, 2017, 02:37:17 AM »
I ordered such a board to give it a try.

What still irritates me, that Lattice doesn't have PDF's with datasheets on their website, like Xilinx or Altera have. Still have no clue about max frequencies or such.
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 1891
  • Country: gb
Re: 8$ iCE40 developer board..
« Reply #19 on: September 20, 2017, 03:33:35 AM »
I ordered such a board to give it a try.

What still irritates me, that Lattice doesn't have PDF's with datasheets on their website, like Xilinx or Altera have. Still have no clue about max frequencies or such.

Err, they most certainly do. Either that or the ghosts of PALs and GALs put them in my datasheets folder.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 2936
  • Country: nl
Re: 8$ iCE40 developer board..
« Reply #20 on: September 20, 2017, 06:40:45 AM »
If nothing else, it's apparently the only way to obtain the largest ultraplus ice40 in a QFN package.  I've been interested in that part too, but nobody has stock that I know of.  I guess the risk is that you might learn to like the chip, only to find out that it will *never* be available in small quantities for your projects.
Are they playing some office politics with this part?

It seems almost impossible that there is no demand.
 

Offline Back2Volts

  • Supporter
  • ****
  • Posts: 386
  • Country: us
Re: 8$ iCE40 developer board..
« Reply #21 on: September 20, 2017, 12:30:17 PM »
I have just ordered one.   May be I can learn something about FPGAs this winter.
 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 530
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: 8$ iCE40 developer board..
« Reply #22 on: September 20, 2017, 07:56:49 PM »
Quote from: joshtyler
I believe that Red Hat is the only officially supported linux distro, but other distros work just fine. icecube2 works well for me on Arch.
I tried, I really did - but after wasting the whole evening I am giving up.

First problem was the license checker couldn't find my network card. Turns out it only looks for an interface called 'eth0'. Found several online tutorials on how to change the interface name - all different so which one to try? Edit this file with VI they said - file doesn't exist, VI is a disgusting piece of crap. Manage to create the file, reboot, and... no change. Turns out there's another file called GRUB that has default settings in it. Remove line that sets up interfaces, reboot and... success!

Run Icecube software and it seems to be happy - except it can't find the tool directory so it can't compile or synthesize anything. Wot's this - a directory full of 64 bit executables - but my machine is 32 bit!
       
 

Offline daybyter

  • Frequent Contributor
  • **
  • Posts: 346
  • Country: de
Re: 8$ iCE40 developer board..
« Reply #23 on: September 20, 2017, 08:28:34 PM »
It's the other way around here with many tools. I have to run quartus and ise sims in 32 bit virtual boxes on my 64 bit machine.

On topic:



But maybe we could start an upduino 'get started' thread here.  Seems like there are not many tutorials yet.
 

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1300
  • Country: dk
Re: 8$ iCE40 developer board..
« Reply #24 on: September 23, 2017, 05:25:54 PM »
Have a board underway

I can't download the Icecube2 sw  >:(
It says page not found , on both that one , and the licence gen page.
I have had a lattice account for some time , but haven't been logged in for 1+ year.
They write something about 1 buisiness day to activate a new/sleeping account  :palm:

I can download the PDF's etc.
But no sw

/Bingo

Ps: Attached a Makefile version of the Raspi programmer  (rename to .tar.gz)
« Last Edit: September 23, 2017, 06:29:17 PM by bingo600 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf