geekhack

geekhack Community => Keyboards => Topic started by: Carogna on Thu, 05 March 2020, 15:45:34

Title: XD84 flashing issue
Post by: Carogna on Thu, 05 March 2020, 15:45:34
I flased an XD84 PCB (Kimera Core for 75% keyboard ) about my custom keyboard using "https://kai.tkg.io/" website, but after I flashed it the board became completely unreponsive. Windows still recognizes it when it plugs in (as HID on the device manager), and QMK Graphic Tool recognize it as KIMERA firmware too. So, it should works, but doesn't

I made my custom keyboard layout on "http://www.keyboard-layout-editor.com/"

Does anyone ever faced this issue and (hopefully) fixed or have a solution?
Thanks to everybody for support

Cheers

CRG
Title: Re: XD84 flashing issue
Post by: Sup on Thu, 05 March 2020, 18:34:40
Don't use online QMK hex makers. make a QMK environment and compile it trough there and flash it trough QMK Toolbox


Title: Re: XD84 flashing issue
Post by: Carogna on Sat, 04 April 2020, 14:40:12
Hi Sup,
I got your suggestion and I put in place a development env on my own PC (MSYS64+QMK Firmware build package). After installed any required package (as per guide on qmk official site) I had face  following error:

##################################################################################

Carogna@CAROGNA MINGW64 ~/qmk_firmware
$ qmk compile -kb xd84 -km default
INFO Compiling keymap with make xd84:default


Making xd84 with keymap default

make[1]: ingresso nella directory «/home/Carogna/qmk_firmware»
tmk_core/protocol/lufa.mk:14: lib/lufa/LUFA/makefile: No such file or directory
make[1]: ***  Nessuna regola per generare l'obiettivo «lib/lufa/LUFA/makefile».  Arresto.
make[1]: uscita dalla directory «/home/Carogna/qmk_firmware»
Make finished with errors
make: *** [Makefile:579: xd84:default] Errore 1


########################################################################

In fact lib/lufa is empty. I expected should be fill out by all package downloaded from github repository. I tried to investigate on internet if it should be possible to get these libraries form a deputed site, without luck
I am still trying to figure out this issue, but if you have a suggestion it will be very appreciated  ;) ;) ;) ;) ;)

Title: Re: XD84 flashing issue
Post by: envyy24 on Sat, 04 April 2020, 15:13:15
I guess I am on the opposite site. Trying to install all the packages and create hex via Msys were hell for me. At the end, I went on https://config.qmk.fm/ , edit my layout, compile hex, download and flash without fail. So. There is that if you want to try.
Title: Re: XD84 flashing issue
Post by: Carogna on Sun, 05 April 2020, 07:19:32
I tried,
but it is not so easy. I need too configure an Italian Layout (with accented character/letters). As far as I see this specific layout isn't available on QMK configurator website. below you can find my keyboard layout:

(https://jimdo-storage.freetls.fastly.net/image/89596134/d6119d44-8212-466e-8aa3-eebef1367cc1.jpg)

That's the reason why I need to compile a new hex file in order to flash my XD84 PCB.
Do you have any idea to how bypass msys64 cunstomized env ?
 
Title: Re: XD84 flashing issue
Post by: envyy24 on Sun, 05 April 2020, 10:09:41
Ah man sorry im clueless when it comes to this stuff.
Title: Re: XD84 flashing issue
Post by: suicidal_orange on Sun, 05 April 2020, 10:51:46
There is no such thing as an Italian layout, nor any other language - keyboards send key codes that are converted to characters by your operating system.  You will need to pretend you want a UK layout as that has the ISO keys with the legends you will see on configurators.  Same if you're trying to compile it yourself.

I'm bored so just had a play exporting the default ANSI on the last link (https://config.qmk.fm/) and modifying it for ISO and came up with the attached which uploads and looks right to me so give that a try :)

[attachurl=1]
Title: Re: XD84 flashing issue
Post by: Carogna on Tue, 07 April 2020, 09:53:21
Awesome ! It worked ! Good
Thank you very much Suicidal  :thumb: :thumb: :thumb: :thumb: :thumb: !! In fact I put your .json file on QMK Configuration website and downloaded all related firmware package (.zip), then I found LUFA lib directory populated. I copied all lib file from zip package to my msys64 env.

Magically I was able to compile XD84 ISO default .hex file. I flashed my keyboard and work correctly selecting Italian Layout on Win10
Anyway  I will have to try other configuration (probrably editign keymap_italian.h under "quantum" path) because my layout it is not properly "italia". It has some different (have a loof on "number" keycaps). But , right now, it is an achivement  :cool: :cool: :cool: :cool: :)) :)) :)) :)) :))

Thanks again