mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
gowin: try second eraseSRAM before writeSRAM. Not always working but better...
This commit is contained in:
@@ -353,6 +353,13 @@ void Gowin::programSRAM()
|
||||
if (!eraseSRAM())
|
||||
return;
|
||||
|
||||
/* GW5AST-138k WA. Temporary until found correct solution/sequence */
|
||||
if (is_gw5a && _idcode == 0x0001081b) {
|
||||
printf("double eraseSRAM\n");
|
||||
if (!eraseSRAM())
|
||||
return;
|
||||
}
|
||||
|
||||
/* load bitstream in SRAM */
|
||||
if (!writeSRAM(_fs->getData(), _fs->getLength()))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user