Re: [Newbie] Want to create a DIY ortholinear mechanical keyboard
Posted: 02 Feb 2019, 13:53
Thanks for your answer, but I don't see what to do with the diodes...
mechanical keyboard authority
https://ns1.deskthority.net/
The 14th switch is not 14:1 anymore but 1:6 so it should not be connected to the 13th. It becomes an incredibly complicated matrix that you have to lay down very carefully on paper first. Honestly I don't think it's worth the hassle. You are removing 2 columns but adding a row, so to make it really effective you should remove at least one more column.Le Barde wrote: 03 Feb 2019, 22:48 If somebody has any clue for bullet 1. (diodes), this is still foggy to my mind! Thanks!
as you said. BINGO!Le Barde wrote: 04 Feb 2019, 10:26 So if I want to disturb the matrix as little as possible, I need to remove 4 columns and add 2 rows. This way I can manage to put my 75 keys!
Code: Select all
~# make lebarde:bepo:avrdude # with user ROOT
QMK Firmware 0.6.266
Making [1mlebarde[0m with keymap [1mbepo[0m and target [1mavrdude[0m
avr-gcc (GCC) 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 17864 0 17864 45c8 .build/lebarde_bepo.hex
Compiling: tmk_core/common/command.c [32;01m[OK][0m
Linking: .build/lebarde_bepo.elf [32;01m[OK][0m
Creating load file for flashing: .build/lebarde_bepo.hex [32;01m[OK][0m
Copying lebarde_bepo.hex to qmk_firmware folder [32;01m[OK][0m
Checking file size of lebarde_bepo.hex [32;01m[OK][0m
* The firmware size is fine - 17864/28672 (10808 bytes free)
Detecting USB port, reset your controller now......
Detected controller on USB port at /dev/ttyACM0
Connecting to programmer: .
Found programmer: Id = "
?
?ÿÿ
"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ".build/lebarde_bepo.hex"
avrdude: input file .build/lebarde_bepo.hex auto detected as Intel Hex
avrdude: writing flash (17864 bytes):
Writing | #########avrdude: error: programmer did not respond to command: set addr
####avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: write block
***failed;
***failed;
[...]
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0000 - 0x007f) failed to write
***failed;
***failed;
[...]
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0080 - 0x00ff) failed to write
***failed;
***failed;
[...]
***failed;
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0100 - 0x017f) failed to write
***failed;
[...]
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0180 - 0x01ff) failed to write
***failed;
***failed;
[...]
***failed;
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0200 - 0x027f) failed to write
***failed;
***failed;
***failed;
[...]
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0280 - 0x02ff) failed to write
***failed;
***failed;
[...]
***failed;
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0300 - 0x037f) failed to write
***failed;
***failed;
[...]
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 127 (addresses 0x0380 - 0x03ff) failed to write
***failed;
***failed;
[...]
***failed;
***failed;
avrdude: Error: butterfly programmer uses avr_write_page() but does not
provide a cmd() method.
*** page 71 (addresses 0x4548 - 0x45c7) failed to write
# | 100% 1.10s
avrdude: 17864 bytes of flash written
avrdude: verifying flash memory against .build/lebarde_bepo.hex:
avrdude: load data flash data from input file .build/lebarde_bepo.hex:
avrdude: input file .build/lebarde_bepo.hex auto detected as Intel Hex
avrdude: input file .build/lebarde_bepo.hex contains 17864 bytes
avrdude: reading on-chip flash data:
Reading | avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
#avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
# | 100% 0.13s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0d != 0x0c
avrdude: verification error; content mismatch
avrdude: safemode: Verify error - unable to read efuse properly. Programmer may not be reliable.
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may not be reliable.
avrdude: safemode: Sorry, reading back fuses was unreliable. I have given up and exited programming mode
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
make[1]: *** [tmk_core/avr.mk:228: avrdude] Error 1
[31;01mMake finished with errors
[0mmake: *** [Makefile:545: lebarde:bepo:avrdude] Error 1
Code: Select all
root# dfu-programmer atmega32u4 erase
dfu-programmer: no device present.
Code: Select all
Writing | ################################################## | 100% 0.89s
avrdude: 17864 bytes of flash written
avrdude: verifying flash memory against lebarde_bepo.hex:
avrdude: load data flash data from input file lebarde_bepo.hex:
avrdude: input file lebarde_bepo.hex auto detected as Intel Hex
avrdude: input file lebarde_bepo.hex contains 17864 bytes
avrdude: reading on-chip flash data:
Reading | | 0% 0.00savrdude: error: programmer did not respond to command: set addr
Reading | # | 1% 0.00savrdude: error: programmer did not respond to command: set addr
Reading | # | 2% 0.00savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ## | 3% 0.00savrdude: error: programmer did not respond to command: set addr
Reading | ## | 4% 0.01savrdude: error: programmer did not respond to command: set addr
Reading | ### | 5% 0.01savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ### | 6% 0.01savrdude: error: programmer did not respond to command: set addr
Reading | #### | 7% 0.01savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | #### | 8% 0.01savrdude: error: programmer did not respond to command: set addr
Reading | ##### | 9% 0.01savrdude: error: programmer did not respond to command: set addr
Reading | ##### | 10% 0.01savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ###### | 11% 0.01savrdude: error: programmer did not respond to command: set addr
Reading | ###### | 12% 0.01savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ####### | 13% 0.02savrdude: error: programmer did not respond to command: set addr
Reading | ####### | 14% 0.02savrdude: error: programmer did not respond to command: set addr
Reading | ######## | 15% 0.02savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ######## | 16% 0.02savrdude: error: programmer did not respond to command: set addr
Reading | ######### | 17% 0.02savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ######### | 18% 0.03savrdude: error: programmer did not respond to command: set addr
Reading | ########## | 19% 0.03savrdude: error: programmer did not respond to command: set addr
Reading | ########## | 20% 0.03savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ########### | 21% 0.03savrdude: error: programmer did not respond to command: set addr
Reading | ########### | 22% 0.03savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############ | 23% 0.03savrdude: error: programmer did not respond to command: set addr
Reading | ############ | 24% 0.03savrdude: error: programmer did not respond to command: set addr
Reading | ############# | 25% 0.03savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############# | 26% 0.04savrdude: error: programmer did not respond to command: set addr
Reading | ############## | 27% 0.04savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############## | 28% 0.04savrdude: error: programmer did not respond to command: set addr
Reading | ############### | 29% 0.04savrdude: error: programmer did not respond to command: set addr
Reading | ############### | 30% 0.04savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################ | 31% 0.04savrdude: error: programmer did not respond to command: set addr
Reading | ################ | 32% 0.04savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################# | 33% 0.05savrdude: error: programmer did not respond to command: set addr
Reading | ################# | 34% 0.05savrdude: error: programmer did not respond to command: set addr
Reading | ################## | 35% 0.05savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################## | 36% 0.05savrdude: error: programmer did not respond to command: set addr
Reading | ################### | 37% 0.05savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################### | 38% 0.05savrdude: error: programmer did not respond to command: set addr
Reading | #################### | 39% 0.05savrdude: error: programmer did not respond to command: set addr
Reading | #################### | 40% 0.05savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ##################### | 41% 0.06savrdude: error: programmer did not respond to command: set addr
Reading | ##################### | 42% 0.06savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ###################### | 43% 0.06savrdude: error: programmer did not respond to command: set addr
Reading | ###################### | 44% 0.06savrdude: error: programmer did not respond to command: set addr
Reading | ####################### | 45% 0.06savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ####################### | 46% 0.07savrdude: error: programmer did not respond to command: set addr
Reading | ######################## | 47% 0.07savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ######################## | 48% 0.07savrdude: error: programmer did not respond to command: set addr
Reading | ######################### | 49% 0.07savrdude: error: programmer did not respond to command: set addr
Reading | ######################### | 50% 0.08savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ########################## | 51% 0.08savrdude: error: programmer did not respond to command: set addr
Reading | ########################## | 52% 0.08savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ########################### | 53% 0.08savrdude: error: programmer did not respond to command: set addr
Reading | ########################### | 54% 0.08savrdude: error: programmer did not respond to command: set addr
Reading | ############################ | 55% 0.08savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################ | 56% 0.08savrdude: error: programmer did not respond to command: set addr
Reading | ############################# | 57% 0.08savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################# | 58% 0.09savrdude: error: programmer did not respond to command: set addr
Reading | ############################## | 59% 0.09savrdude: error: programmer did not respond to command: set addr
Reading | ############################## | 60% 0.09savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################### | 61% 0.09savrdude: error: programmer did not respond to command: set addr
Reading | ############################### | 62% 0.09savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################################ | 63% 0.09savrdude: error: programmer did not respond to command: set addr
Reading | ################################ | 64% 0.10savrdude: error: programmer did not respond to command: set addr
Reading | ################################# | 65% 0.10savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################################# | 66% 0.10savrdude: error: programmer did not respond to command: set addr
Reading | ################################## | 67% 0.10savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################################## | 68% 0.11savrdude: error: programmer did not respond to command: set addr
Reading | ################################### | 69% 0.11savrdude: error: programmer did not respond to command: set addr
Reading | ################################### | 70% 0.11savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | #################################### | 71% 0.11savrdude: error: programmer did not respond to command: set addr
Reading | #################################### | 72% 0.11savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ##################################### | 73% 0.11savrdude: error: programmer did not respond to command: set addr
Reading | ##################################### | 74% 0.11savrdude: error: programmer did not respond to command: set addr
Reading | ###################################### | 75% 0.11savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ###################################### | 76% 0.12savrdude: error: programmer did not respond to command: set addr
Reading | ####################################### | 77% 0.12savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ####################################### | 78% 0.12savrdude: error: programmer did not respond to command: set addr
Reading | ######################################## | 79% 0.12savrdude: error: programmer did not respond to command: set addr
Reading | ######################################## | 80% 0.12savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ######################################### | 81% 0.13savrdude: error: programmer did not respond to command: set addr
Reading | ######################################### | 82% 0.13savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ########################################## | 83% 0.13savrdude: error: programmer did not respond to command: set addr
Reading | ########################################## | 84% 0.13savrdude: error: programmer did not respond to command: set addr
Reading | ########################################### | 85% 0.13savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ########################################### | 86% 0.14savrdude: error: programmer did not respond to command: set addr
Reading | ############################################ | 87% 0.14savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################################ | 88% 0.14savrdude: error: programmer did not respond to command: set addr
Reading | ############################################# | 89% 0.14savrdude: error: programmer did not respond to command: set addr
Reading | ############################################# | 90% 0.14savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################################## | 91% 0.14savrdude: error: programmer did not respond to command: set addr
Reading | ############################################## | 92% 0.14savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ############################################### | 93% 0.15savrdude: error: programmer did not respond to command: set addr
Reading | ############################################### | 94% 0.15savrdude: error: programmer did not respond to command: set addr
Reading | ################################################ | 95% 0.15savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################################################ | 96% 0.15savrdude: error: programmer did not respond to command: set addr
Reading | ################################################# | 97% 0.15savrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
Reading | ################################################# | 98% 0.16savrdude: error: programmer did not respond to command: set addr
Reading | ################################################## | 99% 0.16savrdude: error: programmer did not respond to command: set addr
Reading | ################################################## | 100% 0.16s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0d != 0x0c
avrdude: verification error; content mismatch
avrdude: safemode: hfuse changed! Was d8, and is now ff
Would you like this fuse to be changed back? [y/n] n
avrdude: safemode: efuse changed! Was fb, and is now ff
Would you like this fuse to be changed back? [y/n] n
avrdude: safemode: Fuses OK (E:FB, H:D8, L:FF)
avrdude done. Thank you.
root@home:/mnt/red/dev/qmk_firmware#
First, use:Le Barde wrote: 07 Feb 2019, 11:52 @Laser Thank you for your answer!
So, I have tested quite a good things. I even think I had started to brick my Pro Micro card. It seems it is now OK.
1. It seems dfu-programmer never finds the board. How to target it?
Code: Select all
root# dfu-programmer atmega32u4 erase dfu-programmer: no device present.
Code: Select all
sudo dfu-programmer ...
Code: Select all
~/dev/qmk_firmware$ avrdude -p atmega32u4 -P /dev/ttyACM1 -c avr109 -U flash:w:lebarde_bepo.hex
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "lebarde_bepo.hex"
avrdude: input file lebarde_bepo.hex auto detected as Intel Hex
avrdude: writing flash (17838 bytes):
Writing | ################################################## | 100% 1.33s
avrdude: 17838 bytes of flash written
avrdude: verifying flash memory against lebarde_bepo.hex:
avrdude: load data flash data from input file lebarde_bepo.hex:
avrdude: input file lebarde_bepo.hex auto detected as Intel Hex
avrdude: input file lebarde_bepo.hex contains 17838 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.14s
avrdude: verifying ...
avrdude: 17838 bytes of flash verified
avrdude: safemode: Fuses OK (E:FB, H:D8, L:FF)
avrdude done. Thank you.
Code: Select all
lebarde@home:~/dev/qmk_firmware$ lsusb
[...]
Bus 001 Device 069: ID cdcd:7575
[...]
Code: Select all
#define KEYMAP( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E,\
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E } \
}
Code: Select all
#define KEYMAP( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K50, K51, K52, K53,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K54, K55, K56, K57,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K59, K58, K69, K68,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K60, K61, K62, K63,\
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K64, K65, K66, K67 \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A }, \
{ K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, }, \
{ K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, } \
}
Code: Select all
#define KEYMAP( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K50, K51, K52, K53,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K54, K55, K56, K57,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K59, K58, K69, K68,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K60, K61, K62, K63,\
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K64, K65, K66, K67 \
) { \
{ K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, }, \
{ K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A }, \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A } \
}