Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with ice40 blink HX1K -- Retracted! #3

Closed
ali-raheem opened this issue Mar 2, 2016 · 9 comments
Closed

Not working with ice40 blink HX1K -- Retracted! #3

ali-raheem opened this issue Mar 2, 2016 · 9 comments

Comments

@ali-raheem
Copy link

Retracted! Working well, I have a LP1K board in fact not a HX1K

~~Runs without error, board wont run (tried various examples including icestorm example for this board).

ali@ali-debian:~/Workspace/icestorm-tools/icestorm/examples/iceblink$ iceburn -e -v -w example.bin
Found iCE40 board serial: 013002808116
Erasing flash...

Writing image...
Verifying written image...~~

@ali-raheem ali-raheem changed the title Not working with ice40 blink HX1K Not working with ice40 blink HX1K -- Retracted! Mar 3, 2016
@davidcarne
Copy link
Owner

I guess if by retracted you mean you solved it, then I'll close this! Thanks for giving it a try!

By the way - did you get it working successfully on an HX1K board? if so, I'd like to update the readme to indicate its been tested on both. (I only have LP* series boards)

@ali-raheem
Copy link
Author

Unfortunately, I thought I had a hx1k but on closer inspection it was a
lp1k. And my issue was solved.

I wanted the hx1k specifically for that reason, maybe Farnell sent me it by
accident but the invoice seems to confirm that I am just a Dufus and
ordered the wrong one.

On Thu, 3 Mar 2016, 06:49 David Carne, notifications@github.com wrote:

I guess if by retracted you mean you solved it, then I'll close this!
Thanks for giving it a try!

By the way - did you get it working successfully on an HX1K board? if so,
I'd like to update the readme to indicate its been tested on both. (I only
have LP* series boards)


Reply to this email directly or view it on GitHub
#3 (comment).

@rngadam
Copy link

rngadam commented Mar 29, 2016

@wolfmankurd how did you get it working on the iCEblink40-LP1K exactly?

I'm trying to get the simple Verilog counter example. It compiles successfully but after I use iCEburn:

rngadam@rngadam-mac ~/h/p/c/s/i/e/iceblink-lp1k> ../../../iceBurn/iCEburn.py -e -v -w example.v 
Found iCE40 board serial: 013002809365
Erasing flash...

Writing image...
Verifying written image...

The board power on (red LED) but doesn't program (yellow LED DONE is off).

@rngadam
Copy link

rngadam commented Mar 29, 2016

OK, I figured it out: needed to use icemulti to package the bin to get it on the flash in the format expected!

@ali-raheem
Copy link
Author

I use this function:

function icesynth {
yosys -p "synth_ice40 -blif $1.blif" $1.v && arachne-pnr -d 1k -P qn84 -p $1.pcf $1.blif -o $1.asc && icepack $1.asc $1.bin
}

run like so

icesynth top

where you have a file top.v

@olsone
Copy link

olsone commented Apr 4, 2016

I was not able to program an Iceblink 40HX1k with iceBurn. I ordered this board to try J1A/Swapforth, which targets (via iceprog) an iceStick HX1k, which is out of stock.

regtool - succeeds on 2nd attempt for most register reads, writes.
iceburn - only identifies board serial number, then times out.

I'll get the iceBlink 40LP1k eval. I want to experiment with either of these parts because they are available in maker-friendly QFN packages at a low price (<$5 for 40HX/LP 1k).

Thanks for providing this tool--I'll report back when I have compared the LP and HX.

@olsone
Copy link

olsone commented Apr 6, 2016

I have now the IceBlink40 LP1K and HX1K. I'm on Ubuntu 14.04. The LP1K succeeded in programming on the first try (with the HX1K bitstream), but subsequent attempts time out until I cycle the power. I repeated this many times. I installed the Digilent Adept2 tools but their "dadutil" couldn't enumerate the board. Then I tried the HX1K board again. dadutil couldn't find it either, but IceBurn succeeded in programming it on the first try, and again after power cycling. So the LP1K and HX1K boards are behaving the same way. I don't know why the HX1K did not respond before.

@davidcarne
Copy link
Owner

Hey, thanks for trying out the tool. If HX1K's seem to work, I'll add them as "supported".

With regards to the timeout issue; could someone take some usb traces? (Wireshark can acquire them). I seem to have misplaced my LP1K board, so I can't test it myself at the moment.

@davidcarne
Copy link
Owner

Hi all. I'm going to close this issue for now since I can't recreate the timeout/reset issue.

If you can get captures, or let me know about the platform you're running on, please reopen and I'll try and diagnose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants