2016-03-22 09:39 AM
Hi All,
I just started working on a STM32L151. I've setup the debugger to break at first instruction (not main), but when I start debugging the program counter stops at 0x1ff00b84 which isn't even a part of the flash (starting at 0x8000000). It gets wierd, because when i try resetting the debugging session (without downloading the program again), a couple of times it finally stops at the first instruction in my startup-file (startup_stm32l1xx_md.s) and everything runs smoothly until the next time I need the program the device and start the debugger again. I am really at the bare bottom here, and it really begins to take up time on the project. I use CoIDE with the compiler ''GNU Tools ARM Embedded 4.8 2014q2''. And I run on some custom HW that just arrived - though I've worked with STM32F for a some time, and never seen anything like it.. I've attached the startup file I'm using, if that helps.. Hope someone has an idea? #stm32l1512016-03-22 09:53 AM
Hope someone has an idea?
State of BOOT0 pin at reset?2016-03-22 10:40 AM
Oh, of course! It was flying (HW mistake), and I've just tried to pull it to ground - everything is working just fine..
Thank you very much! :) :) :)