-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unnable to connect. #83
Comments
The project does assume that The icestick 'looks' like a typical ftdi USB-serial adaptor with two ports: the first is connected so as to allow its use as a programmer (which iceprog finds by its own method - clearly is working here). The second is connected via just tx and rx as a TTL level uart, and it's this one that shell.py is to be connected to, so you can talk to the swapforth system. Most of the time the problem is just that you may have another usb-serial adaptor already connected, so the numbering (the run On the other hand, I have had j1a builds that refused to connect - usually due to wrong baud clock settings. The serial port on the j1a is a fixed-speed only, and needs tweaking if the design clk rate is changed, for example by getting different PLL settings using icepll. Shouldn't be doing it out of the box though. |
Hello and thank you for followup, yes, I can see the two USB devices..
If I remove the card, there are none.
I'm not sure if this might be an issue with the diver?
Maybe the APIO is breaking things? |
Hi, just tried it on another two boards, they all fail... not sure what could be going on... reading through this http://www.latticesemi.com/~/media/LatticeSemi/Documents/ApplicationNotes/IK/iCE40sysCLOCKPLLDesignandUsageGuide.pdf?document_id=47778 to see if I can get up to speed on possible issue. Where in the code should I address the clk? |
Hi, I think the issue is that the connect python script is actually for python 2.x not python3. I took a fresh git clone of the repo, cd'd into j1a, and did
I had the same result you had - so it's certainly not just you. (my global 'python --version` is 3.10.8 on this system, I am using pyenv). On a hunch, I wondered whether the issue is that the python code is written for python2.x, so: in the j1a directory, I just did a
(I had previously installed pyserial with pip). pyenv is highly recommended to deal with issues of this nature, rather than using python3 or python2, you just call python directly. The above pyenv local setup automatically manages making that python2 of that specific installed version I had, in that directory. Else, it's probably not a huge issue for someone to fix by bringing the python code in this project up to date. PS. 143 words is just basewords, you probably want to PPS. Might be nice to be able to use icebram to update the fpga bitfile with the loaded forth state, rather than having to wait for the whole FPGA image to be rebuilt from source when the ram contents change - another nice little 'quality of life' project for someone ;) |
Ah, thank you for the follow up, this did fix the problem... now I can at least hunt down the issue and try to fix it for everyone... will be on two weeks time, I'm on stringent project at the moment. THANK YOU @RGD2 again for following up! |
I did not have success with the python script but did succeed using GTKTerm |
Hello,
I just tried accessing the board after loading the bin... and I get an empty screen.
This is the output loading the bin file;
I'm on linux
I'm hoping you can provide some guidance on to solve this.
The text was updated successfully, but these errors were encountered: