tmk / tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M
3.99k stars 1.71k forks source link

ADB Converter does not show up on USB bus #360

Closed jceaser closed 8 years ago

jceaser commented 8 years ago

New here, not sure where to start, but I cloned a fresh copy of the code, compiled and installed, but no luck.

  1. The Teensy2.0 board does not show up on the USB bus unless I press the flash button
    1. as viewed in Mac OS X's System Information application
  2. No light on board
  3. Wired board to keyboard using VCC, Ground, and PD0 with a 4.7k Ohm resistor on VCC and PD0.

Reasons I think the problem is here:

  1. http://guide-images.ifixit.net/igi/gAnVPQBeHPfVsRWX.large
    1. it looks for all the world as if the blue wire is on PF0.
    2. Which is the data pin I should be using on the Teensy 2.0
  2. https://github.com/tmk/blargg-adb-teensy worked "out of the box", sure I had to add "int" and "const" to a few lines, but it worked, so I know my wiring is good and my board is working.

So I could just move on and use blargg-adb-teensy but your project looks way more active and feature rich. What can I do to debug this thing? The code hear is a bit overwhelming, I would like to start with making the light blink and proving that the code is in fact loading and booting, unless someone here has a better suggestion.

jceaser commented 8 years ago

I fixed my own problem but I'm unsure if I did it the right way, I changed the processor in the Makefile as shown below with a diff:

 # atmega32u4   Teensy2.0
 # atemga32u4   TMK Converter rev.1
 # atemga32u2   TMK Converter rev.2
-MCU = atmega32u2
+MCU = atmega32u4
  1. is atemga32u4 spelled correctly?
  2. should I have to change MCU or should the system figure it out?
tmk commented 8 years ago

As the comment say you should use proper value for your hardware.