Comments (10)
Hi,
I have tried to load and flash bitstream on ecpix5 successfully.
One thing strange here: ecpix5 has a ft2232h not a ft4232.
Anyway: errors reported are produces at libftdi/libusb level, try to change your USB cable or (I see you uses a *VMWARE VM) trying first a direct access (msys2 package): sometime USB is unstable with a virtual machine (and if your VM report a ft4232 instead of a ft2232 maybe communication between libftdi and device is broken/bad).
from openfpgaloader.
Thanks for your reply.
I have just tried on a non-VM system (Ubuntu 22.04) with a different cable and it still shows the same errors. And my ECPIX definitely has a FT4232 - I can see the markings on the IC directly.
from openfpgaloader.
It's really weird: most of the time I see this type of error it's related to hardware... Could you try to reduce frequency?
For FT4232 vs FT2232 it's interesting, @lambdaconcept docs shows an FT2232 but maybe your board is a new release with a different cable.
from openfpgaloader.
You use sudo
to run openFPGALoader could you try:
- switching to root (
sudo /bin/bash
) or - following this page to have access right as simple user
I don't remember exactly but I have already seen issue when using sudo
from openfpgaloader.
Yes, I was just trying sudo to try to see if there were any permissions issues. It does the same thing with non-sudo. My board is very recent, so I believe it is a new revision. Are there any other working boards that use an FT4232?
from openfpgaloader.
Ok, interesting update. If I connect the board and try to flash a bitfile at 6MHz, not only do the errors come up but the device de-enumerates...
However, at 1MHz it works fine. Even more confusingly, after I flash it with 1MHz, I can then run the command again at 6MHz and it works fine... I can also flash it at 30MHz as long as I flash it with 1MHz first.
Not quite sure what to make of this.
from openfpgaloader.
Yes really interesting thing!
I have recently used a board with a ft4232 without noticing something like this -> I have to install an ubuntu (22.04) with docker to test if I'm able to reproduce this issue, and to see if it's openFPGALoader related or a regression somewhere between libftdi and libusb.
from openfpgaloader.
So I have been playing with this a bit because I figured like you that it was a hardware problem. It behaved the same with multiple different cables on multiple PCs. Just on a whim I tried unplugging and plugging the cable on the device side ~50 times - and this seems to have fixed it! I guess there was maybe some flux or debris inside the connector from manufacturing. Sorry, I probably should have checked this under the microscope or something earlier. I'm happy for you to close this, but perhaps this is a good opportunity to add a new board or something for the "R03" version of the ECPIX5 because it has the FT4232?
from openfpgaloader.
Great news! Thanks!
Yes sometime a simple debris may produces wrong behaviour :)
Yes. It make sense to add a new entry to this new ECPIX5's revision.
Thanks!
from openfpgaloader.
I have pushed a new board definition for R03 variant.
Thanks again
from openfpgaloader.
Related Issues (20)
- Which USB<->JTAG interface is the easiest/best/preferred to implement? HOT 3
- Loading Tang Primer 25K does not work both for SRAM and flash HOT 7
- Tang Primer 25K SRAM loading fails when flash is erased
- Terasic DE0-Nano (Cyclone IV) board HOT 2
- How to add new spiOverJtag.bit? HOT 7
- Unable to program CertusPro NX dv HOT 6
- Unable to flash spartan-6 HOT 7
- Feature request: Support Lilygo T-FPGA board with GWU2X USB-to-JTAG bridge HOT 18
- Programming of QSPI-flash (connected to arbitrary GPIO-pins of a MAX10 device) with openFPGALoader / spiOverJtag HOT 2
- Missing delay after loading spioverjtag? HOT 7
- flash.read_id() should be reachable from the command line HOT 3
- Cannot find board tangprimer25k HOT 12
- `git describe HEAD` gives misleading version information HOT 2
- olimex_gatemateevb: unable to flash HOT 14
- Artix Ultrasacle XCAU20P support HOT 2
- Adding Cyclone II support HOT 7
- Adding support for the Digilent XUP USB-JTAG Programmer
- unable to open ftdi device: -6 (ftdi_usb_reset failed) tang nano 20k HOT 11
- Refresh: FAIL on Lattice MachXO2 HOT 13
- cheat code support. 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.