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. */