Skip to main content
Explorer II
June 11, 2025
Solved

Wrong VTOR_TABLE_NS_START_ADDR address for STM32H5 devices with 256kB FLASH

  • June 11, 2025
  • 1 reply
  • 323 views

Hello,

 

when STM32CubeIDE generate code for STM32H523VCT6, VTOR_TABLE_NS_START_ADDR constant contain wrong value:

#define VTOR_TABLE_NS_START_ADDR 0x04020000U

Correct value should be 

#define VTOR_TABLE_NS_START_ADDR 0x08020000U

 

How to reproduce:

STM32CubeIDE Version: 1.18.1

STM32Cube FW_H5: 1.5.0

Start new project -> for commercial part number select STM32H523VCT6 -> enable trust zone -> generate code.

Check file main.c under secure directory.

 

Regards,

Slavomir Tomascik

 

    This topic has been closed for replies.
    Best answer by Imen.D

    Hello @SToma,

    Thank you for having reported this.

    The issue will be escalated to our development team to be fixed (internal ticket 212047).

    (PS: The internal tracking number 212047 is only for reference, not accessible or usable by customers).

    1 reply

    Imen.DAnswer
    Technical Moderator
    June 12, 2025

    Hello @SToma,

    Thank you for having reported this.

    The issue will be escalated to our development team to be fixed (internal ticket 212047).

    (PS: The internal tracking number 212047 is only for reference, not accessible or usable by customers).