Closed gbin closed 8 years ago
@gbin there is probably a default value in the bitfile generation that is incorrect for the Mojo. I don't have a Mojo board, someone else contributed the board definition. I can try and investigate in the next couple days and/or track down the original contributor and see if there is something missing.
As a debug option, you can try and open the generated project file (.xise) with ISE, run the flow, verify it still fails. Then try and modify the bit generation settings (probably a pull-up (or not) on done or something) and see if it works.
So if I open the file verbatim with ISE, compile it by clicking click on "Generate Programming File", take the resulting bin and mojo-loading the bin, it works !
The problem is in the tcl script,
adding self.tcl_script += 'project set "Create Binary Configuration File" "true" -process "Generate Programming File"\n'
and removing self.tcl_script += "project set \"FPGA Start-Up Clock\" \"JTAG Clock\" -process \"Generate Programming File\" \n"
Makes the bin file directly loadable with mojo-loader.
@gbin, I added a simple flag to disable the jtag start-up clock. This should be fixed and work in the base. I will keep this open until verified on hardware.
@gbin, I believe this has been fixed but I don't have the hardware to verify. I am going to close this let me know if it is a problem in the future.
I am very new to the FPGA world so I might have done something stupid :)
My source file is:
my build file:
Note: I have tried to generate directly the .bin too by adding the line to the tcl script in ise.py:
self.tcl_script += 'project set "Create Binary Configuration File" "true" -process "Generate Programming File"\n'
Then I run mojov3.bin with mojo-loader but nothing happens, the DONE led is not even light up as it does when I load a correct .bin.