Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planck_rev6 &bootloader doesn't work #1086

Open
orbekk opened this issue Jan 8, 2022 · 2 comments
Open

planck_rev6 &bootloader doesn't work #1086

orbekk opened this issue Jan 8, 2022 · 2 comments

Comments

@orbekk
Copy link

orbekk commented Jan 8, 2022

The &bootloader key doesn't work with my planck_rev6. The keyboard appears to restart but boots back into ZMK when I press the &bootloader key.

It looks like qmj writes a magic value that triggers the planck bootloader. Perhaps ZMK needs to do this.

@urob
Copy link
Contributor

urob commented Jun 10, 2022

+1 &bootloader doesn't work on my planck_rev6 either

@urob
Copy link
Contributor

urob commented Jul 27, 2022

Quick summary of @petejohanson's comments on this on discord:

ZMK uses the Zephyr function sys_reboot (which in turn calls the device specific function sys_arch_reboot) for rebooting and resetting. The issue is that Zephyr does not currently have a stm32-specific implementation of sys_arch_reboot, causing it to fall back to a baseline version that does not support magic codes.

tl;dr: To fix the &bootloader for Planck (and other stm32 devices), one would need to add a stm32-specific implementation of sys_arch_reboot to Zephyr itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants