I have a trouble with debugging on S32K144.
Please anyone help me.
IAR embedded Workbench, ver126.96.36.19906
Option settings are
<Debugger> -> <setting> -> Driver is “PE Micro”
<Debugger> -> <download> -> check “verify” and “use Flash loader”
PE Micro, Multi Link Universal, FW ver.1029
Interface pins between debugger and S32K144 are SWDIO, SWCLK, RESETB, VCC, GND.
When I push “Download and debug”,
IDE outputs warning log “Target inconsistency detected in Memory range 0x00000004-0x000003F9”
and “Target inconsistency detected in Memory range0x00000411-0x0000E8DF”
I think that these means Flash was not updated.
But IDE starts to debug wiht old FW, and I can push “step in” or else.
What do I check first?
If I use another environment,
Such as IDE is Keil uVision5 , Debugger is ULINK2,
Flash update will be success.
So, I think Interface has no problems.
Since the problem was solved, I will describe the contents.
The reason was that I was using CMSIS pack of S32K144.
Flash writing area is wrong when using CMSIS pack on IAR Embedded Workbench.
It was possible to write without problems if the driver software was expanded and writing was performed without using the CMSIS pack.
Thank you for reply.
I have checked memory range described in ddf file and icf file.
It seems not wrong but something is wrong maybe.
I don't use special placement, want to use it in default.
I think this problem is caused by dowmload tool,
so I will ask PE micro this problem.
Have you checked the memory ranges in your project?
You can use the S32 Design Studio plug in to create a project for IAR.
Have you tried S32Design Studio for ARM v 2.2?
There a basic application with the S32 SDK for use with IAR Embedded Workbench:
However, I recommend contacting their support.
I hope it helps.