Author Topic: TMK IBM PC Keyboard Converter  (Read 41973 times)

0 Members and 1 Guest are viewing this topic.

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #200 on: Sun, 09 May 2021, 11:12:03 »
Z150 AT is definitely much harder to cause the errors with pressing rapidly, while multiple at once seems about the same.
Code: [Select]
Rapidly pressing Caps lock
----------
TMK:1d6e2bfb/LUFA


USB configured.

Keyboard start.

PRT:11 ISR:6A90 I415
PRT:11 ISR:0000 A3416 wFF rFA rAA W3656 R4157
ID:FFFD(AT_Z150) S4157 L4157 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED
ERR:11 ISR:1610
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I14265
PRT:11 ISR:7E90
ERR:40 ISR:1610
ERR:40 ISR:1610 A17266 wFF rFA rAA W17506 R18008
ID:FFFD(AT_Z150) S18008 L18009
----------
rFA rF0 r58 r58 wED rFA w02 rFA rF0 r58 r58 wED rFA w06 rFA rF0 r58 r58 wED rFA w02 rFA rF0 r58 r58 wED rFA w06 rFA rF0 r58 r58 wED rFA w02 rFA rF0 r58 r58 wED rFA w06 rFA rF0 r58 r58 wED
ERR:11 ISR:1610 !FF! rFF
[OVR]
ERR:F0 ISR:FFE0 rFA !CS2_INIT!
I25765
PRT:11 ISR:0000
ERR:40 ISR:7C10 A28767 wFF rFA rAA W29007 R29509
ID:FFFD(AT_Z150) S29509 L29510 r58 wED rFA w06 rFA rF0 r58 r77 wED rFA w04 rFA rF0 r77 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA
----------

Num and scroll lock pressed at the same time
----------
TMK:1d6e2bfb/LUFA


USB configured.

Keyboard start.
I368
PRT:11 ISR:6A90 A3369 wFF rFA rAA W3609 R4110
ID:FFFD(AT_Z150) S4110 L4110 r77 wED
ERR:11 ISR:5DD0
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I6719
PRT:11 ISR:7E90 A9720 wFF rFA rAA W9960 R10462
ID:FFFD(AT_Z150) S10462 L10463
----------

Num, scroll, and caps lock pressed all at the same time
----------
TMK:1d6e2bfb/LUFA


USB configured.

Keyboard start.
I312
PRT:11 ISR:6A90 A3313 wFF rFA rAA W3553 R4054
ID:FFFD(AT_Z150) S4054 L4054 r7E wED ISR:2C20 rFA w01 rFA r77 wED rFA w03 rFA rF0 r77 rF0 r7E rF0 r58 r7E wED rFA w02 rFA r77 wED rFA w00 rFA rF0 r58 rF0 r7E rF0 r77 r7E wED rFA w01 rFA r77 wED rFA w03 rFA rF0 r77 rF0 r7E rF0 r58 r7E wED ISR:2C20 rFA w02 rFA r77 wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r7E r77 wED rFA w01 rFA wED rFA w03 rFA rF0 r7E rF0 r77 r77 wED
ERR:11 ISR:5DD0
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I17477
PRT:11 ISR:7E90 A20478 wFF rFA rAA W20718 R21219
ID:FFFD(AT_Z150) S21219 L21220
----------


BTC-5161 works after a few seconds of logging, similar amount of time to Soarers.
Code: [Select]
Listening:

ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90
ERR:40 ISR:AA90 A3230 wFF ISR:5520 rFA rAA W3299 wF2 b:FAAB rFA rAB r83 R3809
ID:AB83(AT) S3810 wED rFA w02 rFA L3821

Resetting the controller without unplugging from USB can give different results, almost always no ERRs before start up, but a few times it had the same as above just with different ISR codes (AA50, A550, or A950).

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #201 on: Mon, 10 May 2021, 02:04:33 »
Z150 AT is definitely much harder to cause the errors with pressing rapidly, while multiple at once seems about the same.

I changed singal timing again and enabled LED setting at startup for Z150AT now.
I don't still get clear idea on this issue and have to guess unfotunately. Thanks for your patience.


Quote
BTC-5161 works after a few seconds of logging, similar amount of time to Soarers.

Resetting the controller without unplugging from USB can give different results, almost always no ERRs before start up, but a few times it had the same as above just with different ISR codes (AA50, A550, or A950).

The firmware takes 3 secs at most to make keyboard settled at startup, new firmware can reduce this delay probably.

* ibmpc_usb_atmega32u4.hex (56.4 kB - downloaded 11 times.)
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #202 on: Mon, 10 May 2021, 19:39:48 »
BTC-5161 starts up nicely now, no other issues :)
Code: [Select]
TMK:8ad6bfa2/LUFA


USB configured.

Keyboard start.

ERR:40 ISR:AA90
PRT:10 ISR:0000 I298
PRT:10 ISR:0000 rAA A299 wFF ISR:4000 rFA rAA W370 wF2 b:FAAB rFA rAB r83 R881
ID:AB83(AT) S881 wED rFA w00 rFA L898
Device disconnected.
Waiting for new device:..
Listening:


TMK:8ad6bfa2/LUFA


USB configured.

Keyboard start.

ERR:40 ISR:AA90
PRT:10 ISR:0000 I223
PRT:10 ISR:0000 rAA A224 wFF rFA rAA W295 wF2 b:FAAB rFA rAB r83 R805
ID:AB83(AT) S805 wED rFA w00 rFA L822
Device disconnected.
Waiting for new device:..
Listening:


TMK:8ad6bfa2/LUFA


USB configured.

Keyboard start.

ERR:40 ISR:AA90
PRT:10 ISR:0000 I419
ERR:40 ISR:AA90
PRT:10 ISR:0000 !FULL! rFF A420 wFF rFA rAA W491 wF2 b:FAAB rFA rAB r83 R1001
ID:AB83(AT) S1002 wED rFA w00 rFA L1018

Z150 AT lock lights initialize correctly now.
Bit easier than the last firmware to get the errors from rapid presses, and multiple at once is still the same. Maybe there is more to the issue than just timing?
Code: [Select]
TMK:8ad6bfa2/LUFA


USB configured.

Keyboard start.
I220
PRT:11 ISR:6A90 rAA A407 wFF rFA rAA W650 R1151
ID:FFFD(AT_Z150) S1151 wED rFA w05 rFA L1163 r58 wED rFA w01 rFA rF0 r58 r58 wED
ERR:11 ISR:1610
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I19056
PRT:11 ISR:7E90 rFA A19057 wFF
ERR:11 ISR:0000 X19775 rAA W20204 R20705
ID:FFFD(AT_Z150) S20705 wED rFA w05 rFA L20718 r58 wED rFA w01 rFA rF0 r58 r58 wED
ERR:11 ISR:1610
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I21901
PRT:11 ISR:7E90 rFA A21902 wFF
ERR:11 ISR:0000 X22620 rAA W23049 R23550
ID:FFFD(AT_Z150) S23550 wED rFA w05 rFA L23563 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED rFA w01 rFA rF0 r58 r58 wED rFA w05 rFA rF0 r58 r58 wED
ERR:11 ISR:1610
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I26813
PRT:11 ISR:0000 rFA A26814 wFF
ERR:11 ISR:0000 X27532 rAA W27961 R28462
ID:FFFD(AT_Z150) S28462 wED rFA w01 rFA L28475 r77 wED
ERR:11 ISR:5DD0 !FF! rFF
[OVR]
ERR:F0 ISR:FFE0 rFA !CS2_INIT!
I36585
PRT:11 ISR:0000 rAA A36817 wFF rFA rAA W37059 R37561
ID:FFFD(AT_Z150) S37561 wED rFA w03 rFA L37574 r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED rFA w02 rFA rF0 r7E r7E wED rFA w03 rFA rF0 r7E r7E wED
ERR:11 ISR:5F90
ERR:F0 ISR:FFE0
PRT:23 ISR:0000 [CHG] I59088
PRT:11 ISR:7E90 rFA A59089 wFF
ERR:11 ISR:0000 X59807 rAA W60236 R60737
ID:FFFD(AT_Z150) S60737 wED rFA w02 rFA L60750

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #203 on: Mon, 10 May 2021, 22:38:59 »
BTC-5161 starts up nicely now, no other issues :)
Great.

I found a document of IBM industrial Computer that describes 'Keyboard Mode Selection', industrial version and some version of Model M are supposed to support both AT/XT as you refered. Also Deskthority wiki has some entries for those keyboards. This is really interesting and new thing I leaned today :D

https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#ps2-mode-1-and-mode-2
https://deskthority.net/wiki/IBM_Enhanced_Keyboard#1390120


Quote
Z150 AT lock lights initialize correctly now.
Bit easier than the last firmware to get the errors from rapid presses, and multiple at once is still the same. Maybe there is more to the issue than just timing?

I may be missing something, will try new code for lock indicators update.
What is your OS btw? Windows or Mac?
Don't other AT keyboards have this issue on your setup?
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #204 on: Tue, 11 May 2021, 13:59:44 »
Quote
What is your OS btw? Windows or Mac?
Primarily testing things on Windows 10, but I can try others if desired.
I have quite a few machines running various Windows and Linux OS, no Macs at the moment though unfortunately.

Quote
Don't other AT keyboards have this issue on your setup?
None of my other AT keyboards have this lock light issue, only the Z150 AT.

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #205 on: Wed, 12 May 2021, 06:20:48 »
Thanks for the info.
I knew but wanted to confirm that this issue is specific to Zenith Z-150 AT and independent of OS.

Some code was enclosed in atomic block to prevent USB interrupt from disturing converter process.
Can you try this when you have time?
* ibmpc_usb_atmega32u4.hex (56.54 kB - downloaded 13 times.)

I'm almost at my wits end with this and have no more idea to try now.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #206 on: Mon, 17 May 2021, 18:12:23 »
New firmware doesn't seem to make any difference unfortunately.

However I tested the Z150 AT over native ps/2 in an extremely bare bones linux shell to rule out any OS interactions and found similar lock light weirdness, so I think the issue might be entirely the keyboard's fault.

Over native ps/2 the lock lights will similarly fail to register with rapid presses and causes a reset.
The only difference I see compared to with the converter is that the board does a "softer reset" such that the beeper on/off state is not changed.


Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #207 on: Wed, 19 May 2021, 08:25:41 »
I checked ROM code of 8042 keyboard controller from old genuine IBM PC/AT and found a few differences on signal handling(Stop bit and ACK) comparing to my firmware. They are suble and undocumented in IBM technical reference but the keyboard may depend on these, I guess.

http://halicery.com/8042/8042_1503033.TXT
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol/_edit#i8042-keyboard-controller-on-host

Just changed my code to imitate original controller behaviour as possible. Hope this change shows a clue or something useful.

* ibmpc_usb_atmega32u4_076fcdbc.hex (56.73 kB - downloaded 7 times.)




TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #208 on: Fri, 21 May 2021, 05:57:14 »
Quote
http://halicery.com/8042/8042_1503033.TXT
Very cool!
Perhaps dumping the ROM from the Z150 AT would be a good idea?
The controller mine has is an 8049 so the hardware should be fairly similar at least.

Issue still occurs, rapid pressing seems easier than before (maybe I'm just getting better at causing it :D), while simultaneous is still very consistent.
Code: [Select]
TMK:076fcdbc/LUFA


USB configured.

Keyboard start.
I239
413 PRT:11 ISR:6A90 rAA A413 wFF rFA rAA W652 R1153
ID:FFFD(AT_Z150) S1153 wED rFA w02 rFA L1158 r77 wED
4428 ERR:11 ISR:5DD0
4429 PRT:23 ISR:0000 [CHG] I4430
4430 PRT:11 ISR:7E90 rFA A4431 wFF
4644 ERR:11 ISR:0000 X5145 rAA W5581 R6082
ID:FFFD(AT_Z150) S6082 wED rFA w00 rFA L6087 r7E wED rFA w01 rFA rF0 r7E rF0 r58 r7E r58 wED rFA w00 rFA wED
12605 ERR:11 ISR:7E90
12606 PRT:23 ISR:0000 [CHG] I12606
12607 PRT:11 ISR:7E90 rFA A12608 wFF
12820 ERR:11 ISR:0000 X13322 rAA W13758 R14260
ID:FFFD(AT_Z150) S14260 wED rFA w04 rFA L14265 r58 wED rFA w00 rFA rF0 r58 r58 wED rFA w04 rFA rF0 r58 r58 wED rFA w00 rFA rF0 r58 r58 wED
19361 ERR:11 ISR:1610
19362 PRT:23 ISR:0000 [CHG] I19362
19363 PRT:11 ISR:7E90 rFA A19364 wFF
19576 ERR:11 ISR:0000 X20078 rAA W20515 R21016
ID:FFFD(AT_Z150) S21016 wED rFA w04 rFA L21021

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #209 on: Mon, 24 May 2021, 23:50:49 »
Quote
http://halicery.com/8042/8042_1503033.TXT
Very cool!
Perhaps dumping the ROM from the Z150 AT would be a good idea?
The controller mine has is an 8049 so the hardware should be fairly similar at least.
Yes, it would be absolutely helpful but to get ROM data from the keyboard dump may be tedious and techie. I don't know how to be honest, vcfed.org is one of good resources for it probably.

Alternatively, observing its signals with Logic analyzer or Oscilloscope would be extremely helpful to debug. Let me know if you happen to have either of the equipments.


Quote
Issue still occurs, rapid pressing seems easier than before (maybe I'm just getting better at causing it :D), while simultaneous is still very consistent.

One error(related to ACK/stop bit) seems to disapper by emulating original IBM PC/AT keyboard controller to check ACK. My converter appear to be a bit strict for checking signal states and the keyboard depends on implementation of the orignal controller perhaps.


Another error still exists, the converter can't wait and find 'start bit' correctly for some reason. I don't still come up with clear idea  unfortunately so far.

- I added retry logic for 'start bit' error to see how the keyboard behave.

Does these firmwares show difference? I hope so. Posting debug logs would be helpful anyway.


* ibmpc_usb_atmega32u4_ff3fd27.hex (57.24 kB - downloaded 9 times.)

* ibmpc_usb_atmega32u4_a9d10ed7a.hex (56.75 kB - downloaded 8 times.)

Thanks for your support!
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #210 on: Sat, 29 May 2021, 22:35:58 »
Quote
to get ROM data from the keyboard dump may be tedious and techie
The MCS-48 series chips should be pretty simple to extract, there's a few good resources for dumping them
http://qemulator.blogspot.com/2020/05/dumping-intel-8049-roms.html
http://www.mattmillman.com/projects/hveprom-project/an-easy-to-build-mcs-48-8748-8749-8741-8742-8048-8049-programmer-reader/

Quote
Let me know if you happen to have either of the equipments.
Not immediately on hand as I am in the process of moving, but I can pick them up easily if necessary.

Fortunately I think we're just about there, ff3fd27e is not getting any errors with the lock keys!

Code: [Select]
TMK:ff3fd27e/LUFA


USB configured.

Keyboard start.
I224
409 PRT:11 ISR:6A90 rAA A410 wFF rFA rAA W649 R1150
ID:FFFD(AT_Z150) S1150 wED rFA w00 rFA L1155 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:E800 c:995 rFA w06 rFA wED rFA w02 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:DD00 d:993 rFA w03 rFA wED rFA w07 rFA rF0 r58 rF0 r77 rF0 r7E r7E r58 wED isr:E800 c:995 rFA w06 rFA wED rFA w02 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w06 rFA r77 r7E wED rFA w04 rFA wED rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w07 rFA r7E wED R rFA w06 rFA r58 wED R rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:D000 c:996 rFA w03 rFA wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r7E r58 wED isr:7400 c:995 rFA w06 rFA wED rFA w02 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w06 rFA r77 wED rFA w04 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w00 rFA r77 r7E wED rFA w02 rFA wED rFA w03 rFA rF0 r7E rF0 r77 rF0 r58 r7E wED rFA w02 rFA r77 wED rFA w00 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w04 rFA r77 wED rFA w06 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w04 rFA r7E wED R rFA w05 rFA r58 wED R rFA w01 rFA rF0 r7E rF0 r58 rF0 r77 r58 r77 wED isr:C800 c:994 rFA w05 rFA wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w03 rFA r77 wED rFA w01 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w05 rFA r77 r7E wED rFA w07 rFA wED rFA w06 rFA rF0 r7E rF0 r77 rF0 r58 r77 wED R rFA w04 rFA r7E wED R rFA w05 rFA r58 wED R rFA w01 rFA rF0 r7E rF0 r58 rF0 r77 r77 r7E wED isr:C200 c:994 rFA w03 rFA wED rFA w02 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w00 rFA r7E wED R rFA w01 rFA r58 wED R rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:A000 c:995 rFA w04 rFA wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA r58 wED R rFA w07 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:BA00 c:995 rFA w06 rFA wED rFA w02 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w00 rFA r7E wED R rFA w01 rFA r58 wED R rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w07 rFA r7E wED R rFA w06 rFA r58 wED R rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r77 r7E wED isr:C200 c:994 rFA w00 rFA wED rFA w01 rFA rF0 r7E rF0 r77 rF0 r58 r7E wED rFA w00 rFA r77 wED rFA w02 rFA rF0 r7E r58 wED rFA w06 rFA rF0 r77 rF0 r58 r7E wED rFA w07 rFA r77 wED rFA w05 rFA rF0 r7E r58 wED rFA w01 rFA rF0 r77 rF0 r58 r7E wED rFA w00 rFA r77 wED R rFA w02 rFA r58 wED R rFA w06 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED rFA w07 rFA r77 wED R rFA w05 rFA r58 wED rFA w01 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w03 rFA r7E wED R rFA w02 rFA r58 wED R rFA w06 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w04 rFA r7E wED rFA w05 rFA rF0 r7E rF0 r77 r7E wED R rFA w04 rFA r77 r58 wED R rFA w06 rFA rF0 wED R rFA w02 rFA r77 rF0 r7E rF0 r58 r7E r58 wED isr:EE80 rFA w03 rFA wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:DD00 d:993 rFA w06 rFA wED rFA w02 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w00 rFA r7E wED R rFA w01 rFA r58 wED R rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w07 rFA r7E wED R rFA w06 rFA r58 wED R rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:BA00 c:995 rFA w03 rFA wED rFA w07 rFA rF0 r58 rF0 r77 rF0 r7E r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED R rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:7400 c:995 rFA w01 rFA wED rFA w05 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w07 rFA r7E wED R rFA w06 rFA r58 wED R rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED rFA w03 rFA r77 wED rFA w01 rFA rF0 r77 rF0 r7E rF0 r58 r7E wED isr:2C20 rFA w00 rFA r77 wED rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED rFA w03 rFA r58 r77 wED rFA w07 rFA wED rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED rFA w04 rFA r77 wED rFA w06 rFA r58 wED rFA w02 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED R rFA w03 rFA r77 wED R rFA w01 rFA r58 wED R rFA w05 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:E800 c:995 rFA w04 rFA wED rFA w00 rFA rF0 r77 rF0 r58 rF0 r7E r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA r58 wED R rFA w07 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED R rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED rFA w02 rFA r7E wED rFA w03 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED rFA w01 rFA r7E r58 wED rFA w00 rFA wED rFA w04 rFA rF0 r58 rF0 r77 rF0 r7E r77 wED R rFA w06 rFA r7E wED R rFA w07 rFA r58 wED R rFA w03 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w01 rFA r7E wED R rFA w00 rFA r58 wED R rFA w04 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:BA00 c:996 rFA w05 rFA wED rFA w01 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w03 rFA r7E wED R rFA w02 rFA r58 wED R rFA w06 rFA rF0 r7E rF0 r58 rF0 r77 r7E r58 wED isr:E800 c:995 rFA w07 rFA wED rFA w03 rFA rF0 r77 rF0 r7E rF0 r58 r7E wED rFA w02 rFA r77 wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:7400 c:995 rFA w01 rFA wED rFA w05 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:7400 c:996 rFA w04 rFA wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:7400 c:995 rFA w01 rFA wED rFA w05 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED rFA w07 rFA rF0 r77

a9d10ed7 seems about the same as before
Code: [Select]
TMK:a9d10ed7/LUFA


USB configured.

Keyboard start.
I255
407 PRT:11 ISR:6A90 rAA A408 wFF rFA rAA W648 R1149
ID:FFFD(AT_Z150) S1149 wED rFA w02 rFA L1158 r77 wED
6086 ERR:11 ISR:5DD0
6087 PRT:23 ISR:0000 [CHG] I6087
6088 PRT:11 ISR:7E90 rFA A6089 wFF
6322 ERR:11 ISR:0000
6323 PRT:23 ISR:0000 X6825
7254 PRT:11 ISR:6A90 rAA W7255 R7756
ID:FFFD(AT_Z150) S7756 wED rFA w00 rFA L7765 r7E r58 wED rFA w01 rFA wED rFA w05 rFA rF0 r7E rF0 r58 r77 wED rFA w07 rFA rF0 r77 r58 wED
32692 ERR:11 ISR:1610
32692 PRT:23 ISR:0000 [CHG] I32693
32694 PRT:11 ISR:7E90 rFA A32694 wFF
32928 ERR:11 ISR:0000
32929 PRT:23 ISR:0000 X33431
33860 PRT:11 ISR:6A90 rAA W33861 R34362
ID:FFFD(AT_Z150) S34362 wED rFA w03 rFA L34371 r58 wED
36088 ERR:11 ISR:1610
36089 PRT:23 ISR:0000 [CHG] I36090
36090 PRT:11 ISR:7E90 rFA A36091 wFF
36325 ERR:11 ISR:0000
36326 PRT:23 ISR:0000 X36827
37256 PRT:11 ISR:6A90 rAA W37257 R37758
ID:FFFD(AT_Z150) S37758 wED rFA w07 rFA L37767 r7E wED rFA w06 rFA r77 wED rFA w04 rFA rF0 r7E rF0 r58 rF0 r77 r7E wED rFA w05 rFA r77 wED rFA w07 rFA r58 wED
39772 ERR:11 ISR:1610
39773 PRT:23 ISR:0000 [CHG] I39774
39774 PRT:11 ISR:7E90 rFA A39775 wFF
40009 ERR:11 ISR:0000
40010 PRT:23 ISR:0000 X40512
40942 PRT:11 ISR:6A90 rAA W40942 r58 W40964 r77 W40966 R40966
ID:FFFD(AT_Z150) S40967 wED rFA w03 rFA L40975 rF0 r77 rF0 r58 r7E wED rFA w02 rFA r77 wED rFA w00 rFA r58 wED rFA w04 rFA rF0 r7E rF0 r77 rF0 r58 r7E wED rFA w05 rFA r77 wED rFA w07 rFA r58 wED
41719 ERR:11 ISR:1610
41719 PRT:23 ISR:0000 [CHG] I41720
41721 PRT:11 ISR:7E90 rFA A41722 wFF
41956 ERR:11 ISR:0000
41956 PRT:23 ISR:0000 X42458
42888 PRT:11 ISR:6A90 rAA W42889 r58 W42910 r77 W42917 R42918
ID:FFFD(AT_Z150) S42918 wED d:998 rFA w03 rFA L42927 r77 wED
43164 ERR:11 ISR:5DD0
43165 PRT:23 ISR:0000 [CHG] I43166
43166 PRT:11 ISR:7E90 rFA A43167 wFF
43401 ERR:11 ISR:0000 X43902 rAA W44332 R44833
ID:FFFD(AT_Z150) S44833 wED rFA w01 rFA L44842

I did find a few new errors with ff3fd27e
Code: [Select]
Happened once on Z150 AT
Might have occurred when moving breadboard slightly?

r23 rF0 r2B
19698 ERR:F0 ISR:FFE0
19699 PRT:23 ISR:0000 [CHG] I19699
19700 PRT:22 ISR:01C0 !FULL! rFF
19701 ERR:40 ISR:0000 A19702 wFF isr:4400 c:995 d:917 R R R R R R R R R rFA rAA W20261 R20762
ID:FFFD(AT_Z150) S20762 wED rFA w00 rFA L20768

Code: [Select]
Happens consistently when plugging in Z150 XT, no other issues afterwards

TMK:ff3fd27e/LUFA


USB configured.

Keyboard start.
I236 A3238 wFF c:0 d:0
3248 ERR:12 ISR:0000 X3749
3867 PRT:22 ISR:AAC0 rAA W3868 wF2 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R7951
ID:FFFF(XT)
7952 ERR:11 ISR:0000 S7952 L7952

TMK:ff3fd27e/LUFA


USB configured.

Keyboard start.
I238 A3240 wFF R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
6822 ERR:11 ISR:0000 X7324
7442 PRT:22 ISR:AAC0 rAA W7443 wF2 R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R11526
ID:FFFF(XT)
11527 ERR:11 ISR:0000 S11527 L11527



Also found a few different errors with the previous firmware TMK:076fcdbc during some daily use, however it was not very consistent and only did the "softer reset" so it was harder to notice as the beeper state persisted its off state.
Code: [Select]
r1C r31 rF0 r1C rF0 r31 r23 r29 rF0 r23 rF0 r29 r2B rF0 r2B r43 r23 rF0 r43 rF0 r43 e20
23301 ERR:20 ISR:4000 [RST] I23302
23302 PRT:11 ISR:0000 e80 rF0 A23382 wFF rFA rAA W23620 r5A W23664 rF0 W23778 R23779
ID:FFFD(AT_Z150) S23779 wED rFA w02 rFA L23784 r33 rF0 r33 r33


r23 rF0 r23 r29 rF0 r29 r2D
16063 PRT:10 ISR:9310 r4C
16110 ERR:20 ISR:4000 [RST] I16111
16112 PRT:10 ISR:0000 rF8 A16112 wFF rFA rAA W16347 r2C W16395 rF0 W16486 R16486
ID:FFFD(AT_Z150) S16487 wED rFA w00 rFA L16492


r34 r33 rF0 r33 r3B rF0 r3B r3B
6644 PRT:10 ISR:FC10 rF0
6646 PRT:11 ISR:1D90 r76
6678 ERR:20 ISR:4000 [RST]
6679 PRT:23 ISR:0000 I6679
6680 PRT:23 ISR:0000 r4C A6680 wFF rFA
6683 PRT:11 ISR:7E90 rAA W6919 R7420
ID:FFFD(AT_Z150) S7420 wED rFA w00 rFA L7425

Another error on 076fcdbc related to the above issue, starts same as above with ERR 20 "soft reset", then additional key presses triggers the same ERR 11 as the lock key presses and causes a full reset.
Code: [Select]
rF0 r4B r29 rF0 r35 rF0 r29 r23 r24 rF0 r23 rF0 r24
36383 PRT:10 ISR:9090 r42
36480 ERR:20 ISR:4000 [RST] I36481
36481 PRT:10 ISR:0000 rF8 A36482 wFF rFA rAA W36721 r29 W36734 r24 W36736 R36736
ID:FFFD(AT_Z150) S36737 wED L36949
36950 ERR:11 ISR:4910
36950 PRT:23 ISR:0000 rFA !CS2_INIT!
I36951
36952 PRT:11 ISR:0000 rAA A37183 wFF rFA rAA W37422 R37923
ID:FFFD(AT_Z150) S37923 wED L38136
38136 ERR:11 ISR:6A90
38137 PRT:23 ISR:0000 rFA !CS2_INIT!
I38138
38138 PRT:11 ISR:0000 rAA A38374 wFF
38587 ERR:11 ISR:6A90
38588 PRT:23 ISR:0000 X39089
39535 PRT:11 ISR:6A90 rAA W39536 r3B W39613 rF0 W39714 R39715
ID:FFFD(AT_Z150) S39715 wED rFA w00 rFA L39720 r3B rF0 r3B r3B rF0 r3B

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #211 on: Mon, 31 May 2021, 05:46:44 »
Quote
to get ROM data from the keyboard dump may be tedious and techie
The MCS-48 series chips should be pretty simple to extract, there's a few good resources for dumping them
http://qemulator.blogspot.com/2020/05/dumping-intel-8049-roms.html
http://www.mattmillman.com/projects/hveprom-project/an-easy-to-build-mcs-48-8748-8749-8741-8742-8048-8049-programmer-reader/

Quote
Let me know if you happen to have either of the equipments.
Not immediately on hand as I am in the process of moving, but I can pick them up easily if necessary.

Real waveforms would be absolutely helpful to know how to handle the keyboard.
But we are close to a dirty workaround somehow now, I'm not sure it is worth spending your time.


Retrying(ff3fd27e) is ad hoc treatment  for start bit error(ERR:11) but seems to be promising for Z-150AT.
The converter can miss a key stroke when updating lock indicators.

Just updated firmware to fix for the missing key stroke. Can you test this?

* ibmpc_usb_atmega32u4_dda33032.hex (57.33 kB - downloaded 7 times.)

If this firmware works somehow without big problem I'll merge Z-150AT support into 'master' repo in github.


Quote
Fortunately I think we're just about there, ff3fd27e is not getting any errors with the lock keys!


I did find a few new errors with ff3fd27e

As for the error on Z-150AT
The converter seems to miss signal for some reason. It may be unstable connection or unknown glitch. Let me know if you find it again.

As for those 'R R R ...' errors on XT keyboard this is expected and it will be fixed or mitigated later.





Quote
Also found a few different errors with the previous firmware TMK:076fcdbc during some daily use, however it was not very consistent and only did the "softer reset" so it was harder to notice as the beeper state persisted its off state.

Another error on 076fcdbc related to the above issue, starts same as above with ERR 20 "soft reset", then additional key presses triggers the same ERR 11 as the lock key presses and causes a full reset.

ERR:20 also indicates missing signal. Cable connection is just unstable temporarily. Otherwise this is new glitch, perhaps.


TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RonnocDa

  • Posts: 13
Re: TMK IBM PC Keyboard Converter
« Reply #212 on: Wed, 02 June 2021, 12:29:25 »
Quote
Real waveforms would be absolutely helpful to know how to handle the keyboard.
I can see about getting some waveforms from a logic analyzer.
Is there is anything in particular aside from data+clock signals that would help?

Quote
ERR:20 also indicates missing signal. Cable connection is just unstable temporarily. Otherwise this is new glitch, perhaps.
Probably just the breadboard I'm testing with being a bit touchy, haven't seen those issues with any real consistency.

New firmware has similarly good results for lock lights
Code: [Select]
TMK:dda33032/LUFA


USB configured.

Keyboard start.
I263
405 PRT:11 ISR:6A90 rAA A406 wFF rFA rAA W645 R1146
ID:FFFD(AT_Z150) S1146 wED rFA w00 rFA L1151 r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA r58 wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED rFA w00 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w03 rFA r77 r7E wED rFA w01 rFA wED rFA w00 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r58 wED R rFA w03 rFA r77 r7E wED rFA w01 rFA wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r7E rF0 r58 rF0 r77 r58 wED R rFA w03 rFA r77 wED R rFA w01 rFA r7E wED R rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r58 wED R rFA w04 rFA r77 r7E wED rFA w06 rFA wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED R rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA r58 wED R rFA w07 rFA rF0 r7E rF0 r58 rF0 r77 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED rFA w00 rFA rF0 r7E rF0 r77 rF0 r58 r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA r58 wED rFA w07 rFA rF0 r7E rF0 r77 rF0 r58 r77 wED R rFA w05 rFA r7E wED R rFA w04 rFA r58 wED R rFA w00 rFA rF0 r7E rF0 r58 rF0 r77 r58 wED R rFA w04 rFA r7E wED R rFA w05 rFA r77 wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r7E r58 wED isr:E800 c:996 rFA r:FF77 w06 rFA r:FF77 r77 wED rFA w02 rFA wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w04 rFA r7E wED R rFA w05 rFA r77 wED rFA w07 rFA rF0 r77 rF0 r7E rF0 r58 r58 wED R rFA w03 rFA r77 r7E wED rFA w01 rFA wED rFA w00 rFA rF0 r77 rF0 r7E rF0 r58

No other issues with normal use.
However I've found that pressing lots of keys simultaneously has some problems.
Other boards do not have this response with the same testing.
Code: [Select]
Rapidly pressing 16ish keys with fingers

r35 r2D r24 rF0 r42 rF0 r3B rF0 r33 r34 r2B r00
[OVR]
63680 ERR:40 ISR:4D50 r35 r00
[OVR] r00
[OVR] r43 r33 r42 r3B rF0 r1B r3C r35 rF0 r34 r00
[OVR] r1D rF0 r44 r23 r1B rF0 r3C rF0 r35 r2C r2D r24 rF0 r42 rF0 r3B r00
[OVR] r43 r44 r00
[OVR] r00
[OVR] r00
[OVR] rF0 r35 rF0 r3B r1B rF0 r3C r2C rF0 r4B rF0 r42 rF0 r33 r34 r2B r23 r00
[OVR] r43 r42 r3B r33 r44 r3C r35 rF0 r2B rF0 r23 rF0 r2C rF0 r2D rF0 r24 rF0 r34 rF0 r1B r1B r2C r34 r23 rF0 r44 rF0 r35 r2D r24 rF0 r42 rF0 r3B rF0 r33 r2B rF0 r43 rF0 r3C r43 r44 r4B r42 r3B r33 r3C r35 rF0 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r2C rF0 r2D rF0 r24 rF0 r42 rF0 r35 rF0 r4B rF0 r3B rF0 r33 r23 rF0 r44 rF0 r43 rF0 r3C r2C r2D r24 r34 r2B r1B r1D rF0 r1D rF0 r2B rF0 r23 rF0 r1B rF0 r2C rF0 r2D rF0 r24 rF0 r34 r43 r3C r42 r3B r33 r34 r35 r2C r15 r23 r1C r2D r24 r1D r2B r1B rF0 r42 rF0 r3B rF0 r43 rF0 r3C rF0 r35 rF0 r2C rF0 r33 rF0 r34 rF0 r1C rF0 r2D rF0 r15 rF0 r2B rF0 r23 rF0 r1B rF0 r24 rF0 r1D r2B r23 r1C r43 r3C r35 r2C r2D r24 r1D r15 r42 r3B r33 r34 r1B rF0 r42 rF0 r43 rF0 r2D rF0 r15 rF0 r3B rF0 r33 rF0 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C rF0 r3C rF0 r35 rF0 r2C rF0 r24 rF0 r1D r3C r42 r33 r43 r35 r2C r3B r34 r24 r23 r1D r15 rF0 r3B r2B r1B r1C rF0 r43 rF0 r3C rF0 r35 rF0 r2C r2D rF0 r42 rF0 r33 rF0 r34 r3C r43 r42 r33 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C r35 r2C rF0 r2D rF0 r24 rF0 r1D rF0 r15 r3B r24 r2B r23 r1B rF0 r43 r2D r00
[OVR]
7643 ERR:40 ISR:4AD0 r2B r23 r2D r24 r1D r15 rF0 r42 rF0 r3B r00
[OVR]
7751 ERR:40 ISR:10D0 r42 r33 r34 rF0 r23 r35 r2C rF0 r2D rF0 r24 rF0 r15 r3B rF0 r2B rF0 r1B r00
[OVR]
7872 ERR:40 ISR:08D0 r2D r1D r15 rF0 r42 rF0 r3B rF0 r33 r00
[OVR] b:3C33 r3C r33 rF0 r23 rF0 r1C r43 r35 r2C rF0 r2D rF0 r24 rF0 r1D rF0 r15 r42 r3B r00
[OVR] r24 r2B r23 r1B rF0 r43 rF0 r35 r00
[OVR] b:00F0 r00
[OVR] rF0 r1C r3C rF0 r15 rF0 r23 rF0 r1B r43 r35 rF0 r2D rF0 r24 rF0 r1D r00
[OVR] rF0 r2C rF0 r34 rF0 r35 r24 r15 rF0 r42 r00
[OVR] rF0 r1C rF0 r15 rF0 r2D rF0 r2B rF0 r23 rF0 r1B rF0 r24 rF0 r1D r23 r43 r3C r24 r15 r42 r3B r33 r34 r1B r1C r35 r2C r2D r1D r2B rF0 r2C rF0 r42 rF0 r3B rF0 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C rF0 r43 rF0 r3C rF0 r35 rF0 r2D rF0 r24 rF0 r1D rF0 r15 rF0 r33 r3C r43 r35 r2C r42 r3B r33 r34 rF0 r3B rF0 r42 rF0 r43 rF0 r2C rF0 r33 rF0 r34 r2B r23 r1B r1C rF0 r3C rF0 r35 r2D r24 r1D r15 r3C r43 r42 r33 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C r35 r2C rF0 r2D rF0 r24 rF0 r1D rF0 r15 r3B rF0 r3B r24 r23 r2D r1D r15 rF0 r42 r2B r1B r1C rF0 r43 rF0 r3C rF0 r35 rF0 r2C rF0 r33 rF0 r34 r3C r43 r42 r35 r2C r3B r33 r34 rF0 r23 rF0 r1B rF0 r1C rF0 r2D rF0 r24 rF0 r1D rF0 r15 rF0 r2B r24 rF0 r3B r23 r1B rF0 r43 rF0 r2C r2D r1D r15 rF0 r42 rF0 r33 rF0 r34 r2B r1C rF0 r3C rF0 r35 r3C r35 r33 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C r43 r2C rF0 r2D rF0 r24 rF0 r1D rF0 r15 r42 r3B rF0 r3B r1C r2D r24 r1D r15 rF0 r42 rF0 r33 rF0 r34 r2B r23 r1B rF0 r43 rF0 r3C rF0 r35 rF0 r2C rF0 r23 rF0 r2D rF0 r24 rF0 r1D rF0 r15 rF0 r2B rF0 r1B rF0 r1C r43 r3C r42 r33 r34 r35 r2C r3B rF0 r3B rF0 r42 rF0 r43 rF0 r2C rF0 r33 rF0 r34 r23 r1B r1C rF0 r3C rF0 r35 r2D r24 r1D r15 r2B r3C r33 r43 r35 r2C rF0 r2D rF0 r15 r42 r3B r34 rF0 r2B rF0 r23 rF0 r1B rF0 r1C rF0 r24 rF0 r1D r15 r1B r1C rF0 r2C r24 r1D rF0 r42 rF0 r3B rF0 r33 rF0 r34 r2B r23 rF0 r43 rF0 r35 r2D r42 r00
[OVR]
37603 ERR:40 ISR:4010 !FULL! rFF
[OVR] r00
[OVR] rF0 r3B rF0 r2C rF0 r33 rF0 r34 r00
[OVR] r00
[OVR] r42 r33 r43 r3C r35 r3B r34 rF0 r23 rF0 r1B rF0 r1C r2C rF0 r2D rF0 r24 r00
[OVR] r24 r2D r15 rF0 r3B r2B r23 r1B r1C rF0 r43 rF0 r3C rF0 r35 rF0 r2C r1D rF0 r42 rF0 r33 rF0 r34 rF0 r23 rF0 r2D rF0 r2B rF0 r1B rF0 r1C rF0 r24 rF0 r1D rF0 r15 r3C r3B r2C r33 r34 r43 r35 r42 rF0 r43 rF0 r42 rF0 r2C rF0 r3B rF0 r33 rF0 r34 r1B r1C rF0 r3C rF0 r35 r2D r24 r1D r15 r2B r23 r3C r3B r00
[OVR]
42290 ERR:40 ISR:7C10 !FULL! rFF
[OVR] r33 rF0 r34 rF0 r43 rF0 r3C rF0 r35 r24 rF0 r42 r2B r00
[OVR] r00
[OVR] r00
[OVR] r00
[OVR] r24 r2B r23 r1B rF0 r2C r2D r1D r15 rF0 r42 rF0 r3B r00
[OVR]
42604 ERR:40 ISR:0ED0 r3B r33 r34 r35 r2C r00
[OVR] r24 r2B r23 r2D r1D r00
[OVR]
42713 ERR:40 ISR:4F10 !FULL! rFF
[OVR] r43 r42 r33 r34 r35 r2C r3B rF0 r23 rF0 r1B rF0 r1C r00
[OVR] rF0 r2B r24 r2B rF0 r2C r2D r15 rF0 r42 rF0 r3B rF0 r33 r00
[OVR] r3C r42 r33 r34 r00
[OVR] r00
[OVR] r00
[OVR] r34 r33 rF0 r23 rF0 r1B r43 r3C r35 r2C rF0 r2D rF0 r24 rF0 r1D rF0 r15 r00
[OVR] r24 r2B r00
[OVR] r00
[OVR] r00
[OVR] r3C r33 r34 rF0 r23 rF0 r1B rF0 r1C r43 r35 r2C r00
[OVR]
43565 ERR:40 ISR:4010 !FULL! rFF
[OVR] r00
[OVR] r3C r43 r35 rF0 r15 r42 r3B r33 r34 rF0 r23 r00
[OVR]
43678 ERR:40 ISR:0ED0 r3B rF0 r2C rF0 r42 rF0 r33 r00
[OVR] rF0 r23 rF0 r2D rF0 r2B rF0 r1B rF0 r24 rF0 r1D rF0 r15 rF0 r1C
Code: [Select]
Using a small flat board, pressing almost entire alphanumeric cluster
TMK:dda33032/LUFA


USB configured.

Keyboard start.
I243
406 PRT:11 ISR:6A90 rAA A407 wFF rFA rAA W646 R1147
ID:FFFD(AT_Z150) S1147 wED rFA w00 rFA L1152 r36 r3D r2E r45 r46 r3E r25 r26 r1E r49 r41 r3A r31 r32 r2A r21 r22 r1A r4B r00
[OVR] rF0 r4B rF0 r44 rF0 r43 rF0 r49 rF0 r41 rF0 r3A rF0 r32 rF0 r2A rF0 r21 rF0 r22 rF0 r1A rF0 r42 rF0 r3B rF0 r33 rF0 r34 rF0 r2B r00
[OVR] rF0 r31 r36 r2E r3D r25 r26 r41 r31 r32 r2A r21 r22 r1A r4B r42 r3B r33 r34 r2B r23 r00
[OVR] r00
[OVR] rF0 r4B rF0 r42 rF0 r1C rF0 r44 rF0 r43 rF0 r1D rF0 r49 rF0 r41 rF0 r3A rF0 r31 rF0 r32 rF0 r2A rF0 r21 rF0 r22 rF0 r1A rF0 r3B rF0 r33 r00
[OVR] r36 r3D r45 r46 r3E r2E r25 r26 r1E r49 r41 r3A r31 r32 r2A r21 r22 r1A r4B r00
[OVR] rF0 r1D rF0 r1C rF0 r24 rF0 r1B rF0 r44 rF0 r43 rF0 r2D rF0 r45 rF0 r46 rF0 r3E rF0 r3D rF0 r36 rF0 r2E rF0 r25 rF0 r26 rF0 r1E rF0 r49 rF0 r41 rF0 r3A r00
[OVR] r36 r3D r45 r46 r3E r2E r25 r26 r1E r49 r41 r3A r31 r32 r2A r21 r22 r1A r4B r00
[OVR]
13404 ERR:40 ISR:7C10 !FULL! rFF
[OVR] r1C rF0 r43 rF0 r44 rF0 r24 rF0 r26 rF0 r1E rF0 r4B rF0 r42 rF0 r3B rF0 r33 rF0 r34 rF0 r2B rF0 r23 rF0 r1B rF0 r3C rF0 r35 rF0 r2C r00
[OVR] r29 rF0 r29 r29 rF0 r29 r29 rF0 r29 r29 rF0 r29 r29 rF0 r29 r29 rF0 r29

Not a big issue, but definitely means there's more that we're missing here.

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #213 on: Wed, 02 June 2021, 20:16:32 »
Quote
Real waveforms would be absolutely helpful to know how to handle the keyboard.
I can see about getting some waveforms from a logic analyzer.
Is there is anything in particular aside from data+clock signals that would help?

I like to see both data and clock signals especially when the converter fails to update lock lights and retry it.

That looks like below in debug outptus. "R" means retrying. It happens after pressing either of lock keys.
Code: [Select]
r77 wED R rFA w02 rFA r7E wED R rFA w03 rFA

I don't come up with proper trigger condition for exact capture, but
I think logic analyzer has enough memory and can record long signal data to find the event after capture, sample rate is not matter so much for this.



Quote
New firmware has similarly good results for lock lights

Great. I'll merge several fixes for Z-150 AT into source repo now.



Quote
No other issues with normal use.
However I've found that pressing lots of keys simultaneously has some problems.
Other boards do not have this response with the same testing.

Not a big issue, but definitely means there's more that we're missing here.

"r00" means buffer of keyboard is full, and "ERR:40" means buffer of the converter is full.
The keyboard may have smaller buffer than others and the converter is too optimistic for buffering.

I think this is not specific to Z-150 AT and not problem so much for practical use. I will file this issue and visit some later.  https://github.com/tmk/tmk_keyboard/issues/690

TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline hasu

  • Thread Starter
  • Posts: 3249
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: TMK IBM PC Keyboard Converter
« Reply #214 on: Thu, 03 June 2021, 03:05:22 »
[FIRMWARE UDPATE]
Just updated source code and prebuilt firmware. You can access new firmware on github repo or Keymap Editor.

Thanks for your support.


This change added support for keyboards below.
- Zenith Z-150 AT
- IBM 5576-001(ID:AB92) Japanese Terminal
- IBM 1394204(ID:7F7F) 101-key Terminal

Also these keyboards are expected to work now, test and report is needed. Someone with these?
- IBM 5576-002
- IBM 5576-003
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline aihk

  • Posts: 2
Re: TMK IBM PC Keyboard Converter
« Reply #215 on: Tue, 08 June 2021, 00:28:25 »
I'll do one better and quickly set up a breadboard with Reset wired in.

Here's a list of the keyboards which are working perfectly
RT8255c+
RT-101+
C260 Enhanced Keyboard (Deyi foam and foil)
Northgate Omnikey 101
Zenith ZKB-2
BTC5339
APC-H410E
IBM 5576-001 (except keys outside range of ps/2)
Toshiba JIS AT101 (rear metal label very helpfully reads キーボード and serial number only  :) )
Dell AT101 - GYI3PVAT101 (old logo)
Wang 724
Unicomp Model M
IBM P70 Keyboard

Could you tell me what Wang 724 use hex