I write a simple code that just setup clock and initial conditions for STM32F103RBT6, and program it on my board via ULINK2 successfully.
But while I'm going to debug mode, I see this error :
*** error 57: illegal address (0x08000000)
Also, I can not set a breakpoint on my program, but disassembly section works for while then trapped in a loop.
note that I have many other programs that I did programming on my board successfully and debugging via this ULINK2, but this simple one take all of my time!
There is some pic form my settings:
debug mode
This is my simple Program
Target setting
Debug Settings