qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.16k stars 39.1k forks source link

[Bug] [crkbd] rgbmatrix + avrdude not working properly (works with dfu) #7373

Closed leshow closed 4 years ago

leshow commented 4 years ago

I've been using dsanchezseco's map from master branch here

I have 2 crkbd's, one with 2 elite-c boards, the other with 2 pro micros. I recently built the pro micro one, and flashed this layout (but disabled the BOOTLOADER = qmk-dfu line)

and flashed with:

make clean
make crkbd:dsanchezseco:avrdude-split-left
make crkbd:dsanchezseco:avrdude-split-right RGB_MATRIX_SPLIT_RIGHT=yes

The left side appears to work fine, but the right side does not work. With or without RGB_MATRIX_SPLIT_RIGHT. Oddly, if I just plug in the right half, it works, it only stops working if I plug in both the left and right half. Both halves work independently, but when plugged together, only the right half stops working. I've tried with and without EE_HANDS also. The difference seems to be whether I use RGB_MATRIX or not with avrdude.

This exact layout works on my crkbd running the elite-c boards, when flashed with dfu.

HOWEVER,

If I flash a regular rgblight layout, both halves work just fine. So I know it's not the board or some hardware issue. The problem is with avrdude-split-right, or rgbmatrix, something like that.

System Information

leshow commented 4 years ago

It doesn't appear to have anything to do with RGBMATRIX, my bad. I'll close this issue till I have a better reproduce case.

leshow commented 4 years ago

Ok so, It seems like certain rgbmatrix animations cause this problem.

edit: it appears to have bricked the right half of the keyboard with the pro micros, I was cycling through the RGBMATRIX animations, the right half got stuck, and the left continued functioning normally. I have been unable to reset and flash the right half since.

leshow commented 4 years ago

Figured it out, faulty pro micro.