N
nullbitsGarbageMonster

Holly firmware

Just a recap since there is a lot of chatter above. Testing the Holly macropad. Holly firmware builds fine, flashes, then device is unresponsive. Tried building on mac and windows, same result. Tried flashing the erase firmware first, same result. Flashing the CI nightly build works fine. Build environment is qmk master branch with the holly project in keyboards folder.
jaygreco
jaygreco192d ago
Hey, sorry. I am impressed you have one in hand already! We were planning on “launching” it as a Black Friday promotion. Welcome to the party 🕶️ As you have learned docs aren’t up yet! That’s my bad. So the nightly build works, correct? Do you NEED to change the low power firmware, or you’re just playing around? The regular firmware does something naughty. It embeds the low power firmware in and jumps to it if it detects it’s on battery. So if the position has changed, or the low power firmware isn’t booting, it’ll hang on boot like you describe. I’ve been planning a write up in the getting started guide, but haven’t pushed it yet.
GarbageMonster
GarbageMonster192d ago
1. Nightly build works! 2. Don't need to build the low power firmware, only did it to see if it would fix anything and to know that it works. What I'm looking to do is build the regular qmk firmware and be able to deploy it. - Local building works with `qmk compile -kb nullbitsco/holly -km all - Flashing appears to work, seems the same as the CI built, then device is off/unresponsive. - Going into bootloader mode after unresponsive still works Bootloader mode seems super nifty. Different light patters depending on which key you press when turning it on. Took me a bit to figure out how everything worked with no documentation 🙂 Unrelated: later if you update the VIA keymap from scramble, maybe add the lighting controls in? The scramble doesn't have light controls. But adding them into your VIA json does work, like RGB_TOG or RGB_MOD.
jaygreco
jaygreco192d ago
I am impressed you figured all this out without docs. And again, I apologize! Early adopter pains 🙃 So you can load the .json file that’s contained in the VIA folder of QMK into VIA as a draft definition, and it includes lighting controls! As for this “bootloader” mode — if the lights are flashing, it sounds like it’s actually booting into the low power mode firmware, which should only happen if the battery is in and the switch to the left. Is it happening always?
GarbageMonster
GarbageMonster192d ago
Here are the flashing steps I do 1. Plug device in holding switch 1 2. Shows up as a usb drive 3. Drag custom built firmware over 4. Usb device gone 5. No lights on device, no key recognized 6. Unplug, flip switch to low power mode, no light 7. Plug back in to usb, no lights, no key recognized Repeat with CI built and after step 4 the lights are on solid, keys are recognized. Tried that and it worked great. I saw that file in there and wondered what it was for. Logs from building here, but nothing that probably helps: https://pastebin.com/460pSEh0
jaygreco
jaygreco192d ago
Thanks! Got it. Ok, sounds like it’s not booting as I was thinking earlier. but I’m unclear why. even if the low power mode firmware and the corresponding offset is wrong, the QMK base should boot OK. Do you have a working tree on GitHub or somewhere with your changes? Or can you take a diff of your Holly folder and send it along? Easiest way for me to provide input/help you get it fixed (and ensure that it won’t bite anyone in the future!) would be to reproduce the same thing on my side.
GarbageMonster
GarbageMonster192d ago
Here is the commit: https://github.com/pcm2a/qmk_firmware/commit/978b1253321bccab7f92215ef8358ed8efb5240f, branch https://github.com/pcm2a/qmk_firmware/compare/nullbits_holly. To test on your end I assume you could pull down that branch, build, and deploy. I just updated master to the latest from upstream so everything should be the latest. I tried deploying again in case being a week out of date made a difference.
jaygreco
jaygreco192d ago
Awesome! Thank you. This has been super helpful — I’ll take a look at it tonight and make sure I can reproduce the problem. Apologies the third time for not having any documentation up yet — you’re a trooper.
GarbageMonster
GarbageMonster192d ago
No problem. With anything qmk related there seems to be involved a lot of sleuthing involved. Part of the fun. Try getting openrgb working... Fingers crossed that it is reproducible! I did try building it on both mac and windows, so hopefully.
jaygreco
jaygreco192d ago
Alright, so my first try...it worked. I cloned your exact branch. I compiled it on Ubuntu, though and not Mac. I'll try my Mac next.
jaygreco
jaygreco192d ago
FWIW. Load and see but I'm guessing this works on yours as well.
jaygreco
jaygreco191d ago
Aha! I was able to reproduce it with the Mac build. Sweet. Give me a bit of time to dig in and see what’s happening.
GarbageMonster
GarbageMonster191d ago
Sorry for the slow reply, busy morning. I set up the build environment on a ubuntu machine. It builds and works for me. Only environment untried now is win 11 + WSL. I'll give that a shot today too. My previous win 11 test was not inside WSL but with qmk msys. Since my WSL is ubuntu maybe it will work there also. This is unrelated, and just my inexperience with VIA. When I flash shouldn't it wipe out changes made by VIA? If I update the key bindings in VIA, then I flash things get weird. Either the VIA keymap is still in place, or nothing works at all. Then I have to flash the eraser firmware, then things can get back to normal. That might be exactly how things are supposed to work once you make any changes with VIA. Using QMK toolbox I believe it erases the flash then programs the flash. That might be why I haven't encountered this before. Afternoon update, tested on WSL and it does work from building there. I used the QMK WSL environment. Ubuntu - works Ubuntu WSL (Win 11) - works Mac - doesn't work Win 11 QMK MSYS - doesn't work
jaygreco
jaygreco190d ago
Got it. Thank you! I’m glad you’re able to get something working from Ubuntu. I think there is a compiler different causing some problems between Ubuntu and MSYS/Macos. I’m still looking into what the heck might be going on.
GarbageMonster
GarbageMonster183d ago
Sounds good, I'm around to test out any fixes you might come up with. Any updates on the build issues? Thanks!
jaygreco
jaygreco179d ago
It’s still on my list…Haven’t had time to mess with it. I’d recommend building with Ubuntu or WSL for the time being.
GarbageMonster
GarbageMonster179d ago
Roger that, thanks for the update.
Want results from more Discord servers?
Add your server
More Posts
Tu-be - Qwerty row on my keyboard has stopped w...Qwerty row on my keyboard has stopped working, I've checked the solders on R1 and 1,0 and they seem HelloYesThisIsDog? - Hi there! I'm trying to bu...Hi there! I'm trying to build a Snap75 and I'm on step 12 at the moment. Both MCUs are working fine.Bjsmash4 - I was wondering if it's possible to ...I was wondering if it's possible to program the Bit C Pro as a HID device. I have a Pro Micro that Imikus - Hello, I´m building a nibble 65 and hal...Hello, I´m building a nibble 65 and half of my keys are not working. LEDs light up though. Do you knLint Kid - i got a tidbit and an adafruit 14-se...i got a tidbit and an adafruit 14-segment display as advertised on the tidbit page. Are there any QMhoppsie - Hello, I am having a problem where if...Hello, I am having a problem where if I plug in the micro to the right half only half of the LEDs liMundane - Hi, is there a way to order a replace...Hi, is there a way to order a replacement pcb for the snap75? I messed up on the IC socket and I belSomeone - Snap Keyboard is not working - well o...Snap Keyboard is not working - well only half of it works at one time. When using the cable only theSomeone - So the 3mm M2 screws aren't fitting t...So the 3mm M2 screws aren't fitting through the backplate and the acrylicZeroThePrototype - Hello all! Love the discord ...Hello all! Love the discord and the cool projects yall have. I'm building tidbit specifically to lealethoce - I am needing some help with flashing ...I am needing some help with flashing my Pro Micro for the first time. I am feeling overwhelmed and ndipeppo - Sorry for the question folks, but how...Sorry for the question folks, but how do I swap layout on a Tidbit? My Tidbit is by default a numpad.red_overlord - Good evening everyone. First of...Good evening everyone. First of all let me say I am a big fan of the discord server. You guys are ro.jacobreesmogg - Hello, I am having some troubl...Hello, I am having some trouble changing the colour of the RGB backlights. I have no clue how to do Bshiv - Hey, I am having problems wiring up and...Hey, I am having problems wiring up and flashing my sick 68 keyboard. This is my first project with rigthar - Hey all, I'm working on a tidbit w/ 3...Hey all, I'm working on a tidbit w/ 3pin switches. Will it be *okay* without the FR4 plate or is tha56 - I'm replacing an Elite-C with a Bit-C, but...I'm replacing an Elite-C with a Bit-C, but when I go to flash it, it says the chip is already blank Timo - It's a actually a bit worse since now ad...It's a actually a bit worse since now additionally to the F6,6,T,G,B,Space Column additionally F5, 4jay | nullbits - If you just want the OLED firm...If you just want the OLED firmware, we have precompiled firmwares for all of the defaults available!It’ll be something like flash a newIt’ll be something like: flash a new firmware to one side, see if the LED blinks, and vice-versa.