Comments (18)
I have received my board today.
After a quick search on gowin website I have found a doc about protocol (instructions to send).
It looks really similar to FTDI's MPSSE.
I think it's not possible to use directly libftdi but this seems not really hard to implement. I will try it ASAP.
from openfpgaloader.
I have already seen this board, and I think I have to bought one (or ask for free sample ;-) ).
The main issue with gowin's stuff is the totally lake of documentations, most of the time you have partial/incomplete, wrong documentations.
from openfpgaloader.
Do you speak Mandarin? ... https://cdn.gowinsemi.com.cn/UG1003.pdf
from openfpgaloader.
Not really, but this doc explain how to use a gowin's library to use this chip no?
My interest isn't to use an external library but implement the protocol ;-)
But I assume wireshark will be my friend.
from openfpgaloader.
Very nice!
from openfpgaloader.
I also bought this cool board, I'm trying to use it with the toolchain yosis+nextpnr+gowin_pack+openFPGAloader.
The GW1NSR-4C is supported by the apicula project but I'm struggling to flash the bitstream to the FPGA through the Gowin Programmer as it is complaining about a wrong ID CODE and I don't know why.
So I'm waiting that the GWU2X will be supported by openFPGAloader because it is a really cool project, I can help with testing stuff.
Also, I found a little bit of documentation here that should be helpful to add the support.
Thank you.
from openfpgaloader.
Hi.
Gowin GWU2X and lilygo T-FPGA are now supported.
Is it good to you?
from openfpgaloader.
Yes, thank you, I tried flashing to SRAM with -m
and it works, when I try to write to flash with -f
I get, during the Erase FLASH phase, Write failed with error -7, Failed to program FPGA: std:exception
from openfpgaloader.
Thanks for your feedback: I will try with a different computer to see if it's an hardware issue.
Could you share your setup ? OS / VM ?
Thnaks
from openfpgaloader.
I tried with this example https://github.com/Xinyuan-LilyGO/T-FPGA/tree/main/example/FPGA/led/src.
I synthesized it with the Gowin IDE educational 1.9.9 on Windows and then I used Ubuntu 22.04 on WSL to flash it, using openFPGALoader
from openfpgaloader.
Thanks for informations. Is it possible to you to test with a native linux? I have seen lot of issues with WSL (and I have to find why).
from openfpgaloader.
I noticed this strange behavior, it seems that when I use the verbose flag the IDCODE gets corrupted
from openfpgaloader.
And then, trying to detect the FPGA with openFPGALoader --detect --cable gwu2x
gives the same error
from openfpgaloader.
This is the output I get when, after rebooting the device, I try to flash it with -f -v
so in verbose mode
from openfpgaloader.
This timeout (-7) is fixed: stupid optimisation before pushing: 65356== 0x10000 ie needs 17bits but I have used a 16bits variable...
But now it seems to have a problem with the bitstream: I obtain an error (mismatch between read checksum and computed). Maybe another issue with a variable or a size. But I have to check if the same FPGA and an FTDI I have a similar error or if it's gwu2x related bug.
from openfpgaloader.
If you have an FTDI and a 13-pin flat cable you can directly access JTAG lanes using the white connector as you can see here
from openfpgaloader.
Unfortunately no. I will switch to my tangNano 4k to check before continuing to debug this board.
from openfpgaloader.
With tangnano4k Flash sequence is working: I have to recheck everything here to see where is issue with gwu2x.
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
- 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 1
- Cannot find board tangprimer25k HOT 9
- `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 8
- 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.