[Help] Flashing fw on a GH60-hx SJZZ - columns missing

nce

27 Apr 2016, 17:57

Hello everyone,

Update: I've solved the problem, i accidentally cloned the wrong tmk repo. Not the one by by hasu, but the one from kairyu. I'll update my post later with more details. Thanks anyway!

first let me tell that this is the first time flashing a keyboard, so i might've missed some obv. steps (is this even the correct place to put this help request? i havent found a 'help' section). But right now the remapping and flashing works. With some (at least for me) odd behaviour.

The column representing 5,t,g,v,space are not working (no output) but the column 8,i,k,m output 5,t,g,v.

Code: Select all

..   5 .. 8 (-> 5)
..   t .. i (-> t)
..   g .. k (-> g)
..   v .. m (-> v)
..  SPC
     |
     v
 (nothing)
The Parentheses represent what i get when pressing the respective key. Not tested any other layers, but the rest of the keys are working fine.

I got this PCB from a forum member and it was working fine (all columns/rows) before i tried to reflash the firmware, as i want another layout. So there is (should be) no hardware problem.

My Steps:
I'm on a mac and installed all the appr. software, cloned tmk and tgk from github.
After quite a few compiling problems (due to the probably outdated gh60 section of the tmk project) - i ended up in removing most LED/EEPROM includes. Now i get a successful compiling hex keymap, which i flash with the tkg toolkit.
The options i use are: atmega32u4, atmel_dfu, and i've already tried both gh60 firmewares (gh60-reva_b_c/gh60 revCHN). The results are the same.
I want to use a HHKB kind of layout on the regular ANSI keyboard, so here is my keymap draft:

Code: Select all

const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {¬
     /* 0: Default layer¬
      * ,-----------------------------------------------------------.¬
      * |Esc|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|   \   |¬
      * |-----------------------------------------------------------|¬
      * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|Bspc |¬
      * |-----------------------------------------------------------|¬
      * |Ctrl  |  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return  |¬
      * |-----------------------------------------------------------|¬
      * |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  .|  /|Shift     |¬
      * |-----------------------------------------------------------|¬
      * |    |Gui |Alt |      Space             |    |Alt |Gui |    |¬
      * `-----------------------------------------------------------'¬
      */¬
     KEYMAP_ANSI(¬
         ESC, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSLS, \¬
         TAB, Q,   W,   E,   R,   T,   Y,   U,   I,   O,   P,   LBRC,RBRC,BSPC, \¬
         LCTL,A,   S,   D,   F,   G,   H,   J,   K,   L,   SCLN,QUOT,     ENT,  \¬
         LSFT,Z,   X,   C,   V,   B,   N,   M,   COMM,DOT, SLSH,          RSFT, \¬
           NO,  LGUI,LALT,          SPC,                   TRNS,RALT,RGUI,NO),
(the keymap shouldn't matter, as compiling with: make KEYMAP=poker yields the same results)

As mentioned, i'm doing this for the first time, but i suspect something's wrong on the programming part of things, as the flashing is doing fine. Could you give me any pointers where i might be doing wrong?

I suspect it's something with the controller, that it's probably not the same used on the (org.) GH60 or SatanGH60...
Here are two images of the pcb:
http://i.imgur.com/kQKXBxQ.jpg http://i.imgur.com/mVXtfZZ.jpg
Appreciate any help on this! Thanks for reading.

funnystunny

14 Feb 2018, 12:26

Im having exactly the same problem, but im using QMK Firmware, any ideas?

Lbibass

14 Feb 2018, 15:37

funnystunny wrote: Im having exactly the same problem, but im using QMK Firmware, any ideas?

Might want to post this on github!

funnystunny

15 Feb 2018, 10:25

Solved it. Seems that for this pcb the rows and columns were on different pins of the uController.

Post Reply

Return to “Keyboards”