gowin: try second eraseSRAM before writeSRAM. Not always working but better...
This commit is contained in:
parent
163d83787a
commit
bd917d51ef
|
|
@ -353,6 +353,13 @@ void Gowin::programSRAM()
|
||||||
if (!eraseSRAM())
|
if (!eraseSRAM())
|
||||||
return;
|
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 */
|
/* load bitstream in SRAM */
|
||||||
if (!writeSRAM(_fs->getData(), _fs->getLength()))
|
if (!writeSRAM(_fs->getData(), _fs->getLength()))
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue