2024-11-20 05:50 PM
hello.
After Mcu jump to app in custom bootloader, work while(1).
Jump code is not working.
2024-11-20 06:56 PM
in the system_stm32f3xx.c file, did you make modifications to the VECT_TAB_OFFSET with the Application address (SYSTEM_ADDRESS)?
/*!< Uncomment the following line if you need to relocate the vector table
anywhere in Flash or Sram, else the vector table is kept at the automatic
remap of boot address selected */
#define USER_VECT_TAB_ADDRESS
#if defined(USER_VECT_TAB_ADDRESS)
/*!< Uncomment the following line if you need to relocate your vector Table
in Sram else user remap will be done in Flash. */
/* #define VECT_TAB_SRAM */
#if defined(VECT_TAB_SRAM)
#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#else
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
2024-11-20 07:47 PM
Define "Not Working" in more pratical terms, have you reviewed the generated code, and stepped through it?
What happens? Where does it go?
Watch for changing the Stack address whilst holding auto/local variables on it..
2024-11-20 10:01 PM
I already changed vector offset. (application start address : 0x0800D000)
I think that Jump() function is not working, cause after Jump() function and go to while() function.