Tool/software: Code Composer Studio
when I use ccs6.2 debug my board ,the command--"step over" cannot jump out of delay function, so my code run in delay function over and over .It seems that the command "step over" didn't work
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
when I use ccs6.2 debug my board ,the command--"step over" cannot jump out of delay function, so my code run in delay function over and over .It seems that the command "step over" didn't work
#include <msp430f5529.h> #define data_out P6DIR |= BIT1; #define data_in P6DIR &=~BIT1; #define led_out P1DIR |= BIT0; /* * main.c */ int main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer led_out; TA0CCTL0 = CCIE; TA0CCR0 = 50000; TA0CTL = TASSEL_2 + MC_1 + TACLR; __bis_SR_register(LPM0_bits + GIE); } #pragma vector=TIMER0_A0_VECTOR __interrupt void TIMER0_A0_ISR(void) { P1OUT ^= BIT0; }
you see,it's a small demo of Twinkling.but when I try to debug it in ccs,the program cannot step out of the delay function. I wonder if there is something better to use than setting a breakpoint, setting breakpoints is much more troublesome.And when I use IAR FOR MSP430,I didn't meet the problem, the key,step out, could help me to step the delay function easily