Failed to enter main() of application ROM with IAR for STM32F446
Hi all, my goal is to design a user can bootloader with for STM32F446 with IAR system.
With the following process:
- A ready application code.
- design a bootloader code and output as .bin file
- In setting of application code, linker>input> choose bin file
- linker>config> choose a modified icf file with the following setting
0x8000000 ~ 0x8003FFFF to place bootloader ROM
0x8004000 ~ END for application parts
.5. also modify '#define VECT_TAB_OFFSET ' to 0x4000 in system_stm32f4xx.c
and when i run debug mode, it never stop at main(void) of app.
i also saw a message in Debug log window:
Thu Sep 09, 2021 19:11:58: Target reset
Thu Sep 09, 2021 19:11:59: DMAC: HCLK and FCLK will not be disabled in SLEEP/STOP/STANDBY modes.
did i miss some setting or need to modify source code?
