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

logitech-usb-restore does not match Logitech flashing tool #2

Open
hughsie opened this issue Dec 8, 2016 · 0 comments
Open

logitech-usb-restore does not match Logitech flashing tool #2

hughsie opened this issue Dec 8, 2016 · 0 comments

Comments

@hughsie
Copy link

hughsie commented Dec 8, 2016

In logitech-usb-restore you seem to have:

for payload in payloads:
  response = dongle.send_command(0x21, 0x09, 0x0200, 0x0000, payload)
response = dongle.send_command(0x21, 0x09, 0x0200, 0x0000, payloads[0])

But the logitech tools only write the first packet once, at the end of the flashing process. I assume this is on the logic that if flashing fails the interrupt vector will be set at 0xffff and thus the bootloader does not start the runtime firmware. I think you probably should skip the first payload packet in the same way to avoid broken hardware if the flashing is interrupted.

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

1 participant