Skip to content

Uploading using st-flash removes access to bootloader #31

@vicgwee

Description

@vicgwee

I did the following steps:

  1. Flash https://github.com/devanlai/dapboot/releases/download/v1.11/highboot-v1.11-stlink-128.bin to my STM32F103 using st-flash
  2. Use 'Firmware Download' on https://devanlai.github.io/webdfu/dfu-util/ for my own program
  3. Enter bootloader mode from my program (which places the 'BOOT' code in the RTC backup registers)
  4. Use the website's 'Firmware Upload' to obtain the firmware.bin file
  5. Flash the firmware.bin using st-flash

After the following steps, I cannot enter bootloader mode from my program. I used st-flash read to get the .bin file that is now on the STM32, and it's identical to the firmware.bin file above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions