ZMK not flashing new firmware.
I used the ZMK studio default firmware initially but wanted to include macros so i used a repo off the documentation. Received this error "The Finder can’t complete the operation because some data in “corne_left nice_view_adapter nice_view-nice_nano_v2-zmk.uf2” can’t be read or written.
(Error code -36)". It seems like the behaviors are now in ZMK Studio but not the actial keymap. Is there a way to get this to work so i dont have to keep making changes in zmk studio and have the saved keymap file in github be my layout?
10 Replies
It sounds like you're running into an issue flashing the new firmware on macOS. This is a known issue with Finder on macOS version 13.0. Upgrading to 13.1 should fix this. You can find this information in our documentation here: https://docs.typeractive.xyz/build-guides/corne-wireless/firmware#installing-firmware
Once you've updated macOS, you should be able to flash the firmware from your GitHub repo. This will allow you to manage your keymap directly in the
corne.keymap
file in your repository.
If you continue to have trouble after updating macOS, please reply to this message or tag me for further assistance!Firmware | Typeractive.xyz Documentation
If you're not familiar, ZMK is a wireless-focused firmware, and it powers our Corne Wireless.
it's not that. I'm on 15.5.
@TyperAI
Thanks for the clarification! Since you're on macOS 15.5 and still experiencing the Error code -36 when dragging and dropping the
.uf2
file, it seems like the issue might be something else.
While the documentation mentions the Finder issue on older macOS versions, there could be other factors at play.
Could you try copying the .uf2
file to the NICENANO
drive using your terminal instead of dragging and dropping? Sometimes this can bypass issues with Finder.
If that doesn't work, could you also try using a different USB cable and a different USB port on your computer?
Let me know if any of those steps help! If not, we can explore other possibilities.this is a ZMK Studio issue i think
@TyperAI
Ah, I see. You believe the issue is with ZMK Studio itself, not necessarily the flashing process on your Mac.
While ZMK Studio is a great tool for runtime keymap updates, if you want your custom keymap to be the default when you flash your nice!nano, you'll need to build the firmware with your desired keymap included in the source code.
The process you started by using a repository from our documentation is the correct way to achieve this. You would clone that repository, modify the
corne.keymap
file (or lily58.keymap
if you have a Lily58) in the config
folder with your desired layout, and then the GitHub Actions workflow in the repository will build a new .uf2
file for you with that keymap embedded.
The error code -36 you're seeing when trying to flash the .uf2
file from your repository is still likely related to the transfer process itself, even if it's not the specific macOS Finder bug mentioned in the documentation.
Have you tried the terminal copy method I suggested earlier? That's often a good way to rule out issues with the graphical file transfer.
If you've already tried that and it didn't work, could you tell me more about what happens when you try to flash the .uf2
file from your repository? Does the NICENANO
drive appear? Does the file transfer start before the error occurs? Any details you can provide about the process might help pinpoint the issue.the issue is defnitely because im using zmk studio. i dont think i would be able to update it unless that is removed i think.
@TyperAI
Okay, I understand. You believe the ZMK Studio functionality within the firmware is preventing you from flashing a new
.uf2
file.
Based on the ZMK documentation and how firmware flashing works, having ZMK Studio support compiled into the firmware shouldn't prevent you from flashing a new .uf2
file via the bootloader. Flashing a new .uf2
file overwrites the existing firmware on the nice!nano.
However, if you're encountering issues specifically when trying to use ZMK Studio to update the keymap after flashing, that's a different scenario.
Could you clarify what you mean by "update it"? Are you trying to:
1. Flash a completely new .uf2
file to the nice!nano using the bootloader (double-tapping the reset button)?
2. Update the keymap using the ZMK Studio application while the keyboard is connected via BLE or USB?
Knowing which process is failing will help me provide more specific troubleshooting steps.
If you are trying to flash a new .uf2
file via the bootloader and it's failing, the issue is still likely with the file transfer or the connection to the nice!nano, not the ZMK Studio feature within the firmware itself.
Let me know which process you're having trouble with!second one @TyperAI
Okay, you're having trouble updating the keymap using the ZMK Studio application. Thanks for clarifying!
If you're using the native ZMK Studio app (not the web version), it should support updating the keymap via BLE.
Here are a few things to check if you're having trouble updating the keymap with the ZMK Studio application:
1. Ensure the keyboard is connected: Make sure the keyboard half you are trying to update is powered on and connected to your computer via Bluetooth.
2. Check the active profile: ZMK Studio updates the keymap for the currently active profile. Make sure you are on the profile you intend to modify. You can switch profiles using the
BT_SEL
or BT_NXT
/BT_PRV
keys on your keyboard.
3. Verify ZMK Studio compatibility: Ensure you are using a version of ZMK Studio that is compatible with the firmware version on your nice!nano. While the firmware files we provide are compatible, if you've built your own firmware from a different source or an older version, there might be compatibility issues.
4. Try reconnecting: Sometimes simply disconnecting and reconnecting the keyboard's Bluetooth connection can resolve issues.
5. Restart ZMK Studio: Close and reopen the ZMK Studio application.
6. Try a different profile: See if you can update the keymap on a different Bluetooth profile.
If you've tried these steps and are still unable to update the keymap using ZMK Studio, could you describe what happens when you try? Do you get an error message in the application? Does it seem to connect but fail to transfer the keymap?
Let me know, and we can continue troubleshooting!@omar I had this issue with my Mac as well: one side flashed correctly, but the other was giving me the same error.
I switched to a Windows computer and was able to successfully copy the .uf2 file and flash the new firmware. I'm not sure if you have access to one, but worth a shot.