qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.09k stars 38.89k forks source link

Problem flashing dztech PCBs with lufa-ms bootloader from Linux[Bug] #23670

Closed pgriffith1 closed 5 months ago

pgriffith1 commented 5 months ago

Describe the Bug

QMK has problems flashing the dztech PCBs from kbdfans that use the lufa-ms boot loader, especially from Linux.

Keyboard Used

dztech/dz65rgb/v3/

Link to product page (if applicable)

https://kbdfans.com/products/dz68rgb-hot-swap-rgb-pcb

Operating System

linux

qmk doctor Output

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.5
Ψ QMK home: /home/phillip/qmk_firmware
Ψ Detected Linux (Ubuntu 22.04.4 LTS).
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.24.8
Ψ - Latest master: 2024-05-02 22:11:23 -0700 (8075003e60) -- ZSA Voyager Layout Fix (#23651)
Ψ - Latest upstream/master: 2024-05-05 20:38:31 +1000 (7fc552632e) -- Add page for capabilties used by docs site. (#23428)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2024-05-02 22:11:23 -0700 (8075003e60) -- ZSA Voyager Layout Fix (#23651)
Ψ - Common ancestor with upstream/develop: None
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 10.3.1
Ψ Found avr-gcc version 5.4.0
Ψ Found avrdude version 6.3-20171130
Ψ Found dfu-programmer version 0.6.1
Ψ Found dfu-util version 0.9
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 --  (11edb1610)
Ψ - lib/chibios-contrib: 2023-11-27 18:15:44 +0100 --  (9d7a7f90)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 --  (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 --  (e19410f8)
Ψ QMK is ready to go

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

none

Additional Context

Solution provided by https://www.reddit.com/user/ddungtang/ at https://www.reddit.com/r/olkb/comments/s0pc6g/flashing_qmk_onto_dz60rgb_ansi_v2/:

dd if=\<firmware>.bin of=/mnt/FLASH.BIN bs=512 conv=notrunc oflag=direct,sync

Arguably a good thing to document in qmk_firmware/keyboards/dztech/dz65rgb/readme.md.

fauxpark commented 5 months ago

Flash a different bootloader.