Comments (11)
HI,
just to be sure could you try using sudo
(and with -b tangnano20k
?
This issue seems to be at libftdi level.
from openfpgaloader.
hello! thank you for your quick response. I get the same error messages using sudo:
I verified on windows with the gowin ide and the board works. I reprogrammed it with a blink example, but it doesn't change any of my error messages on linux.
from openfpgaloader.
Hello again!
I just tried to use it on a live Lubuntu USB, and it works there. What packets could i have on my main install that would be broken/ missing? I have installed all the packets marked as needed to install from source:
(my system is up to date, the waiting to upgrade packages are still missing some dependencies to upgrade)
from openfpgaloader.
@H4-b Can you check the dmesg
output when you plug the tang nano ?
from openfpgaloader.
from openfpgaloader.
Seems good, I've noticed that here you didn't use sudo
as trabucayre said.
Edit. sorry, you are already root
from openfpgaloader.
I just tried to see the dmesg after trying to use openFPGALoader -b tangnano20k --detect
It says that it disconnected the device, and only on one of the two ports associated. I have no idea if that's normal or not.
edit: verified it, it doesn't happen on my live usb. still no idea what is wrong though.
from openfpgaloader.
Using sudo
is finally not required: your user seems to have correct right.
the device is disconnected because to have access to them, userspace needs to detach the driver: this is the reason of this message.
The most interesting thing is you are able to use openFPGALoader with a live OS (ie more or less native): your Linux is a WSL2? I have recently observed issues in this mode: cmsis-dap not working and debugging a CPU was impossible.
If so it's why gowin is able to work: it not in WSL2 environment. When openFPGALoader shows an error associated to libftdi/libusb it's usually a lowlevel issue (ie between userspace application and hardware.
from openfpgaloader.
No, my linux was a "standard" debian testing. I even tried reinstalling the FTDI related packages to search for corruption.
However, since the last reboot, my system choose to auto-destruct for some unknown reason (missing dependencies everywhere, gnome uninstalled itself...) so it seems like that was the problem, as it's now working on a fresh install.
However, my gowin IDE was in a VM and was working fine with port forwarding.
from openfpgaloader.
It seems like the bug is back. I manage to make it work sometimes, but other it just doesn't. I'm going to update this message with the dmesg and terminal output when it will want to magically work to see if there is any difference.
could it be the internal usb controllers of my computer?
I am now on a fresh install of debian testing on gnome desktop.
update: even by rolling back to my completely fresh install with timeshift, i cant make it work anymore. So i am back to square one: a fresh install, but nothing works.
I am on a framework 16 laptop, and sadly it isn't supported well enough on stable yet to just use it instead.
from openfpgaloader.
I choose to upgrade to unstable to test if the issue is gone, and it is. It seems like it's one of the current testing packages that is somewhat broken.
Tell me if you want to close this issue or not, as it's not really resolved but more circumvented.
I still have a full backup of the non-working setup if you want me to try some things to actually resolve the issue for others, or at least know where it's from.
from openfpgaloader.
Related Issues (20)
- Adding support for the Digilent XUP USB-JTAG Programmer
- Refresh: FAIL on Lattice MachXO2 HOT 13
- cheat code support. HOT 3
- Attempting to Flash SPI PROM of a custom board - Dragon-L HOT 24
- XC7A200 on TE0712: Boot from flash only after one time programming with Xilinx tools HOT 6
- Artix Ultrascale XCAU25P support for flash(mcs file)
- 3- vs. 4-Byte-Adressing: Flashing a MT25QL256 attached to Cyclone 10CL025 fails HOT 4
- Segmentation fault with unknown flash chip ID HOT 3
- Cannot find Board or Programming cable HOT 4
- How to add a Xilinx Spartan 7 Part? HOT 9
- Gowin GW2A-LV18EQ144C8 external flash troubles HOT 5
- Tang Nano 9K CRC error with -b tangnano9k HOT 13
- Support for xc3s700? HOT 3
- spiOverJtag support for more than one device on scan chain
- efinix: program reports success (returns 0) when programming fails HOT 3
- Efiinix: Occasional failure to detect SPI flash (possibly when flash device is still in in QSPI mode)
- Trying to Flash xc6slx25, But Found No spiOverJtag File HOT 6
- Request for C5E215 HOT 1
- Help with CYC5000 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfpgaloader.