-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
[Bug] Keyboard not detected after ChibiOS update #21011
Comments
Using a Stemcell? Try adding |
I tried adding that to rules.mk but the behavior didn't change. I then tried changing the MCU to "STM32F411" and BOOTLOADER to "tinyuf2", but that didn't work either. Here's the current contents of rules.mk: # MCU name
MCU = STM32F411
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
CONVERT_TO = stemcell
BOARD = BLACKPILL_STM32_F411
PIN_COMPATIBLE=elite_c
DEFERRED_EXEC_ENABLE = yes
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
# Either do RGBLIGHT_ENABLE or RGB_MATRIX_ENABLE and RGB_MATRIX_DRIVER
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812
# BEGIN PWM driver: uncomment if using STeMcell as it's a better led driver
# WS2812_DRIVER = pwm
# END PWM driver: uncomment if using STeMcell as it's a better led driver
MIDI_ENABLE = no # MIDI support
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
ENCODER_ENABLE = yes
OLED_ENABLE = no
# EXTRAFLAGS += -flto # macros disabled, if you need the extra space
MOUSEKEY_ENABLE := no # not required, but enabling for mouse button keys
POINTING_DEVICE_ENABLE := no
#POINTING_DEVICE_DRIVER := cirque_pinnacle_i2c
#OPT_DEFS += -DCIRQUE_ENABLE
PIMORONI_TRACKBALL_ENABLE=no
HAPTIC_ENABLE=no Because Windows Event Viewer is showing an error with the storage drive that appears when flashing, I used Zadig to check what driver that's using. It looks like their are 2 devices when it's in bootloader mode: the one ending with USB ID 00 is for the storage drive. I don't see USBSTOR listed in the list of known bootloaders, so I assume I shouldn't reinstall anything here, right? |
I should also note that I had a similar issue with an Atmega32u4 keyboard recently: after upgrading from Windows 10 to Windows 11, the keyboard wasn't getting detected after I flashed new firmware. Reinstalling the bootloader drivers with Zadig worked in that case, which is why I suspect it's a similar thing with this one. |
I am having the same issue (also using the Stemcell). I was able to use git bisect to trace back to this PR where it broke: #17915
or:
With the second one I was able to use |
If you are using the current EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = legacy For some reason the workaround for a ChibiOS bug which adds those settings automatically was added only for STM32F401 chips, but not for STM32F411, therefore only STM32F411xE chips work normally. Alternatively, the code from the |
@sigprof That worked perfectly, thank you so much! Glad to hear the fix is coming soon too. |
Describe the Bug
Issue description
Keyboard is not detected by Windows when flashed with firmware compiled after commit ec09087 (QMK 0.19.8).
Steps to reproduce
rockon
from my fork.qmk compile -kb fingerpunch/rockon/v2 -km default
Keyboard info
Model: Rock On v2 by Fingerpunch
Controller: Stemcell (STM32F411CC06)
Features enabled: OLED, cirque, encoders, RGBlight (issue occurs with or without these features enabled)
Repository: https://github.com/DrakeRichards/qmk_firmware/tree/rockon/keyboards/fingerpunch/rockon
Keyboard Used
fingerpunch/rockon/v2
Link to product page (if applicable)
https://fingerpunch.xyz/product/rock-on-v2/
Operating System
Windows 11
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
Notes
An error was detected on device \Device\Harddisk3\DR17 during a paging operation.
Help wanted
The text was updated successfully, but these errors were encountered: