colognechip: performs reset after SPI Flash write

This commit is contained in:
Gwenhael Goavec-Merou
2025-05-01 16:19:05 +02:00
parent f177884d84
commit 4553bacb05
+2 -3
View File
@@ -161,6 +161,7 @@ bool CologneChip::post_flash_access()
_ftdi_jtag->gpio_set(_oen_pin);
}
usleep(SLEEP_US);
reset();
return true;
}
@@ -383,9 +384,7 @@ void CologneChip::programJTAG_flash(unsigned int offset, const uint8_t *data,
if (_verify)
flash.verify(offset, data, length);
if (_ftdi_jtag) {
_ftdi_jtag->gpio_set(_oen_pin);
}
post_flash_access();
}
/**