di0ib / Misc

Misc files
134 stars 42 forks source link

Firmware programming documentation/guide? #4

Open rpazda opened 7 years ago

rpazda commented 7 years ago

Is there a guide or information somewhere with some info on programming these? I have a couple of the 2pack and I know designing these is probably more of a hobby but some basic info on the pins used or similar would go a long way.

rpazda commented 7 years ago

After a lot of trial and error I managed to get my 2pack flashed. I overlooked the .ino file in the directory before. After getting that, configuring Arduino's IDE, setting up HID (which wasn't working right) I managed to flash it. I still think a basic guide would be really helpful. If you are busy I could put together something simple for either the readme or a help.md file

rockydbull commented 6 years ago

Hey rpazda I would love a short write up! I am currently trying to setup a 4 pack and Domo that both have the ino. Ideally I would like to figure out the pinout and make them work with qmk but that seems like an uphill battle.

rpazda commented 6 years ago

So, you can just open the Arduino sketch editor, short the pins to put it into flash mode, and then compile and deploy it to the 4pack, assuming you have the driver for the ATMEGA installed. The QMK firmware guide has decent instructions for installing the ATMEGA driver if you haven't already. The first time I tried to flash I think I had messed up the install of the drivers. The time I finally succeeded in flashing was after I fixed my configuration when trying to flash my planck keyboard so I guess I can't be certain what would work without going through that whole process. You probably just need to correctly configure the ATMEGA driver for it to work.