We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
I try all of debug settings in a various manner, even I use CUBEMX to create project again. even test it on both JTAG and SWD too, but no success. I'm hanging!
There is some pic form my settings:
i.stack.imgur.com/E1vKB.png i.stack.imgur.com/MjXz5.png i.stack.imgur.com/YmGrv.png i.stack.imgur.com/V1kKc.png i.stack.imgur.com/qfjBB.png i.stack.imgur.com/rBZij.png