s32ds_pa_2.1 debug breakpoint not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32ds_pa_2.1 debug breakpoint not work

Jump to solution
925 Views
mayao999
Contributor I

Hi,

I just creating a project using S32DS version2.1, using SDK3.0.0, board: DEVKIT MPC5744P. And my program is easy. Show below:

main()

{

uint32_t counter= 0;

initBoard();//do some clock and GPIO initialize

for(;;){

    counter++;

    if(counter>100000)

   {

         counter = 0;

         PINS_DRV_TogglePins(PTC, 1<<13);

   }

}

}

My question is when i set a breakpoint at  count  = 0  and debug it , the program won't stop at breakpoint at all, even i can see the LED is flashing. Dose anyone have same problem? Thanks!捕获.PNG

Labels (1)
0 Kudos
1 Solution
910 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

 Do you  have optimization level set to none? 

jiri_kral_0-1599054864976.png

 

Jiri

View solution in original post

0 Kudos
2 Replies
911 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

 Do you  have optimization level set to none? 

jiri_kral_0-1599054864976.png

 

Jiri

0 Kudos
902 Views
mayao999
Contributor I

Hi, Jiri

Thanks for your help, the method you provided is right, I use level 1 optimization. Change to none works!!

thanks again!!

0 Kudos