Author Topic: Troubleshooting M0110 converter?  (Read 243 times)

marhalloweenvt and 1 Guest are viewing this topic.

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Troubleshooting M0110 converter?
« on: Sat, 16 March 2019, 15:34:04 »
I'm fairly sure I've got everything wired up and programmed right. I've got a ProMicro flashed from the latest branch of QMK https://github.com/qmk/qmk_firmware/tree/master/keyboards/converter/m0110_usb.

My wiring: https://imgur.com/a/hr8kmG0

I've got a TinkerBOY converter that works but unfortunately it's not programmable. Using it and the special Macintosh cable for these keyboards, I can confirm that the keyboard does indeed work. I've tried both the Macintosh cable and a regular phone cable with my converter and neither work and luckily neither fried my keyboard.

Offline Tactile

  • Posts: 1165
  • Location: Portland, OR
Re: Troubleshooting M0110 converter?
« Reply #1 on: Sat, 16 March 2019, 15:49:09 »
If the Pro Micro is a 5 volt, you should bridge J1. See this post.

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Re: Troubleshooting M0110 converter?
« Reply #2 on: Sat, 16 March 2019, 16:22:21 »
It is 5V. I bridged J1 and no change. I also measured VCC with a multimeter bridged and not bridged and both are ~5V. I've made plenty of other converters with this exact ProMicro without having to bridge J1.

Offline nevin

  • Posts: 242
  • Location: US
Re: Troubleshooting M0110 converter?
« Reply #3 on: Sun, 17 March 2019, 08:15:56 »
Hasu has documented this very well on his fork of qmk. Make sure you use a pull up resistor.

https://github.com/tmk/tmk_keyboard/blob/master/converter/m0110_usb/README.md

https://geekhack.org/index.php?topic=24965.0
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Re: Troubleshooting M0110 converter?
« Reply #4 on: Sun, 17 March 2019, 11:03:27 »
I have 10K resisters between 5V and CLOCK as well as 5V and DATA. I wired them up flush with the bottom of the ProMicro as you can see here: https://i.imgur.com/Q9zJ3k0.jpg

Offline nevin

  • Posts: 242
  • Location: US
Re: Troubleshooting M0110 converter?
« Reply #5 on: Sun, 17 March 2019, 20:13:47 »
are you getting errors compiling the firmware?
make sure you are compiling for your device as it is built to support both ATmega32U2 and ATmega32U4.
hasu's online configurator: http://www.tmk-kbd.com/tmk_keyboard/editor/ (pay attention to rev.1/2 processor support)
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Re: Troubleshooting M0110 converter?
« Reply #6 on: Sun, 17 March 2019, 22:26:48 »
I'm getting no errors while compiling or flashing. I was able to use the online configurator to make a .hex file that actually works while flashed. My issue with the online configurator now is that I can't seem to get a keymap that works with the M0110's locking capslock. There's a keybind option for a regular capslock that seems to have no effect. There's also a keybind option for a locking caps lock but this doesn't seem to have the right effect. It toggles on capslock until the next time the key is depressed, not when the key is released.

I'm guessing this is a limitation of the online configurator. Also I guess we've narrowed down that there's something going wrong with compiling even though I'm getting no errors.

Offline Lanrefni

  • Posts: 53
Re: Troubleshooting M0110 converter?
« Reply #7 on: Sun, 17 March 2019, 22:37:02 »
Have you tried the QMK M0110 port? It's in the configurator- https://config.qmk.fm/#/converter/m0110_usb/LAYOUT_ansi
I used the AEK II converter and it works.

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Re: Troubleshooting M0110 converter?
« Reply #8 on: Sun, 17 March 2019, 23:03:08 »
Just tried the QMK online configurator. Same result as compiling QMK on my machine. No errors, flashes fine, but they keyboard is unresponsive.

Offline nevin

  • Posts: 242
  • Location: US
Re: Troubleshooting M0110 converter?
« Reply #9 on: Sun, 17 March 2019, 23:17:24 »
locking caps lock, it's a known issue, see below

Quote
Locking CapsLock key support
See this entry. Use keycode 'LCAP' instead of 'CAPS' for the key in short. You can find it as 'Locking Caps Lock' in 'Function and Keypad' tab on Keymap Editor.
https://github.com/tmk/tmk_keyboard/#mechanical-locking-support

from: https://geekhack.org/index.php?topic=24965

as far as compiling yourself, make sure you are compiling for YOUR TARGET as well as "cleaning" before you build. like i said, i believe the default (at least for TMK is to build the firmware for the latest rev of hasu's board which is ATMega32U2 NOT ATMega32U4 which is what the pro micro is.

trying to run U2 code on a U4 will fail (unresponsive, but may flash fine)
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Wumbologist

  • Thread Starter
  • Posts: 9
Re: Troubleshooting M0110 converter?
« Reply #10 on: Sun, 17 March 2019, 23:34:02 »
Thanks nevin, I was able to get it working with that under TMK.

I was compiling the TMK version with Makefile.unimap.rev2 which is U2 and not .rev1 which is U4. Strangely, the QMK version has a rule.mk that has a line MCU = atmega32u4 but it's just as unresponsive as compiling the U2 target under TMK.

As far as capslock, I've got that key bound to shift and that's good enough for me right now.

Offline nevin

  • Posts: 242
  • Location: US
Re: Troubleshooting M0110 converter?
« Reply #11 on: Sun, 17 March 2019, 23:55:11 »
no prob. glad you have a working board now.

yeah, i'm not familiar with the QMK variant of the converter software. Hasu's (TMK) stuff is great though and he readily answers any questions people have, ....really good guy.

my m0110 is sitting in pieces at the moment, working on a project with it i'm really excited about.
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68