2023-09-17 03:40 AM
Hello everyone,
on my MCU i've loaded a bootloader at address 0x0800000 and a dummy application at 0x0810000, but i'm experiencing some issues on chip reset button on the IDE. At first, when i debug the application no errors are encountered and the application starts on main(). When i press on reset button (software reset), i'm facing address errors since the debuggers takes me on wrong addresses and does not restart on main().
How can i fix this? Are there some commands i can apply on IDE's reset interface?
2023-09-17 04:33 AM
you need to restart , menu: run -> restart
or symbol
2023-09-17 09:21 AM
This will restart debug session from main()?
2023-09-17 09:32 AM
yes.
2023-09-19 09:31 AM
Hello @PGior.2 ,
As your issue is related to Bootloader topic , I invite you to have a look at this post. This could help you to locate your issue.
Also, Make sure the setting of SCB->VTOR(VTOR to point to system flash) in SystemInit() points at the address of your vector table.
To further investigate your issue, could you provide the used MCU and the steps to create your bootloader application.
Regards,
Rim