Page 1 of 1

For the sake of my sanity, please help me with firmware.

Posted: 12 Jun 2015, 04:22
by streiw
I'm to the point where this hand-wired Matrix keyboard is going to be retired if I can't figure out where I'm screwing up. And by retired, I mean smashed gloriously.


I've checked my soldering, everything is fine there; Here's my pin layout if anyone wants to link me to a valid .hex file for 87 key ANSI layout:

Code: Select all

F0: ROW 0 - BROWN
F1: ROW 1 - RED
F4: ROW 2 - ORANGE
F5: ROW 3 - YELLOW
F6: ROW 4 - GREEN
F7: ROW 5 - BLUE



COLUMN 0: B0 - BROWN
COLUMN 1: B1 - RED
COLUMN 2: B2 - ORANGE
COLUMN 3: B3 - YELLOW
COLUMN 4: B7 - GREEN
COLUMN 5: D0 - BLUE
COLUMN 6: D1 - PURPLE
COLUMN 7: D2 - BLACK
COLUMN 8: D3 - GREY
COLUMN 9: C6 - WHITE
COLUMN 10: C7 - PURPLE
COLUMN 11: D5 - GREY
COLUMN 12: D4 - BROWN
COLUMN 13: D7 - RED
COLUMN 14: B4 - ORANGE
COLUMN 15: B5 - YELLLOW

Teensy 2.0 controller.

Posted: 12 Jun 2015, 05:59
by salsaverde
What firmware are you using? I had trouble with the ones I had to compile myself, and had good results with Soarer's.

http://deskthority.net/workshop-f7/soar ... t6767.html

The first step is to flash your controller with the supplied .hex file. Then you edit a configuration file, assemble it to binary, and upload it to the controller. The full documentation for the configuration file is in Soarer's Converter.

http://deskthority.net/workshop-f7/xt-a ... t2510.html

Hope that helps.

Posted: 12 Jun 2015, 23:05
by streiw
salsaverde wrote: What firmware are you using? I had trouble with the ones I had to compile myself, and had good results with Soarer's.

http://deskthority.net/workshop-f7/soar ... t6767.html

The first step is to flash your controller with the supplied .hex file. Then you edit a configuration file, assemble it to binary, and upload it to the controller. The full documentation for the configuration file is in Soarer's Converter.

http://deskthority.net/workshop-f7/xt-a ... t2510.html

Hope that helps.

http://imgur.com/rm5anxm


Any suggestions?

Posted: 13 Jun 2015, 02:09
by salsaverde
Hmm. Maybe there's a version mismatch in the tools or hex file. Try checking for the latest version of everything. The converter package should be ver. 1.12.

Here is the output I get when I write the config file to the Teensy:

Code: Select all

scwr v1.10
scwr: looking for Soarer's Converter: found
scwr: reading file: 394 bytes: ok
scwr: sending info request: ok
device: ok
protocol version check: converter=1.00, scwr=1.00: ok
settings version check: converter=1.03, file=1.03: ok
settings length check: max=4090, file=392 bytes: ok
scwr: sending write request for 392 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 32 bytes: ok
device: ok
device: complete

Posted: 13 Jun 2015, 03:38
by streiw
salsaverde wrote: Hmm. Maybe there's a version mismatch in the tools or hex file. Try checking for the latest version of everything. The converter package should be ver. 1.12.

Here is the output I get when I write the config file to the Teensy:

Code: Select all

scwr v1.10
scwr: looking for Soarer's Converter: found
scwr: reading file: 394 bytes: ok
scwr: sending info request: ok
device: ok
protocol version check: converter=1.00, scwr=1.00: ok
settings version check: converter=1.03, file=1.03: ok
settings length check: max=4090, file=392 bytes: ok
scwr: sending write request for 392 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 60 bytes: ok
device: ok
device: ready
scwr: sending 32 bytes: ok
device: ok
device: complete

You're right, I somehow mixed up two versions of Soarer's.. :oops:


Glad to say that my keyboard is now functional; Perhaps I'll write a comprehensive guide on how to build one, as the ones I've seen are pretty lacking in step-by-step directions -- Looking at you, Soarer.

Posted: 13 Jun 2015, 06:59
by salsaverde
Glad to hear it. Let's see some pics of your masterpiece.