-
Notifications
You must be signed in to change notification settings - Fork 270
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
Cannot flash Tang Nano 9k #251
Comments
Could you provides openFPGALoader version and your setup (computer/SBC and OS). |
===============================================================================
|
You use an intel x86 64bits computer: I have not seen issue in this situation (I have seen issue with some ARM boards). |
"Could you try in a first time to load into SRAM?" - yes, I have already tried... I will compile from source and try again with the newer version |
loading to SRAM is working or same issue appear? |
I compiled from source again in a new Manjaro with kernel 5.15.60-1-MANJARO I am going to make the same procedure and paste the output here |
I have also added the
considering that my device access group is not
the only modification I did in
I ran:
|
Ok: your previous error seems due the rules configuration (using root group may be not good for security). |
I am aware of the risks of using root permissions in that case, I only want to know what is going on. I have also tried to use the official gowin programmer but I could not detect the board either.... I will try to test it in another computer, but I am not so confident because I have got the same issue from an entire brand new machine with manjaro linux installed (I have also had problems with Ubuntu 22.04 LTS, too) |
Problem solved by using a second computer with MS Windows and GoWin Official Programmer as admin by erasing SRAM and embedded flash. I could flash the example project in the embedded flash memory using the second PC. The FPGA has successfully presented the led demo, so I went back to the original linux machine and used This was the result I have got in the manjaro linux machine: I did not make any configuration change from the last unsuccessful flash, just erased SRAM + embdFlash and come back again to original PC, I don't have idea what was the big deal so far to disable the flashing from linux. but now it is working! Thanks to @trabucayre attention closing the issue... |
Maybe it's related to the reboot: when you update user group for a user you have to logout and login again... Or simply reboot the computer. |
Is there not a way to erase this flash/resolve this issue without a windows device? I don’t have any available currently. |
Have you experimented the same issue recently? This issue is a bit old and outdated. Gowin's driver have received lot of improvement. |
I had a very similar sequence of problems, I think it started with my incorrect rules for the USB port and at some point After erasing and setting rules for USB as advised on Sipeed website it works correctly now. |
Thanks for your feedback. I have to see why doing the same thing with openFPGALoader. |
To my previous post - using Gowin Programmer did not do any help CRC errors and FTDI ones were appearing very @trabucayre @Chandler-Kluser After two dense days I found that my Tang Nano 9k is flashed perfectly fine 100% of times if .... I simply use the original usb-cable from the little box how it is shipped, otherwise - CRC errors / and further problems I have no idea what had happened ..... But possibly it is just a hardware issue - again using original usb cable |
Yes cable is an usual case of failure. |
I cannot flash my Tang Nano 9K with a default led example project provided by Sipeed.
I have fully compiled the bitstream file and used openFPGALoader to write to flash memory:
I have read issues #245 and this question from Stack Overflow, my user has all permissions to access FTDI device, which is listed by:
Here it is my rules.d file for this device:
This error happened only once, and then I couldn't even access the device anymore:
Neither with root priviledge:
Is there something I missed? Thanks in advance!
The text was updated successfully, but these errors were encountered: