Author Topic: Problems programming Yang BLE HHKB board - did I brick my setup?  (Read 1445 times)

0 Members and 1 Guest are viewing this topic.

Offline livewirerc

  • Thread Starter
  • Posts: 42
  • Location: Austin, TX
I got one of the Yang BLE HHKB boards from Kbdfans.cn, and when I plugged it in it worked great... until I tried to reprogram it. I followed the instructions on their page, deleted the HHKB_BLE.BIN file from my keyboard, and wrote a new one in its place. Pressed escape, and... nothing. Board wouldn't output anything. I plugged it back in to try again, and looking at the files, it looked like the date on my HHKB_BLE.BIN file had reverted to its original date. So I tried overwriting it again, all looked good, disconnected, and same thing. No output, and the file date had reverted again.

Now, when I try to read the BIN file from the keyboard, I see a bunch of chinese characters on the mapping, but no actual keymaps. Also, whenever I plug it in, all the LEDs just flash. Doesn't show up on bluetooth, doesn't do anything when directly plugged in. I have no idea what I did wrong, but now it doesn't want to work. Any suggestions?

Offline yui

  • Posts: 1082
  • Location: 127.0.0.1 (in azerty)
Re: Problems programming Yang BLE HHKB board - did I brick my setup?
« Reply #1 on: Thu, 04 March 2021, 00:56:44 »
the fact that is is called .bin would indicate to me that it is meant to be compiled, and so not human readable, when you use notepad it tries to approximate a human readable text from that non human readable code and you get random characters that makes no sense. or at least that is my guess, i do not really have time to search more in the matter, just trying to help quickly :)

edit: forgot to say: you still seem to have access to the programming interface so i would guess that you did not brick anything.
« Last Edit: Thu, 04 March 2021, 02:03:35 by yui »
vi vi vi - the roman number of the beast (Plan9 fortune)

Offline livewirerc

  • Thread Starter
  • Posts: 42
  • Location: Austin, TX
Re: Problems programming Yang BLE HHKB board - did I brick my setup?
« Reply #2 on: Thu, 04 March 2021, 08:14:10 »
Thank you for taking the time to reply. The .BIN file I'm using to replace it is generated from the keymap builder site, and should be in the same format as the original one on the device itself:

https://ydkb.io/#

What's confusing is that when I check the file dates after uploading the new one, it shows today's date, but as soon as I reset the keyboard, if I re-connect the file has reverted to its original date, almost as if it's trying to wipe the config I loaded and re-load the default, which is failing (the default .BIN it's re-writing is unreadable by the programmer site/utility).

Offline yui

  • Posts: 1082
  • Location: 127.0.0.1 (in azerty)
Re: Problems programming Yang BLE HHKB board - did I brick my setup?
« Reply #3 on: Thu, 04 March 2021, 09:26:24 »
that the file is unreadable would make sense to me, usually compiled filed are not meant to be read back but then i do not have the board and never had any of that style.
the fact that it does not care for the date also can make sense, as to use as little space on the ROM it may not save it at all, although the part that makes little sense is that it does not recognize it at all, even if it replaces it for its default one it should then have a valid configuration, but does not seem to. the site seems to say to do a lshift+rshift+b to reset the keyboard too
as i said i never had a YD keyboard so i really only can give the most generic help, still hope you can find what is going wrong.
vi vi vi - the roman number of the beast (Plan9 fortune)

Offline livewirerc

  • Thread Starter
  • Posts: 42
  • Location: Austin, TX
Re: Problems programming Yang BLE HHKB board - did I brick my setup?
« Reply #4 on: Fri, 05 March 2021, 11:24:28 »
Thanks again yui, I appreciate you taking the time to look into it and give me your thoughts. It turned out to be an issue with writing from a Linux system vs. a Windows system. From all my linux boxes (Fedora, CentOS and Ubuntu Desktop) the file would revert itself to a corrupted version immediately after writing and rebooting the keyboard. When I plugged it into my work laptop (Windows 10) and wrote the file, it kept my updated settings, and didn't give me the red yellow green repeated flashing lights. So far, it's working in both USB mode and Bluetooth mode. In fact, I'm typing this reply on it right now.

Between the Yang BLE board, a 3000mAh battery, BKE ultralights, POM keycaps and an internal 512GB USB stick, this thing is practically a brand new keyboard. I love the original HHKB Pro 2 form factor, and now its functionality can practically match my two Hybrids (and exceed them in some ways)! :)