Use JTAG state

This commit is contained in:
Alexey Starikovskiy
2023-08-29 20:00:28 +03:00
parent 1908ccd83b
commit 8976404b78
11 changed files with 42 additions and 38 deletions
+2 -1
View File
@@ -632,7 +632,8 @@ bool Gowin::connectJtagToMCU()
/* TN653 p. 9 */
bool Gowin::flashSRAM(const uint8_t *data, int length)
{
int tx_len, tx_end;
int tx_len;
Jtag::tapState_t tx_end;
int byte_length = length / 8;
ProgressBar progress("Flash SRAM", byte_length, 50, _quiet);