west flash Fails on STM32L562E-DK Only for TF-M Samples with STM32CubeProgrammer #86605
Labels
area: Flashing
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
Discussed in #85728
Originally posted by kurodash February 13, 2025
Hi,
I am following the document below to build and flash the
tfm_integration/tfm_ipc
sample on the STM32L562E-DK Discovery board:[STM32L562E-DK Discovery].
However, I encountered an error when running
west flash
, which uses the STM32CubeProgrammer runner for flashing the code.Error Output:
Commands Used:
Running the following command manually works fine, but
west flash
fails:Environment Details:
Additional Notes:
STM32_Programmer_CLI
detects it without issues.samples/hello_world
sample can be successfully flashed and executed.west build
completes successfully without errors.west -vvv flash
produces the following output:regression.sh
script appears to execute without errors.Any insights on resolving this issue would be appreciated.
Additional Context
After downgrading STM32CubeProgrammer to v2.17.0, the writing process completed without errors, and the TF-M sample was able to start. It seems that STM32CubeProgrammer v2.18.0 has some issues.
The text was updated successfully, but these errors were encountered: