KMKfw / kmk_firmware

Clackety Keyboards Powered by Python
https://kmkfw.zulipchat.com
Other
1.33k stars 460 forks source link

[BUG] How to flash KMK that it has been already flash QMK and Vial? #873

Closed hxse closed 10 months ago

hxse commented 10 months ago

I bought an RP2040 Piantor keyboard in the second-hand marketplace. It is already flash qmk and Vial, it work well. But i want reflash to kmk.

Click microcontrollers reset button, and Insert USB cable. Name RPI-RP2 drive pop-up. I try drop any file to drive, or create new text in drive, but it auto clean. Why is the drive cleared automatically?

image These are the only two files on the drive. And create other files It will be automatically cleared. The file content:

UF2 Bootloader v3.0
Model: Raspberry Pi RP2
Board-ID: RPI-RP2
<html><head><meta http-equiv="refresh" content="0;URL='https://raspberrypi.com/device/RP2?version=E0C9125B0D9B'"/></head><body>Redirecting to <a href='https://raspberrypi.com/device/RP2?version=E0C9125B0D9B'>raspberrypi.com</a></body></html>
grasegger commented 10 months ago

How is this a bug (of circuitpython if at alll)?

You have to flash circuitpython before installing KMK. If there is a problem with flashing circuitpython on your controller it is up to them to fix it, so you have to report it there.

The drive being auto cleaned is normal behaviour for some bootloaders, since they try to load it as firmware and delete it once the process is finished (it does not care about success).

hxse commented 10 months ago

@grasegger not a bug, I didn't install Circuitpython, haha