mateuszradomski / re-masterkeys

Reverse Engineering of the Cooler Master Masterkeys line of keyboards
10 stars 1 forks source link

Pro L RGB Support #6

Open hansemro opened 1 year ago

hansemro commented 1 year ago

HW info:

Tasks:

hansemro commented 1 year ago

ISP info:

$ ./pok3rtool -t isp info --ok
Opened Holtek ISP USB
0000  54160001 00000004 3f003f00 ffffffff fcffffff ffffffff ffffffff ffffffff | T.......?.?.....................
0020  f9efffff ffffffff ffffffff ffffffff ffffffff 08910000 ffffffff ffffffff | ................................
ISP version: v100
model: HT32F1654
page size in bytes: 1024
flash size in bytes: 64512
flash security: true
option byte protection: true
flash page protection: fffff000 ffffffff ffffffff ffffffff
status: 2
true

Also has vulnerable ISP.

hansemro commented 1 year ago

QMK with MBI5042 RGB matrix driver: prolrgb_mbi5042_qmk

hansemro commented 1 year ago

Pro L RGB and Pro L White share the same key and LED matrices, so I had an easier time porting QMK.

hansemro commented 1 year ago

Interestingly Pro L RGB's IAP bootloader does not allow read command even for checking application firmware version. I will update my fork of pok3rtool soon to workaround this quirk.

hansemro commented 1 year ago

Experimental pok3rtool fork that uses checkFlash command for validation (instead of readFlash): https://github.com/hansemro/pok3rtool/commits/cmprolrgb-test