Reset HID Bootloader on the Blue Pill (?)
Posted: Wed Nov 29, 2023 5:26 am
Hi,
I'm regularly breaking my HID bootloader. The typical workflow looks like this:
1. Uploading a buggy sketch, unsuccessfully.
2. The bootloader becomes generally unresponsive.
3. Trying to flash it back with stlink. It reports success, but it isn't true. Then I move BOOT0 to 1, erase the memory with stlink, move the BOOT0 back, flash the bootloader again. Success.
Is it the only way? Is it possible that the bootloader is actually intact, and I just have to do some reset procedure on my Blue Pill?
I'm regularly breaking my HID bootloader. The typical workflow looks like this:
1. Uploading a buggy sketch, unsuccessfully.
2. The bootloader becomes generally unresponsive.
3. Trying to flash it back with stlink. It reports success, but it isn't true. Then I move BOOT0 to 1, erase the memory with stlink, move the BOOT0 back, flash the bootloader again. Success.
Is it the only way? Is it possible that the bootloader is actually intact, and I just have to do some reset procedure on my Blue Pill?