Skip to main content
SToma
Associate III
Jun 11, 2025 10:50 PM UTC
Solved

Wrong VTOR_TABLE_NS_START_ADDR address for STM32H5 devices with 256kB FLASH

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

 

Imen.DBest answer
ST Technical Moderator
Jun 12, 2025 6:15 AM UTC

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).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

2 replies

Imen.DBest answer
ST Technical Moderator
Jun 12, 2025 6:15 AM UTC

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).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ST Technical Moderator
Mar 1, 2026 7:49 PM UTC

Hello @SToma ,

This issue is fixed in the STM32CubeMX-6.17.0 published on st.com.

Thanks for your contributions.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks