Comments (21)
I will receive a mega in few days (or a week), will be able to work on adding external flash support.
from openfpgaloader.
Yes! I have received my board and started to see how to access flash for this family. It's not really complex (a bit tricky) but I have first to review a PR for gowin devices.
from openfpgaloader.
got your board ? ^_^
from openfpgaloader.
Good news! iām a newbie on this, thanks for your help!
from openfpgaloader.
i noticed that openFPGAloader support flash GW5A now! so happy!
but seems write to SRAM function bad now.... when Load a new fs file to SRAM, nothing happen, and READY led on board keeping ON, which should be off
here is log for SRAM upload
openFPGALoader -v ws2812_lcd_key.fs
No cable or board specified: using direct ft2232 interface
Jtag frequency : requested 6.00MHz -> real 6.00MHz
found 1 devices
index 0:
idcode 0x1081b
manufacturer Gowin
family GW5AST
model GW5AST-138
irlength 8
File type : fs
Parse file Parse ws2812_lcd_key.fs:
checksum 0xd735
Done
DONE
bitstream header infos
CRCCheck: ON
Compress: OFF
ConfDataLength: 21872
LoadingRate: 4629629
ProgramDoneBypass: OFF
SPIAddr: 00000000
SecurityBit: ON
idcode: 0001081b
before program sram: displayReadReg 00002622
Bad Command
Memory Erase
Reserved9
Non-JTAG configuration is active
Done Final
Erase SRAM before erase sram: displayReadReg 00004460
Memory Erase
Preamble
Non-JTAG configuration is active
Security Final
pollFlag: 40a0 (80)
pollFlag: 4080 (0)
pollFlag: 4080 (0)
pollFlag: 4080 (0)
pollFlag: 4080 (0)
pollFlag: 4080 (0)
pollFlag: 4080 (0)
pollFlag: a0 (20)
after erase sram: displayReadReg 000000a0
Memory Erase
System Edit Mode
pollFlag: 20 (0)
after erase sram: displayReadReg 00000020
Memory Erase
DONE
Load SRAM before write sram: displayReadReg 00000200
Reserved9
Load SRAM: [==================================================] 100.00%
Done
after write sram: displayReadReg 00002622
Bad Command
Memory Erase
Reserved9
Non-JTAG configuration is active
Done Final
DONE
after program sram: displayReadReg 00002622
Bad Command
Memory Erase
Reserved9
Non-JTAG configuration is active
Done Final
from openfpgaloader.
Currently SPI write is only supported for GW5A, not GW5AST (I don't know why but I have strange behaviour).
It's weird: I have tried yesterday with tangMega and not seen issue when trying to load SRAM, maybe device is in wrong state...
I have to investigate.
from openfpgaloader.
I have also to update status display: currently bit/function are displayed according to non GW5A(ST). For this family only GW5A-25 has the correct register decoding.
from openfpgaloader.
Currently SPI write is only supported for GW5A, not GW5AST (I don't know why but I have strange behaviour). It's weird: I have tried yesterday with tangMega and not seen issue when trying to load SRAM, maybe device is in wrong state... I have to investigate.
but i can write flash on my mega138pro..
from openfpgaloader.
Ok. So I have to recheck everything. SPI flash is seen but not all the time, it fails to write and I'm able to load SRAM. it's more or less totally opposite situation.
Could you try with openFPGALoader --bulk-erase
to see if after your able to load a bitstream (ie device is in wrong state due to an issue when bitstream was written).
from openfpgaloader.
when device under wrong state, other write is not work, even with --bulk-erase, need to repower it.
from openfpgaloader.
Related Issues (20)
- Support for FPGA MAX10 10M16DAU32417 IDCODE:0x31030dd HOT 2
- idCode detection failed on ULX3S HOT 14
- Timeout on Xilinx xc7a50tfgg484 with Spansion s25fl128l and digilent_hs3 HOT 11
- Unable to flash ecpix5 HOT 10
- Error: fail to open D:/a/msys64/ucrt64/share/openFPGALoader/spiOverJtag_xc6slx9tqg144.bit.gz HOT 2
- CH347 stuck on load for Xilinx and chip id mismatch on Lattice FPGA HOT 7
- Can't load gowin tangnano9k under OpenBSD HOT 3
- flash chip unknown, timeout HOT 9
- Support for the Alveo XCU55C FPGA HOT 1
- Documentation for github releases HOT 1
- cmsis dap link v2 support HOT 1
- Segmentation fault when programming GateMate FPGAs HOT 5
- Cannot write flash on arty_a7_100t [Error: flash chip unknown: use basic protection detection, then timeout: ff ff ff] HOT 3
- openfpgaloader got stuck when I load to Tang primer 20k HOT 5
- unable to open ftdi device: -6 (ftdi_usb_reset failed) HOT 2
- I can't communicate with my "tang nano 20k" HOT 2
- mismatch between target's idcode and bitstream idcode
- USBBlaster slow?
- PolarFire SoC Support
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.