Author Topic: Trouble Flashing QMK firmware  (Read 2839 times)

0 Members and 1 Guest are viewing this topic.

Offline Zip64

  • Thread Starter
  • Posts: 4
Trouble Flashing QMK firmware
« on: Sat, 30 March 2019, 14:06:37 »
Hello, I am having a problem with flashing my custom firmware to my Teensy ++ 2.0. When I try to flash I get this error

Programming.error writing to Teensy

make[1]: *** [tmk_core/avr.mk:128: teensy] Error 1
Make finished with errors
make: *** [Makefile:544: bondwell:teensy] Error 1

I tried the fix that one user did here https://github.com/technomancy/atreus/issues/34 But it did not change anything so I reverse what I did back to it's original state. As far as I know I am doing everything correctly I flash using the command
(make bondwell:teensy) and have gotten rid of all the errors that where showing up in the keyboard layout files.

Any help would be greatly appreciated

Offline algernon

  • Posts: 311
  • A tiny mouse, a hacker.
    • Diaries of a Madman
Re: Trouble Flashing QMK firmware
« Reply #1 on: Sat, 30 March 2019, 18:59:38 »
Can you paste the full output, please?

The three lines you pasted essentially tell us that "**** happend", but no further information.

Offline Zip64

  • Thread Starter
  • Posts: 4
Re: Trouble Flashing QMK firmware
« Reply #2 on: Sat, 30 March 2019, 20:07:55 »
Ah Sorry About that

Here you go


terry@DESKTOP-PR19O5S MSYS ~
$ cd /c/qmk_firmware

terry@DESKTOP-PR19O5S MSYS /c/qmk_firmware
$ make bondwell:teensy
Making bondwell with keymap default and target teensy

avr-gcc.exe (AVR_8_bit_GNU_Toolchain_3.6.1_1752) 5.4.0
Copyright (C) 2015 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   21772       0   21772    550c .build/bondwell_default.hex

Compiling: tmk_core/common/command.c                                                                [OK]
Linking: .build/bondwell_default.elf                                                                [OK]
Creating load file for flashing: .build/bondwell_default.hex                                        [OK]
Checking file size of bondwell_default.hex                                                          [OK]
 * The firmware size is fine - 21772/28672 (6900 bytes free)
Copying bondwell_default.hex to qmk_firmware folder                                                 [OK]
Teensy Loader, Command Line, Version 2.1
Read ".build/bondwell_default.hex": 21772 bytes, 67.5% usage
Waiting for Teensy device...
 (hint: press the reset button)
Found HalfKay Bootloader
Read ".build/bondwell_default.hex": 21772 bytes, 67.5% usage
Programming.error writing to Teensy

make[1]: *** [tmk_core/avr.mk:128: teensy] Error 1
Make finished with errors
make: *** [Makefile:544: bondwell:teensy] Error 1

terry@DESKTOP-PR19O5S MSYS /c/qmk_firmware
$

Thanks Again for your help