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

application doesnt run on windows #12

Open
Joshinken opened this issue Feb 3, 2022 · 1 comment
Open

application doesnt run on windows #12

Joshinken opened this issue Feb 3, 2022 · 1 comment

Comments

@Joshinken
Copy link

Joshinken commented Feb 3, 2022

this is an issue with a known workaround, and here is the solution if anyone else is encountering the same issues i did

  1. clone the tinyFPGA programmer application repo, as well as its 2 dependencies, "a-series programmer" and "b-series"
    (if you clone it using the recursive command, that will do it automatically, but if youre on windows, chances are you arent downloading this using the command line)
  2. copy the folder "tinyfpgab" from "b-series/programmer" into the tinyfpga programmer repo directory, so its in the same folder as the "tinyfpga-programmer-gui.py"
  3. install python 2.7
  4. copy the folders tcl8.5 and tk8.5 from c:/python27/tcl to c:/python27/lib (note: these directories may change depending on your python install. you may just have to find your python install folder wherever it is. the folders will always be named tcl and lib, though)
  5. open cmd (windows key+r, type "cmd", press enter), use the cd command to navigate to your repo, and then run the commands "pip install pyserial", followed by "python tinyfpga-programmer-gui.py"
  6. (optional) i suggest making a .bat file containing that last command so you dont have to redo that every time
@Joshinken
Copy link
Author

there is, at least to me, currently no known way of launching the .exe file

launching the program on linux requires the first 2 steps, and a few extra pip commands which im sure you can figure out yourself if youre using linux

jiapei100 pushed a commit to LongerVisionRobot/TinyFPGA-Programmer-Application that referenced this issue Dec 3, 2023
Fix for Issue tinyfpga#11, provide consistent usage of "--mode" parameter.

    --mode is not mandatory for all use-cases of the programmer

    while flashing m4app or appfpga images, --mode [m4/fpga/fpga-m4] should be specified - this is enforced, and error message displayed if not specified

    standalone use of --mode continues to be available :
    qfprog --mode to read the currently active mode on the board
    qfprog --mode [m4/fpga/fpga-m4] to set the mode, without needing to flash images.
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

1 participant