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

Add logitech firmware dumping tool #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ranma
Copy link

@ranma ranma commented Apr 9, 2017

No description provided.

@ijarraki
Copy link

I really do appreciate the ability to back up the stock firmware but how in the name of all that is holy are we supposed to flash the files made by this tool back onto the device?

The included tools seem incompatible with the backup files, please advise.

@ranma
Copy link
Author

ranma commented Nov 4, 2017

Just convert the .bin into an intel hex file (.ihx), see the toplevel makefile:

objcopy -I binary bin/dongle.formatted.bin -O ihex bin/dongle.formatted.ihx

@ijarraki
Copy link

ijarraki commented Nov 6, 2017

I figured it out on my own using bin2hex but thank you :).

Any way you know of to dump and flash firmware onto RQR24 dongles? If I were able to dump the firmware I could flash it via Logitechs old flasher, suggestions?

@ijarraki
Copy link

ijarraki commented Nov 6, 2017

I was mostly worried about the infopage.bin created by your backup tool and did not want to brick the dongle :)

@ranma
Copy link
Author

ranma commented Nov 6, 2017

You shouldn't need to touch the infopage data, but it might be good to keep as a backup. It's a separate flash area and only some parts of it are writeable without using the SPI interface for programming.
Also generally the bootloader area in the device is write-protected, but the bootloader extends into the non-writeprotected area at the end of the flash.
The bootloader runs first on power-up and checks two pins (P0.4 and P0.5), if the two pins are connected or the payload in flash is corrupt it goes to the bootloader flashing mode, otherwise the payload is started.

RQR24 use a different microcontroller, I'd guess the flashing protocol is probably the same, but I haven't looked at those.

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

Successfully merging this pull request may close these issues.

None yet

2 participants