Open FreddieChopin opened 5 months ago
I found the same issue, and came to the same conclusion that it is caused by e68e4c3.
Unfortunately ftconf.py with the -o option saves channel_a_type = 1
but ftconf.py with the -i option to ingest the just-generated file expects channel_a_type = FIFO
(or one of the CONFIG flags). It looks like you can avoid this issue by updating channel_a_type
in your config file as follows:
I have a custom device based on FT232H with external EEPROM. Programming it with pyftdi versions 0.55.0 and below worked fine. However with the most recent 0.55.4 I get an error with the most basic re-programming operation - I cannot write the EEPROM dump that I have just read from exactly the same device:
I attach this
dump.ini
file. dump.zipGenerally the same thing happens if I have an "erased" EEPROM and want to write my configuration there.
I believe this may be related to this commit, however this is just my guess: https://github.com/eblot/pyftdi/commit/e68e4c36a274233744cd07c1dd910a4604094c85
After a bit of debugging it seems that the key-value that causes this is
channel_a_type = 1
- if I remove this one line from thedump.ini
file, the dry-run programming works fine.