Author Topic: Looking for help flashing a Taobao GH60 'Rev B'  (Read 1930 times)

0 Members and 1 Guest are viewing this topic.

Offline Malenky

  • Thread Starter
  • Posts: 271
  • Location: United Kingdom
Looking for help flashing a Taobao GH60 'Rev B'
« on: Wed, 22 February 2017, 07:55:45 »
Here is an album of photos so you can see what the PCB looks like. Note that it does not support ISO enter, which I think is where a few of my problems to do with layout may come from (incorrect matrix?).

http://imgur.com/a/nM22s

This PCB doesn't go into bootloader mode the same way as other keyboards I've used (for use with Flip/TKG/easykeymapper etc). Holding the reset button puts it into LUFA mass storage, which opens it up as an external drive that looks like this:



After some googling I found that the PCB that Originativeco.com sells works like this. I used the tool they point to to generate a keymap hex file and used the hex2bin.bat they suggest using to generate a FLASH.BIN file which I then dragged into LUFA BOOT to replace the one that was there.

Doing this, the top 2 rows work, except T doesn't output anything, and I outputs T. Row 3 and 4 don't work at all. The bottom row modifiers DO work, albeit in the wrong position to what the hex file supposedly says.

I have tried using hex files generated by easykeymapper and by TKG using the raw data from keyboard-layout-editor.com, but with these hex files, nothing works at all. I have also tried various 'default' firmwares provided by different bootloaders etc. I have also used http://qmk.sized.io/ and that doesn't work, with either custom layout or a default one.

I don't know where else to turn to next, I've never used QMK or programmed a layout manually, but would something like this be a solution, or does anyone have any other suggestions? Maybe someone has used this specific PCB in the past?

Thanks in advance.


Offline pixelpusher

  • * Elevated Elder
  • Posts: 4229
  • Location: Tennessee - USA
Re: Looking for help flashing a Taobao GH60 'Rev B'
« Reply #1 on: Wed, 22 February 2017, 11:19:51 »
https://tkg.io/

I'm not sure b/c I've never had a LUFA one before, but did you try using this tool to get your .bin file?  They have GH60(A,B,C) in the dropdown.


Just grab a simple 60% layout http://www.keyboard-layout-editor.com/ and paste in the raw data in Layer0, download the .bin file and see what happens.
« Last Edit: Wed, 22 February 2017, 11:23:25 by reececonrad »

Offline Malenky

  • Thread Starter
  • Posts: 271
  • Location: United Kingdom
Re: Looking for help flashing a Taobao GH60 'Rev B'
« Reply #2 on: Wed, 22 February 2017, 12:01:22 »
Hey thanks for the reply. As I said, I've tried using TKG with a keyboard layout from keyboard-layout-editor and it doesn't work at all.

Offline pixelpusher

  • * Elevated Elder
  • Posts: 4229
  • Location: Tennessee - USA
Re: Looking for help flashing a Taobao GH60 'Rev B'
« Reply #3 on: Wed, 22 February 2017, 12:46:32 »
What does Windows list in the device manager when you put it in programming mode?
« Last Edit: Wed, 22 February 2017, 13:04:36 by reececonrad »

Offline pixelpusher

  • * Elevated Elder
  • Posts: 4229
  • Location: Tennessee - USA
Re: Looking for help flashing a Taobao GH60 'Rev B'
« Reply #4 on: Wed, 22 February 2017, 13:04:45 »
With my RevCHN GH60, i used https://github.com/kairyu/tkg-toolkit  this tool and I remember seeing an option of LUFA when running the setup.bat file.  The setup will download the proper driver, I believe.

They ONLY way I could get that sucker to work was to use easyAVR to generate the hex and then drop it on the reflash.bat 

I spent at least 5 hours trying other options and that's the one that worked for me.

When I installed the Atmel drivers (trying to use Flip) it screwed everything up and I had to keep going into the device manager and uninstall the drivers (clicking the checkbox that comes up to remove them all). 
« Last Edit: Wed, 22 February 2017, 13:06:30 by reececonrad »

Offline Malenky

  • Thread Starter
  • Posts: 271
  • Location: United Kingdom
Re: Looking for help flashing a Taobao GH60 'Rev B'
« Reply #5 on: Wed, 22 February 2017, 13:54:50 »
I know what you mean, in TKG you can choose LUFA instead of DFU for bootloader mode. The problem is that whenever you choose this and then drop a hex file onto reflash, it still asks you to press the reset/bootloader button. It then opens as LUFA BOOT mass storage, but TKG doesn't recognise it and says its usual 'did you forget to press the reset button?'

In device manager, in LUFA BOOT mode, it shows as a USB Mass Storage Device.

I have played around with trying to install drivers via Zadig, and via reinstalling through device manager and pointing it to folders in the Atmel Flip folder. None of this has worked and I've had to uninstall the devices through device manager and with USBdeview in order to get them back to a state in which LUFA BOOT will even open again and I can flash a half working firmware onto it.