Trying to get a simple flashing LED application running on the target board and can compile - load and single step through code (F11) no problem, LED flashes.
If I try to jump over any statement / method using F10 the program freezes and looks like its in STM32F10x.s
Default_Handler PROC
EXPORT WWDG_IRQHandler [WEAK] . . . . EXTI15_10_IRQHandler RTCAlarm_IRQHandler USBWakeUp_IRQHandler
=====> (looks to break here) B .
main is as follows...
int main(void) { #ifdef DEBUG debug(); #endif
stm32_Init();
while (1) { /* Turn on LD1 */ GPIO_SetBits(GPIO_LED, GPIO_Pin_12); /* Insert delay */ Delay(HALF_SECOND);
/* Turn off LD2 and LD3 */ GPIO_ResetBits(GPIO_LED, GPIO_Pin_12); /* Insert delay */ Delay(HALF_SECOND);
} }
Tried everything I can think off so any ideas / help appreciated.
Thanks in advance..
LOL, little typo: "looks" means "locks" :-)
I can CTRL F5 and stop program which shows the code in interrupt handler default case.
Can't understand why there would be a difference single stepping to F10'ing over a method.
Any way to globally disable all interrupts to try and home in on bug.
Thanks
Features are not well Simulated at the moment?
http://www.keil.com/dd/chip/4231.htm
Tried an old uV3 project and it works ok so problem sorted..
Thanks for input anyway.