biemster / 3keys_1knob

Custom firmware for a 3-key + rotary encoder macropad (https://hackaday.io/project/189914)
40 stars 12 forks source link

Original Firmware? #5

Open jdw1023 opened 9 months ago

jdw1023 commented 9 months ago

Hi, just wondering if you have a dump of the original firmware that came with this device?

biemster commented 9 months ago

Unfortunately I don't. I also seem to remember that the ch552 is read protected?

jdw1023 commented 9 months ago

Upon searching, it appears that the ch552 is indeed read-protected. Although it seems that (perhap in some version?) the bootloader have a vulnerability that allows brute-forcing the firmware byte by byte by using the verify command.

https://github.com/rgwan/librech551/issues/7 https://www.youtube.com/watch?v=BVWLijlnwQI

kaechele commented 7 months ago

Unless you find a version that comes with an older bootloader than 2.40 then there may be a chance to dump the original firmware with the tricks mentioned above. But with bootloader 2.40 it is no longer possible, and this is what my device has.