S32K144 EVB Flash Programming Error

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

S32K144 EVB Flash Programming Error

2,933 Views
nhuan_huynhduc2
Contributor II

Hi,

Now, I'm working on S32 Design Studio for the S32K144 EVB and when I tried to flash my SW to the board, I got this issue.

pastedImage_1.png

And this is my debug configuration:

pastedImage_2.png

Could you pls help me resolve this issue?

Labels (1)
8 Replies

2,672 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

what about power? Is your EVB powered?  You can also try Emergency Kinetis device Recovery option: 

pastedImage_1.png

Jiri

0 Kudos
Reply

2,672 Views
nhuan_huynhduc2
Contributor II

Hi Jiri,

My EVB was powered and I also chose your option, but it still did not work.

pastedImage_1.png

0 Kudos
Reply

2,672 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you debug RAM target? It is possible that your board is secured (for some reason). If So, RAM target will also fail. 

Jiri 

0 Kudos
Reply

2,672 Views
nhuan_huynhduc2
Contributor II

Hi Jiti,

I've already debugged RAM target and it also failed.

How can I resolve this problem?

0 Kudos
Reply

2,672 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

well, if the chip was secured and mass erase disabled (for example by accidental writing binary on bad address) - there is no way how to recover it. You need replace chip by new one. 

As a last - you can try external debugger instead integrated OpenSDA (for example Segger J-link, PE Micro Multilink). 

Jiri

2,672 Views
nhuan_huynhduc2
Contributor II

Hi Jiri,

When I worked with the GPIO module of S32K144 EVB, I had to configure all of the pins of it. In these pins, which I did not use I set their register default value is ZERO. Do you think it is the reason for my issue?

Thank you

0 Kudos
Reply

2,672 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

Chip can be secured and mass erase disabled only by writing this option on address 0x400. There is no relation with GPIO stuff. What about external debugger? There is chance, that integrated OpenSDA is broken. 

Jiri

0 Kudos
Reply

2,672 Views
nhuan_huynhduc2
Contributor II

Hi Jiri,

My PC has still detected the OpenSDA port.

pastedImage_1.png

And the LED of the OpenSDA module still lights.

pastedImage_2.png

0 Kudos
Reply