Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option --restore appears to do nothing #4

Open
samuelfmlourenco opened this issue Dec 15, 2015 · 1 comment
Open

Option --restore appears to do nothing #4

samuelfmlourenco opened this issue Dec 15, 2015 · 1 comment

Comments

@samuelfmlourenco
Copy link

When using --save, I can generate a file with the contents of the EEPROM, but using --restore on a new command line, with the created file as argument, does nothing. The old contents appear and the EEPROM is not modified at all. It is not possible to write a new FTDI chip using this method.

@syslogicsm
Copy link

To make --restore work on command line, I added the function ee_write(eeprom, len) at the end of the function restore_eeprom_from_file. This seems to work to write to a FTDI chip with the method. This should be included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants