debug and code non corresponding
I have an application that debugs correctly when I loads it at address 0x08000000.
I'd like to use a bootloader, so I've changed the ld file, and choose, as flash origin, the address FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 1920K
But, in this case, when I debug the application, the debug takes me in instructions that don't correspond to what I'm doing, I don't know how to explain, for example it takes me in the middle of a for cycle, but without passing from the starting....it seems that the debug is not aligned.
Do I have to change something else to debug not starting from 0x08000000.?
Or what can I do to check what's wrong?Thank you.
IB.
