Unable to monitor the variables

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

Unable to monitor the variables

ソリューションへジャンプ
1,514件の閲覧回数
1040180003
Contributor III

Hello, guys!

I just got the S32K148EVB-Q176 board.

I have successfully programmed the test program, but I cannot monitor the variables.

I tried many ways:Follow this post to open PEmicro's Real Time Expressions:How do I enable Live View for variables when debugging?

I also update the PEMicro software in the S32DS. See below:

pastedImage_4.png

Still cannot find any variables, Neither in the "varibles" window nor in the "real time expressions" window. see below:

pastedImage_8.png

The example I use is “hello_world_s32k148”.

I add a variable in the main.  You can find the program in the attachment

pastedImage_9.png

My environment is:

S32 Design Studio for ARM Version: 2.2

debug with OpenSDA

Please give me some advices.

Thanks!

Lu

ラベル(2)
0 件の賞賛
1 解決策
1,415件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Lu,

Please try to click "Add new expression", copy the LED_Blink_cnt and paste into it.
You should also notice the icon on the right corner, do not halt the Expression Values Refresh.

Add new expression.png

You can see the value refresh in blue.

Value refresh in blue.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
1,416件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Lu,

Please try to click "Add new expression", copy the LED_Blink_cnt and paste into it.
You should also notice the icon on the right corner, do not halt the Expression Values Refresh.

Add new expression.png

You can see the value refresh in blue.

Value refresh in blue.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
1,415件の閲覧回数
1040180003
Contributor III

Hello,Robin

Thank you for you reply.

I have try your advices.

I have also kept the the Expression Values Refreshing.

But it turns out to be "Target not available".

pastedImage_1.png

Can you help me to solve the problem?

Thanks!

Lu

0 件の賞賛
1,415件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I tested you attached project - and it works as expected: 

pastedImage_1.png

Are you adding expression when target is stopped? You can't add it when MCU is running. 

Jiri 

0 件の賞賛
1,415件の閲覧回数
1040180003
Contributor III

Hi, Jiri

My problem has been solved by restart the IDE.

Thank you again!

Lu

0 件の賞賛
1,415件の閲覧回数
1040180003
Contributor III

Hi,

I added the expression when I stop the debug mode.  After that I re-debug the program.

It seems my environment is something wrong? 

Is there anything wrong with the configuration?

Lu

0 件の賞賛