Skip to content

stm32flash is not the newest version for flashing STM32WL5 devices and maybe others #899

@ritsch

Description

@ritsch

Using Linux, VSCode and pioarduino or platformio extension:

platform = ststm32
framework = arduino

the serial upload via stm32flash says:

Uploading .pio/build/BB-STM32WL_serial/firmware.bin
Unknown/unsupported device (Device ID: 0x497)
stm32flash 0.7

http://stm32flash.sourceforge.net/

It seems in dev_table.c has no definition for 0x497.

When git cloned of https://git.code.sf.net/p/stm32flash/code and compiled and copied to
.platformio/packages/tool-stm32flash/stm32flash it works, still says it is version 0.7.

Since I do not know how the packages/tool-stm32flash/stm32flash` is populated, maybe update sourcecode somewhere would
solve this. This happens also if I use:

platform = https://github.com/platformio/platform-ststm32.git#develop
or
platform = https://github.com/platformio/platform-ststm32.git#develop

Intermediate fix: download compile and copy newer version stm32flash to the tool-stm32flash/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions