-
Notifications
You must be signed in to change notification settings - Fork 297
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
Tang Nano 4K and 20K boards broken on vendor tools #618
Comments
Yesterday I've recieved a Tang Nano 20K and it compiled directly with the toolchain If you have certain bit-files, I can test for you. |
I have the boards by now, so what is needed is fixing the vendor integration. |
Please post your progress on that subject. I've managed to compile the firmware using I'm going to redo the program in Gowin EDA to check what the differences are in the header of the |
Hi, complete noob to FPGAs in general, but I managed to track down this issue to this commit (I'm also not able to add HyperRam to the 4k): Hoping that perhaps Gowin might have changed something in the toolset in the 4 years since, I simply removed the call to the hack. It now synthesises correctly, but the bootloader is stuck on the hyperram initialization step: HyperRAM init... Perhaps someone more versed in SoC/verilog/FPGAs can take a look? Hope this helps in any way! |
Hope that this helps on integrating the tools. I have encountered two problems:
So there are two problems. 1. cannot upload with 2. the
Conclusion |
@Peter-van-Tol Could you adds more details for "but fails with the openFPGALoader."? Adding the header as work around looks strange: all header's informations are for user, but are also present as a bit, or bits sequence, in the remaining part of the bitstream. Thanks |
@trabucayre : Adding the headers was really the only way to get it working. Maybe not all headers are required, so maybe the amount can be reduced by trying out which ones can be omitted. Is there a definition of the Relating to the fails with the openFPGALoader, I tried three scenario's:
|
Strange: I have tried today to build this gateware with both gowin and apicula:
Could you provides your OS (windows/mac/linux) and Thanks |
The OS is Linux. The version of The toolchain with |
On the 20K I needed to add
self.toolchain.options["use_mode_as_gpio"] = 1
and then stuff seemed to work, though I don't have the hardware currently so I'm hesitant to submit a PR until my AliExpress order arrives.4K seems bitrotted? First I got errors that
kB
isn't defined. There is a capital K definition but I'm not sure if that would mix bits and bytes. But when running--with-hyperram
there are further errors using V1.9.8:So that requires further investigation... the problem seems to be that the IDE is very particular about if its magic pin names are single bit vectors or single bits.
The text was updated successfully, but these errors were encountered: