I've managed to compile a working firmware with this config: https://github.com/gleber/qmk_firmware/commit/54078ec73c0ff2bd01984242f748a837c1954d03
This isn't tested much, just the basics: keys and split setup. LED, bootloader magic key and any other features are not yet implemented. Tested only the Miryoku layout so far.
I've disassembled it and found a few things.
Back of one of the sides looks like this:
A more close up photo of the chip shows some STM32 chip:
If you decode the QR code it gives you a short link to what seem to be JLC PCB page about this specific PCB:
- right: https://m-9.cn/2kx9vqhz04xv
- left: https://m-9.cn/2kx9vqu40dft
It includes product name 【X.Tips】X7S小分体键盘_-_V2.0_【热插拔】PCB-X7S-V2-R__20240726163326 which translates with Google Translate to 【X.Tips】X7S small split keyboard_-_V2.0_【Hot plug】PCB-X7S-V2-R__20240726163326
And these schematics images for the right side:
and for the left side:
Attached via-x7.json file was sent to one of the buyers by the seller. It works for my keyboard.
@ejingles @pragmaticgeek @zundr
I managed to fix it.
Since by USB it just couldn't communicate with my machine at all and just kept throwing the error: Unknown USB Device (Device Descriptor Request Failed) and shorting the PCB RESET pins did nothing, I had to buy one of those cheap ST-LINK V2 STLink CLONE (https://ibb.co/HCRhYmJ) to connect the keyboard to my pc, and use a 4 pin thingy (https://ibb.co/23JvCpj) I had laying around, because this PCB doesn't have embedded pins to make the connections we need.
Then after you have both things I mentioned above, follow these steps:
So now if you follow the QMK steps on how to compile (https://docs.qmk.fm/newbs_building_firmware#build-your-firmware) then flash (https://docs.qmk.fm/newbs_flashing#flash-your-keyboard-from-the-command-line) using the QMK CLI tool, when you end up on the "Bootloader not found. Make sure the board is in bootloader mode." prompt, just removing and reconnecting the USB cable should trigger the bootloader and start flashing.
FIY:
So, in the end of the day, I believe what happened was that the bootloader just died when we triggered to flash, and for some reason it affected the way the firmware should boot maybe? (don't quote me on that)
And the funny thing is, now if for some reason it errors when flashing the firmware binary, it just doesn't break like it did before. I can just replug and try flashing it again, the keyboard still works, the bootloader is still there, so yeah, confusing.