startup script for dual bank debugging
I'm working with the STM32L152RE, which has dual flash banks. Each bank has a binary file image loaded. I'm trying to start the debugger in Bank 1 (0x08000000), have it stop at main() (or some specific address) and debug in assembly. I haven't been able to get the debugger to stop at a known address. I also notice it ends up in Bank 2, which may or may not be from my startup code. Any ideas on how to have the debugger connect, reset and stop? Thanks.