tinyfpga / TinyFPGA-B-Series

Open source design files for the TinyFPGA B-Series boards.
GNU General Public License v3.0
190 stars 35 forks source link

unable to program tinyFPGA BX under windows 10 #20

Open simonbeaudoin0935 opened 5 years ago

simonbeaudoin0935 commented 5 years ago

I was able to build a bitstream. When I try to program it under windows 10 with the gui app, it keeps saying : Unable to communicate with TinyFPGA. Reconnect and reset TinyFPGA before programming.

I keep on trying to reset the board but nothing more happen.

RRob777 commented 3 years ago

Hello,

I have the same problem. When I want to program my Tiny FPGA BX I get this error message: "Unable to communicate with TinyFPGA. Reconnect and reset TinyFPGA before programming.".

I am also using windows 10. Does anyone have a solution?

simonbeaudoin0935 commented 3 years ago

No, never worked. I wanted to throw thia shit in the garbage, but ended up writing my own programmer using an arduino (mega, but a uno would do). Solder SPI pins to the tinyfpga flash pads. Anyway, it worked great this way

Compile que Qt application, and then flash this bitch

https://github.com/simonbeaudoin0935/TinyFPGA-Programmer

On Fri., Mar. 12, 2021, 6:41 p.m. RRob777 @.***> wrote:

Hello,

I have the same problem. When I want to program my Tiny FPGA BX I get this error message: "Unable to communicate with TinyFPGA. Reconnect and reset TinyFPGA before programming.".

I am also using windows 10. Does anyone have a solution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tinyfpga/TinyFPGA-B-Series/issues/20#issuecomment-797815586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7DX232VLUNEBENVXJOLUDTDKRA7ANCNFSM4GCXKUOA .

RRob777 commented 3 years ago

Hi. I found the solution. I use iCEcube2 (from Lattice) to design the VHDL code and to configure the pins used (order, layout, pull-up...). iCEcube2 then provides me a binary file (.bin). I thought to use the TinyFPGA-Programmer software but there is a problem with it (as explained above).

--> 1. The solution to program the Tiny FPGA BX is to follow carefully the instructions of this site stopping at point 3 (before downloading Atom):

TinyFPGA BX User Guide : https://tinyfpga.com/bx/guide.html

*If you encounter problems during the installation of the modules (Apio, tinyprog...) do not hesitate to type your error message (which appeared on the Windows command prompt) on google. There are often forums that have solved problems. **I have encountered this problem: No module named pyrsistent. Write in the Windows command prompt (cmd): pip install "pyrsistent==0.15.7"

  1. Then follow the instructions on this site from point 13 and stop after doing point 16:

https://www.centennialsoftwaresolutions.com/post/install-remove-tools-for-tinyfpga-bx-programming-and-program-the-board-on-windows-7-sp1

And there, if everything went well, you have programmed your Tiny FPGA BX. This method allows you to program your Tiny FPGA BX with the Windows command prompt (from a binare file (.bin)). For information, I am on Windows 10.

RRob777 commented 3 years ago

To reprogram your Tiny FPGA BX the next time, repeat step 2 after generating your binary file (.bin).