[ Prev ] [ Index ] [ Next ]

Firmware at different address

Created Saturday 11 November 2023


1) Change flash ORIGIN address in STM32..._FLASH.ld file, for example
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K
to
FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 128K


2) Change VECT_TAB_OFFSET in system_stm32...xx.c file, for example
#define VECT_TAB_OFFSET 0x00000000UL
to
#define VECT_TAB_OFFSET 0x00020000UL