tmk / tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M
3.96k stars 1.7k forks source link

Model F 83-keys XT 83-key - Occasional stuck key, keyboard freezes #766

Closed GrimbleFitz closed 11 months ago

GrimbleFitz commented 11 months ago

I've used my converter without issue since #751, but have recently experienced frequent freezes and stuck keys. It happens roughly every 5 to 15 minutes, lasting <10 seconds each time. Oftentimes, the key I was pressing when the issue occurs will repeat for several seconds while the the keyboard is locked up. Then the keyboard will resume normal function until it happens again.

Here's the keyboard booting up,

Listening:

TMK:b0ca95/LUFA:d6a7df

USB configured.

Loop start. I2500 I2500 2517 PRT:21 ISR:AAA0 rAA A5501 wFF R R R R R R R R R R A6220 wFF R R R R R R R R R R 6939 ERR:11 ISR:8000 6939 ERR:11 ISR:8000 X7440 X7441 rAA W7474 R7975

and later when the issue occurs.

r35 keyboard: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 r35 57608 ERR:20 ISR:C000 E57609 keyboard: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 keyboard: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I57615 57659 ERR:20 ISR:FC00 E57659 keyboard: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I57663 57669 PRT:21 ISR:0EA0 r0E r8E A60664 wFF R R R R R R R R R R 61383 ERR:11 ISR:8000 X61884 rAA W61913 R62415 ID:FFFC(XT_IBM) S62415 L62416 r0E keyboard: 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r0E r8E keyboard: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Steps I've taken to remedy the issue: 1. Clean the keyboard, 2. Check all connections, 3. Unplug/replug, 4. Update with fresh firmware from tmk-kbd.com

tmk commented 11 months ago
  1. You said: I've used my converter without issue since #751
  2. Firmware version showed in the log: TMK:b0ca95/LUFA:d6a7df is what fixed 751 back in Feb.

Judging from two points above firmware won't be problem here, hardware of converter or keyboard can cause probably. Change of temperature and humidity may reveal this.

tmk commented 11 months ago

Post closeup pic of your covnerter hardware if you are not familiar with these things. I can check it briefly for you.

I'm afraid of ProMicro and pull-up. https://github.com/tmk/tmk_keyboard/wiki/Pro-Micro https://github.com/tmk/tmk_keyboard/wiki/FAQ#pull-up-resistor

GrimbleFitz commented 11 months ago

I hate to be another example of someone that didn't listen thoroughly enough to your instructions, but it probably was the lack of a pull-up resistor causing my problems. I had spent hours troubleshooting this converter when I first put it together and must have removed the resistor during that process. It did not initially occur to me to check since it had worked fine for so long.

Here are pictures of my converter after removing the heatshrink and resoldering all the connections; it works great now with a 1k Ohm pull-up bridging Vcc to Signal. For anyone else reading this, your Bit-C is not significantly improved from a standard pro-micro that you will avoid this problem; you need a pull-up even with the Bit-C.

IMG_20230813_074405_569 IMG_20230813_074204_975 IMG_20230813_074152_844 IMG_20230813_074140_916

tmk commented 11 months ago

Note that you need two pull-up resistors on both DATA(PD0) and CLOCK(PD1) line for IBMPC converter.

Check this first post also. https://geekhack.org/index.php?topic=103648.0