I tried to fiddle with the CardKB mega328p chip, but have troubles connecting it to the programmer, as below:
$ avrdude -c usbasp -p atmega328p
avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
avrdude done. Thank you.
The pinout I inferred is also below (leftmost square hole for MISO, then Vcc, SCK, MOSI, RESET and Ground). the black thing on the wires is conductive paint I use as temporary solder, hasn't failed me yet ;)
My question is whether the pins are connected in the right order, as I could not find any official pinout except for the photo on AliExpress which indicated it is an ISP connector on the bottom of the keyboard.
If yes, I'll try soldering and changing kables or programmers to double check. I just don't have any idea if adding resistor or anything else could help in this case. Thanks for help.
EDIT: I also tried connecting the GND pin to all possible pins on the programmer. Also tried slow / power jumpers on and off.
Also, when I run AVRdude, the rgb led on the keyboard blinks shortly.