Debug on S32K144 with IAR and Multi-Link Universal

Showing results for 
Search instead for 
Did you mean: 

Debug on S32K144 with IAR and Multi-Link Universal

Contributor I

Hi Readers.

I have a trouble with debugging on S32K144.
Please anyone help me.

IAR embedded Workbench, ver8.11.2.13606

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.

0 Kudos
3 Replies

Contributor I

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.

0 Kudos

Contributor I

Hi Diana

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.  

0 Kudos

NXP TechSupport
NXP TechSupport


Have you checked the memory ranges in your project?

You can use the S32 Design Studio plug in to create a project for IAR.

HOWTO: Export S32DS Project to IAR EW (S32K14x/S32K11x) 

Have you tried S32Design Studio for ARM v 2.2?

S32 Design Studio for ARM 2.2 – Windows/Linux

 There a basic application with the S32 SDK for use with IAR Embedded Workbench:


However, I recommend contacting their support. 

I hope it helps.

Best regards,


0 Kudos