Skip to content

STM32N6 images signed with STM32CubeProgrammer v2.21.0 fail to run #99456

@cdwilson

Description

@cdwilson

Describe the bug

When I follow the instructions at https://docs.zephyrproject.org/latest/boards/st/stm32n6570_dk/doc/index.html images signed using the latest STM32_SigningTool_CLI version 2.21.0 do not run on either of the STM32N6570-DK or the Nucleo N657X0-Q boards.

Reverting back to version 2.20.0 of the STM32CubeProgrammer release fixes the issue (images run correctly per the instructions in the Zephyr docs).

I'm not exactly sure yet if this is a bug in the latest STM32_SigningTool_CLI tool or an issue on the Zephyr side, but I wanted to report it in case this saves somebody else a couple hours of head scratching wondering what's going on.

Also, be aware that the 2.20.0 release has an issue that prevents west flash from working on Windows & Ubuntu for the Nucleo N657X0-Q board, so if you revert to that version just be aware that flashing the board might be broken (strangely the STM32N6570-DK board works fine with 2.20.0 on these OS). It looks like this flashing issue is fixed in 2.21.0.

Regression

  • This is a regression.

Steps to reproduce

  1. Install STM32CubeProgrammer 2.21.0
  2. Follow the instructions at https://docs.zephyrproject.org/latest/boards/st/stm32n6570_dk/doc/index.html

Impact

Workaround by reverting to 2.20.0

Environment

Same issue on Windows, macOS, Ubuntu hosts

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions