Spontaneous numlock
(04-25-2021, 07:32 PM)dsimic Wrote: There's a very good note in the Reddit thread you've linked above...  The keyboard updater attempts to write the firmware multiple times, five times to be precise, for both the "helper" and the final keyboard firmware.  Thus, it's possible to reach the write limit even without writing the final keyboard firmware successfully!

I'll submit a patch for the updater, to correct this behavior.
I saw that but for some reason I think it doesn't affect the chip's count of writes unless it gets through.  Like the retry is for if the USB communications fail.   There's one of those loops on read too.  And they allow 20 tries for opening in boot mode above that.  Looks like there are 3 write processes:

flash_tp_upate  in step 1 (ansi and iso are the same)
flash_tp in step 2 (both the same again)
flash_kb_ansi or flash_kb_iso at the end of step 2

What if there's some mixup of versions?  Like you flash an iso with ansi or vice-versa.  It would probably be worse than it is now.

So the keyboards about to leave the factory work perfectly?  Wonder what they have loaded.  It wouldn't be that hard to disable the write part and just read back to write to a file I think.  Leave all the overhead intact and just comment out the actual writes.  All 3 of them.  That shouldn't trip the limit.  Since the write-limited chip mentions the limit in its datasheet I think that's probably where the limit is.
  Reply


Messages In This Thread
Spontaneous numlock - by ab1jx - 04-06-2021, 03:00 PM
RE: Spontaneous numlock - by KC9UDX - 04-06-2021, 04:15 PM
RE: Spontaneous numlock - by ab1jx - 04-06-2021, 04:35 PM
RE: Spontaneous numlock - by dsimic - 04-07-2021, 05:11 PM
RE: Spontaneous numlock - by ab1jx - 04-07-2021, 06:56 PM
RE: Spontaneous numlock - by dsimic - 04-07-2021, 07:27 PM
RE: Spontaneous numlock - by ab1jx - 04-10-2021, 01:29 PM
RE: Spontaneous numlock - by dsimic - 04-10-2021, 01:33 PM
RE: Spontaneous numlock - by ab1jx - 04-10-2021, 02:47 PM
RE: Spontaneous numlock - by dsimic - 04-10-2021, 03:11 PM
RE: Spontaneous numlock - by ab1jx - 04-10-2021, 03:53 PM
RE: Spontaneous numlock - by dsimic - 04-11-2021, 12:31 AM
RE: Spontaneous numlock - by ab1jx - 04-11-2021, 02:00 AM
RE: Spontaneous numlock - by dsimic - 04-11-2021, 02:34 AM
RE: Spontaneous numlock - by ab1jx - 04-11-2021, 06:39 AM
RE: Spontaneous numlock - by dsimic - 04-11-2021, 07:25 AM
RE: Spontaneous numlock - by ab1jx - 04-11-2021, 04:04 PM
RE: Spontaneous numlock - by dsimic - 04-11-2021, 11:10 PM
RE: Spontaneous numlock - by ab1jx - 04-12-2021, 02:00 AM
RE: Spontaneous numlock - by dsimic - 04-12-2021, 02:10 AM
RE: Spontaneous numlock - by ab1jx - 04-12-2021, 06:59 AM
RE: Spontaneous numlock - by dsimic - 04-12-2021, 08:11 AM
RE: Spontaneous numlock - by ab1jx - 04-12-2021, 09:40 AM
RE: Spontaneous numlock - by dsimic - 04-12-2021, 10:08 AM
RE: Spontaneous numlock - by wdt - 04-12-2021, 11:05 AM
RE: Spontaneous numlock - by dsimic - 04-12-2021, 12:10 PM
RE: Spontaneous numlock - by ab1jx - 04-13-2021, 05:25 AM
RE: Spontaneous numlock - by dsimic - 04-14-2021, 10:17 AM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 10:44 AM
RE: Spontaneous numlock - by dsimic - 04-14-2021, 11:04 AM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 12:24 PM
RE: Spontaneous numlock - by dsimic - 04-14-2021, 12:45 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 01:06 PM
RE: Spontaneous numlock - by dsimic - 04-14-2021, 01:24 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 01:53 PM
RE: Spontaneous numlock - by dsimic - 04-14-2021, 01:57 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 02:14 PM
RE: Spontaneous numlock - by KC9UDX - 04-14-2021, 04:09 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 05:40 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 07:55 PM
RE: Spontaneous numlock - by wdt - 04-14-2021, 09:02 PM
RE: Spontaneous numlock - by ab1jx - 04-14-2021, 10:26 PM
RE: Spontaneous numlock - by ab1jx - 04-15-2021, 06:44 AM
RE: Spontaneous numlock - by KC9UDX - 04-15-2021, 09:57 AM
RE: Spontaneous numlock - by ab1jx - 04-15-2021, 10:46 AM
RE: Spontaneous numlock - by ab1jx - 04-15-2021, 05:14 PM
RE: Spontaneous numlock - by KC9UDX - 04-15-2021, 08:19 PM
RE: Spontaneous numlock - by ab1jx - 04-15-2021, 08:46 PM
RE: Spontaneous numlock - by KC9UDX - 04-15-2021, 11:07 PM
RE: Spontaneous numlock - by ab1jx - 04-16-2021, 04:52 AM
RE: Spontaneous numlock - by KC9UDX - 04-16-2021, 07:36 AM
RE: Spontaneous numlock - by ab1jx - 04-16-2021, 08:30 AM
RE: Spontaneous numlock - by ab1jx - 04-16-2021, 07:44 PM
RE: Spontaneous numlock - by KC9UDX - 04-17-2021, 02:26 AM
RE: Spontaneous numlock - by ab1jx - 04-17-2021, 05:50 AM
RE: Spontaneous numlock - by KC9UDX - 04-17-2021, 02:57 PM
RE: Spontaneous numlock - by ab1jx - 04-17-2021, 07:49 PM
RE: Spontaneous numlock - by KC9UDX - 04-18-2021, 04:25 AM
RE: Spontaneous numlock - by ab1jx - 04-18-2021, 06:54 AM
RE: Spontaneous numlock - by KC9UDX - 04-18-2021, 01:15 PM
RE: Spontaneous numlock - by ab1jx - 04-18-2021, 01:59 PM
RE: Spontaneous numlock - by KC9UDX - 04-18-2021, 02:32 PM
RE: Spontaneous numlock - by ab1jx - 04-18-2021, 04:25 PM
RE: Spontaneous numlock - by KC9UDX - 04-18-2021, 05:02 PM
RE: Spontaneous numlock - by ab1jx - 04-18-2021, 05:42 PM
RE: Spontaneous numlock - by KC9UDX - 04-18-2021, 06:19 PM
RE: Spontaneous numlock - by ab1jx - 04-19-2021, 05:24 AM
RE: Spontaneous numlock - by KC9UDX - 04-19-2021, 06:50 AM
RE: Spontaneous numlock - by ab1jx - 04-19-2021, 07:48 AM
RE: Spontaneous numlock - by KC9UDX - 04-19-2021, 08:58 AM
RE: Spontaneous numlock - by ab1jx - 04-19-2021, 10:02 AM
RE: Spontaneous numlock - by ab1jx - 04-19-2021, 11:05 AM
RE: Spontaneous numlock - by KC9UDX - 04-19-2021, 04:35 PM
RE: Spontaneous numlock - by ab1jx - 04-19-2021, 05:24 PM
RE: Spontaneous numlock - by KC9UDX - 04-20-2021, 05:13 AM
RE: Spontaneous numlock - by ab1jx - 04-20-2021, 07:09 AM
RE: Spontaneous numlock - by dsimic - 04-20-2021, 08:22 AM
RE: Spontaneous numlock - by ab1jx - 04-20-2021, 08:59 AM
RE: Spontaneous numlock - by slyecho - 04-20-2021, 01:50 PM
RE: Spontaneous numlock - by ab1jx - 04-20-2021, 03:09 PM
RE: Spontaneous numlock - by dsimic - 04-20-2021, 03:18 PM
RE: Spontaneous numlock - by ab1jx - 04-20-2021, 11:21 PM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 12:15 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 01:08 AM
RE: Spontaneous numlock - by KC9UDX - 04-21-2021, 01:09 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 02:07 AM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 02:55 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 03:43 AM
RE: Spontaneous numlock - by KC9UDX - 04-21-2021, 04:49 AM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 10:43 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 05:34 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 11:48 AM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 11:53 AM
RE: Spontaneous numlock - by ab1jx - 04-21-2021, 02:18 PM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 02:33 PM
RE: Spontaneous numlock - by KC9UDX - 04-21-2021, 04:36 PM
RE: Spontaneous numlock - by dsimic - 04-21-2021, 04:55 PM
RE: Spontaneous numlock - by KC9UDX - 04-22-2021, 12:05 AM
RE: Spontaneous numlock - by dsimic - 04-25-2021, 12:18 PM
RE: Spontaneous numlock - by ab1jx - 04-23-2021, 09:09 PM
RE: Spontaneous numlock - by KC9UDX - 04-24-2021, 05:23 AM
RE: Spontaneous numlock - by ab1jx - 04-24-2021, 07:05 AM
RE: Spontaneous numlock - by ab1jx - 04-24-2021, 06:57 PM
RE: Spontaneous numlock - by KC9UDX - 04-25-2021, 11:59 AM
RE: Spontaneous numlock - by ab1jx - 04-25-2021, 12:55 PM
RE: Spontaneous numlock - by dsimic - 04-25-2021, 01:26 PM
RE: Spontaneous numlock - by KC9UDX - 04-25-2021, 03:09 PM
RE: Spontaneous numlock - by ab1jx - 04-25-2021, 04:38 PM
RE: Spontaneous numlock - by dsimic - 04-25-2021, 05:39 PM
RE: Spontaneous numlock - by ab1jx - 04-25-2021, 07:16 PM
RE: Spontaneous numlock - by dsimic - 04-25-2021, 07:32 PM
RE: Spontaneous numlock - by ab1jx - 04-25-2021, 09:05 PM
RE: Spontaneous numlock - by dsimic - 04-25-2021, 09:22 PM
RE: Spontaneous numlock - by KC9UDX - 04-25-2021, 10:11 PM
RE: Spontaneous numlock - by ab1jx - 04-26-2021, 05:15 AM
RE: Spontaneous numlock - by KC9UDX - 04-26-2021, 05:44 PM
RE: Spontaneous numlock - by ab1jx - 04-26-2021, 08:00 PM
RE: Spontaneous numlock - by dsimic - 04-30-2021, 01:46 AM
RE: Spontaneous numlock - by ab1jx - 04-30-2021, 03:44 AM

Forum Jump:


Users browsing this thread: 28 Guest(s)