Using FreeMASTER to monitor S32K312

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

Using FreeMASTER to monitor S32K312

670 Views
fengba_360
Contributor III

I am able to normally collect variable information from S32K312 using FreeMASTER through J-Link communication in debug mode. However, when I exit debug mode and let the CPU start by itself, I find that FreeMASTER is unable to normally collect the global variables from S32K312 via J-Link, even though I can confirm that the CPU is working properly. I have checked the FreeMASTER logs, and I would like to know if you could help analyze what might be causing this issue based on the logs.微信图片_20240831185939.png

0 Kudos
Reply
4 Replies

666 Views
fengba_360
Contributor III

The version I'm using is FreeMASTER 3.2.

Regarding FreeMASTER configuration...微信图片_20240831191124.png

0 Kudos
Reply

611 Views
iulian_stan
NXP Employee
NXP Employee

Hi @fengba_360,

Could you try the solution described in this post and let us know if that works for you.

0 Kudos
Reply

588 Views
fengba_360
Contributor III

I have read that article and followed the method in it, but it doesn't work.

0 Kudos
Reply

450 Views
iulian_stan
NXP Employee
NXP Employee

Hi @fengba_360,

When you say that you cannot read variables - do you mean the app returns wrong values or it displays question marks instead of numerical values ?

Regarding the error you see 0x80000081 - this is an expected behavior in case of plain BDM communication. What happens is that host tool tries to use FreeMASTER communication protocol but fails as there's no driver component on the embedded side and it falls back to vanilla BDM.

I tried to reproduce this issue - I used an older version of JLink probe but matched the firmware version:

Capture.PNG

but so far FreeMASTER was able to read data from the board. Would it be possible to share your application ?

0 Kudos
Reply