Skip to content

Add logitech firmware dumping tool#6

Open
ranma wants to merge 4 commits intoBastilleResearch:masterfrom
ranma:master
Open

Add logitech firmware dumping tool#6
ranma wants to merge 4 commits intoBastilleResearch:masterfrom
ranma:master

Conversation

@ranma
Copy link
Copy Markdown

@ranma ranma commented Apr 9, 2017

No description provided.

@ijarraki
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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.

2 participants