5251 Troubles

User avatar
digital_matthew

25 Oct 2023, 18:36

Hey all,
My 5251 keyboard has been acting up of late. It started out as the R key very intermittently chattering, then the I key would sometimes not register unless I upped the voltage threshold. Now when I plug the keyboard in it seems that all of the keys are on at the same time according to Capsense 0.9.0 on a Windows 10 PC. I tried cleaning the controller edge with 90% isopropyl, but that didn't fix it. My controller board is an Xwhatsit Rev. 20140324. Any help would be appreciated.

User avatar
DMA

25 Oct 2023, 21:00

PCB tracks coRRRRRRRosion?
Could also be breadcrumbs ingress - even very small particles getting under the plate materially lower the levels (although on the beamspring it will likely cause spontaneous keypresses rather than chatter).

User avatar
Muirium
µ

26 Oct 2023, 09:54

digital_matthew wrote:
25 Oct 2023, 18:36
Capsense 0.9.0 on a Windows 10 PC
You're running Xwhatsit's firmware? I've got good news for you! :lol:

Typing this on my Kishsaver, which has one of his controllers in it too, an earlier model than yours as it's his Model F prototype he sent me to test before production. But I’m running Pandrew's QMK on it, and have done so for years. Much, much more stable than Xwhatsit's (long abandoned) original. The modern firmwares—a few others are also available—all calibrate each key separately. Far better daily driving experience vs. the meltdowns you'd get from the original. High recommend! :ugeek:

User avatar
digital_matthew

26 Oct 2023, 17:39

DMA wrote:
25 Oct 2023, 21:00
PCB tracks coRRRRRRRosion?
Could also be breadcrumbs ingress - even very small particles getting under the plate materially lower the levels (although on the beamspring it will likely cause spontaneous keypresses rather than chatter).
Ugh. I was afraid of that. I hope it's possible to simply clean the corrupted traces. If they're broken I'm screwed. Thanks for your input.
Muirium wrote:
26 Oct 2023, 09:54
digital_matthew wrote:
25 Oct 2023, 18:36
Capsense 0.9.0 on a Windows 10 PC
You're running Xwhatsit's firmware? I've got good news for you! :lol:

Typing this on my Kishsaver, which has one of his controllers in it too, an earlier model than yours as it's his Model F prototype he sent me to test before production. But I’m running Pandrew's QMK on it, and have done so for years. Much, much more stable than Xwhatsit's (long abandoned) original. The modern firmwares—a few others are also available—all calibrate each key separately. Far better daily driving experience vs. the meltdowns you'd get from the original. High recommend! :ugeek:
Thanks for the tip and the link. Though I'm not a total newb when it comes to QMK - I configured my Ellipse F62 with it - I'm not sure how I can get it to work on a keyboard that's going haywire.

User avatar
Muirium
µ

26 Oct 2023, 17:53

If Xwhatsit's capsense util can't boot the controller into bootloader mode, there's a way to do it in hardware. Xwhatsit's manual has the details: I think it's a matter of shorting pins with a screwdriver while it's powered up.

I had to do it once for each keyboard to get QMK on it in the first place, as the Mac version of Xwhatsit's software won't even run on modern systems. All the more reason to jump off it!

User avatar
digital_matthew

30 Nov 2023, 20:43

Okay, so I was able to get the keyboard into bootloader mode. At that point do I just export the keymap.json from the QMK configurator link you gave me?

User avatar
jsheradin

30 Nov 2023, 20:48

digital_matthew wrote:
30 Nov 2023, 20:43
At that point do I just export the keymap.json from the QMK configurator link you gave me?
You'll need to compile it and then upload the hex file to your board using something like QMK toolbox.

Probably best to follow a step-by-step: https://docs.qmk.fm/#/configurator_step_by_step

User avatar
Muirium
µ

30 Nov 2023, 22:03

Yes. Don’t even worry about “compiling” anything, the configurator does it for you at the push of the Compile button. A potato will revolve (I’m not kidding) and you’ll soon get a Download button in its place. Throw that file into QMK Toolbox and flash it onto your board.

It really is just a few mouse clicks.

User avatar
digital_matthew

01 Dec 2023, 02:27

So I followed the steps, but I don't think QMK Toolbox is detecting the keyboard. After several attempts at flashing it says "Flash Complete", but the keyboard is totally unresponsive. I don't think it recognizes the bootloader. (Note the buttons are greyed out, but that's because I plugged in a working keyboard.)
Attachments
Capture.JPG
Capture.JPG (186.67 KiB) Viewed 5432 times

User avatar
Muirium
µ

01 Dec 2023, 08:56

Click the MCU drop-down menu at the top right of the window and select 32u2 to match your hardware.

Annoyingly, QMK Toolbox doesn't just try *all the ways* with ATmega, which it really should.

In fact: looking at your screenshot, it was perfectly aware this was a 32u2 yet tried and failed to talk to it in 32u4 like an idiot. If it can see what it is, this is very poor behaviour. I'll go file a bug.

User avatar
digital_matthew

01 Dec 2023, 15:34

I did that, and while it said "Flash Successful" the keyboard is acting even crazier now, to the point where I can't open folders or start programs even if I plug in a working keyboard. I need to shut down and restart in order to have a working computer again :(

User avatar
jsheradin

01 Dec 2023, 16:34

Well at least the flashing worked. Sounds like it thinks a modifier key is being held down or something similar. You probably have the wrong firmware flashed to it. Make sure you've selected the correct controller and board type in the QMK configurator and try flashing that instead.

Try Universal instead of Rev4

User avatar
digital_matthew

12 Dec 2023, 19:09

I managed to plug the keyboard into my laptop without making the computer go nuts. Other USB keyboards work when I plug them into it, but no keys register when I plug in the 5251 (I use Switch Hitter as a diagnostic tool). When I look at Device Manager it recognizes the 5251 as a "HID Compliant Consumer Control Device".

User avatar
Muirium
µ

12 Dec 2023, 22:00

What firmware is it running now?

Xwhatsit’s hardware always has that fallback reset switch to force it into DFU for a reflash. A particular advantage of QMK is its support for Pandrew’s “util” for checking signal levels, which is what I’d give a shot in your case.

Image

Post Reply

Return to “Workshop”