cancel
Showing results for 
Search instead for 
Did you mean: 

Bugs in the Memory Management Tool of STM32CubeMX v6.15.0

Fumihiko
Associate

Hi,

I am using the following environment and found two bugs.

  • OS : Ubuntu 20.04 LTS
  • STM32CubeMX : 6.15.0
  • Toolchain / IDE : CMake
  • Board : NUCLEO-H563ZI


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:

  1. Configure the FLASH region on MMT. 
  2. Generated code and .ld files
  3. Update the FLASH configuration on MMT. (e.g. change the start address of the FLASH region)
  4. Re-generated code and .ld files

 

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

 

0 REPLIES 0