2025-09-01 6:45 PM
Hi,
I am using the following environment and found two bugs.
Bug 1 : After reconfiguring the memory address and size with Memory Management Tool following code generation, the .ld file does not follow the configuration.
This bug can be reproduced by following the steps below:
Bug 2 : The vector table offset value is not updated from 0x00U even if the ISR vector checkbox is enabled and the start address of the FLASH region is changed from 0x08000000
The VECT_TAB_OFFSET value in system_stm32h5xx.c is not updated after generating code. I think this value should be updated according to FLASH region configuration.
/************************* Miscellaneous Configuration ************************/
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
/* #define VECT_TAB_SRAM */
#define VECT_TAB_OFFSET 0x00U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
Solved! Go to Solution.
2025-09-03 4:52 AM
Hello @Fumihiko ,
I was able to reproduce your request.
Thank you for bringing this issue to our attention.
An internal Ticket was submitted to the Development Team (Internal Ticket Number: 216812).
I will keep you up to date when the problem is solved.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-02 12:01 AM
Hello @Fumihiko
First let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-03 4:52 AM
Hello @Fumihiko ,
I was able to reproduce your request.
Thank you for bringing this issue to our attention.
An internal Ticket was submitted to the Development Team (Internal Ticket Number: 216812).
I will keep you up to date when the problem is solved.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-23 12:19 AM
I encountered the same issue with version 6.16.1. When can it be fixed.
Thanks.
2026-02-23 11:45 PM - edited 2026-02-23 11:46 PM
Hello @hooper_chen
Let me thank you for feedback.
The issue has been solved on STM32CubMX 6.16.0.
I reproduced the behavior with CubeMX 6.16.1:
The start address and size have been correctly updated in STM32H563XX_FLASH.ld.
The address of the vector table has also been updated in main.c.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-24 6:21 PM
Hello @Mahmoud Ben Romdhane
I apologize for not clarifying earlier, but the chip I am using is H743IIT6, not H563. Could you please try testing H743 in your environment.
Thanks.
Hooper
2026-02-24 11:17 PM
Hello @hooper_chen
Could you provide please your Ioc.File.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-26 10:36 PM
2026-02-26 11:17 PM
Hello @hooper_chen
Further to your comment, you need to enable under Code Generation Configuration on the Memory Management Settings:
Apply Application Regions Settings to Peripheral
Apply Application Regions to Linker Files
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-03-03 9:26 PM
Hello @Mahmoud Ben Romdhane
After I enable the switch.
The ld file regenerate as below.