Skip to content

Instantly share code, notes, and snippets.

@yhara
Last active September 3, 2019 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yhara/76c5e49f394228adf7511b8ed332d29e to your computer and use it in GitHub Desktop.
Save yhara/76c5e49f394228adf7511b8ed332d29e to your computer and use it in GitHub Desktop.
/Users/yhara/proj/qmk_firmware/lets_yhara % ./write.sh [263/405]
QMK Firmware 0.6.385
WARNING:
Some git sub-modules are out of date or modified, please consider running:
make git-submodule
You can ignore this warning if you are not compiling any ChibiOS keyboards,
or if you have modified the ChibiOS libraries yourself.
Making lets_split/rev2 with keymap yhara and target avrdude
avr-gcc (GCC) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Size before:
text data bss dec hex filename
0 18966 0 18966 4a16 .build/lets_split_rev2_yhara.hex
Compiling: keyboards/lets_split/keymaps/yhara/keymap.c [OK]
Compiling: tmk_core/common/command.c [OK]
Linking: .build/lets_split_rev2_yhara.elf [OK]
Creating load file for flashing: .build/lets_split_rev2_yhara.hex [OK]
Copying lets_split_rev2_yhara.hex to qmk_firmware folder [OK]
Checking file size of lets_split_rev2_yhara.hex [OK]
* The firmware size is fine - 18952/28672 (9720 bytes free)
Detecting USB port, reset your controller now.......
Device /dev/tty.usbmodem1412221 has appeared; assuming it is the controller.
Waiting for /dev/tty.usbmodem1412221 to become writable.
avrdude: ser_drain(): read error: Device not configured
Connecting to programmer: .avrdude: ser_send(): write error: Device not configured
avrdude: ser_drain(): read error: Device not configured
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_drain(): read error: Device not configured
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type =
Software Version = .; Hardware Version = .
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude: ser_close(): can't reset attributes for device: Device not configured
avrdude done. Thank you.
make[1]: *** [avrdude] Error 1
make: *** [lets_split/rev2:yhara:avrdude] Error 1
Make finished with errors
/Users/yhara/proj/qmk_firmware/lets_yhara %

Let's Split 故障 (2019/09/03)

やったこと

  • 9/3 20時ごろ
    • 久しぶりにキーマップを書き換えた
    • キーマップを書き込んだ
    • うまく動かない(右手のキーが効かない)ことに気づく
    • あわてて、一つ前の.hexに戻して再度書き込み
    • 添付のerr.txtのようになった。右手は効かないまま
    • helix:defaultも書いてみるが、やはり右手は効かない

状況

  • 左手にUSBケーブルを挿した場合

    • 左手は完動
    • 右手は、ほとんどのキーが無反応
      • 右端のキーのみ反応はある
      • 一番上: h Enter が入力される
      • 二番目: - n が入力される
      • 三番目: Space が入力される
      • 四番目: 反応なし
  • 右手にUSBケーブルを挿した場合

    • 右手は、以下のように左手のマップを反転した感じの挙動。(?)は未確認
    t     r   e   w   q   (?)  
    g     f   d   s   a   (?)  
    b     v   c   x   z   Shift
    Space (?) (?) (?) (?) (?)
    
    • 左手はほぼ無反応だが、最下段のあるキーを押しながら最下段の別のキーを押すと「p:;lkj 」と一気に入力されたりする

追記

上記のような調査を行ったあとUSBケーブルを左手に戻したところ、左右とも完全に無反応になった

GND-RSTショートで書き込みを行おうとしても、pro microのランプは明滅するが書き込みは行われない状態

環境

Mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment