s32ds_pa_2.1 debug breakpoint not work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s32ds_pa_2.1 debug breakpoint not work

ソリューションへジャンプ
1,816件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 解決策
1,801件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 Do you  have optimization level set to none? 

jiri_kral_0-1599054864976.png

 

Jiri

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,802件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 Do you  have optimization level set to none? 

jiri_kral_0-1599054864976.png

 

Jiri

0 件の賞賛
返信
1,793件の閲覧回数
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 件の賞賛
返信