Git Product home page Git Product logo

iceburn's People

Contributors

danielg avatar davidcarne avatar tilk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iceburn's Issues

Help request (PyUSB problems?) w/ HX1K board

Sorry about filing this as an "issue" ... I have no idea how else to do this.

I bought a HX1K based board and ... I'll omit the backstory.
Anyway, I'm using HEAD from both your repository and walac's pyusb repository, and on a freshly-inserted device I see the following:

$ ./regtool.py
Traceback (most recent call last):
File "./regtool.py", line 31, in
main()
File "./regtool.py", line 20, in main
for atype, arg in args.actions:
TypeError: 'NoneType' object is not iterable
$ ./regtool.py
Traceback (most recent call last):
File "./regtool.py", line 31, in
main()
File "./regtool.py", line 20, in main
for atype, arg in args.actions:
TypeError: 'NoneType' object is not iterable
$ ./iCEburn.py
$ ./iCEburn.py
Traceback (most recent call last):
File "./iCEburn.py", line 75, in
main()
File "./iCEburn.py", line 20, in main
with board.get_gpio() as gpio:
File "/home/rjacobs/src/iceBurn/libiceblink.py", line 149, in enter
self.open()
File "/home/rjacobs/src/iceBurn/libiceblink.py", line 161, in open
self.dev.checked_cmd(0x03, 0x00, "gpioopen", [0x00], noret=True)
File "/home/rjacobs/src/iceBurn/libiceblink.py", line 339, in checked_cmd
status, respl = self.cmd(cmd, subcmd, payload, ressize, show)
File "/home/rjacobs/src/iceBurn/libiceblink.py", line 349, in cmd
ressize)
File "/home/rjacobs/src/iceBurn/libiceblink.py", line 362, in cmd_i
res = bytes(self.ep_cmdin.read(result_size))
File "/usr/local/lib/python3.4/dist-packages/usb/core.py", line 364, in read
return self.device.read(self, size_or_buffer, timeout)
File "/usr/local/lib/python3.4/dist-packages/usb/core.py", line 918, in read
self.__get_timeout(timeout))
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb0.py", line 489, in bulk_read
timeout)
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb0.py", line 562, in __read
timeout
File "/usr/local/lib/python3.4/dist-packages/usb/backend/libusb0.py", line 380, in _check
raise USBError(errmsg, ret)
usb.core.USBError: [Errno None] b'No error'

Subsequent execution of either iCEburn or regtool return the final longest backtrace.

Help?

No iCEburn.py

Great work on this project, but I am having terrible trouble getting this installed. All i can do is create an egg file, but there's nothing i can do to make it run. I've tried installing it and running from in python3. I've tried to run it with python3 -m, i've tried installing it, and it just disappears. If i try and run the egg directly it says it can't find main even though i can see it in the source code.

Is there any way the documentation can clarify how to get a iCEburn.py file out of the installation? This is driving me nuts, i've been googling for hours trying to figure this out. I'm a C / C++ developer, so python for me is the antichrist, i just don't understand it at all.

Need to unplug/replug after every use

Hi,

First, thanks for this utility, really useful :)

Now, I'm having an issue with it is that after using it, I need to unplug and replug the board or I get a "timeout" error from PyUSB the second time I try.

ATM I've resolved it by doing a .reset() on the board.dev before quitting but that seems a bit brute-force.

I'm using Python 3.4 and git master of pyusb.

Cheers,

Sylvain

Not working with ice40 blink HX1K -- Retracted!

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...~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.