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.
The version I'm using is FreeMASTER 3.2.
Regarding FreeMASTER configuration...
Hi @fengba_360,
Could you try the solution described in this post and let us know if that works for you.
I have read that article and followed the method in it, but it doesn't work.
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:
but so far FreeMASTER was able to read data from the board. Would it be possible to share your application ?