The source code of S32K144 need to transplant in S32K142

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The source code of S32K144 need to transplant in S32K142

1,895 次查看
hsieh_jaros
Contributor I

Hi Sir 

We have a development board which the MCU is S32K144 and we had design a source code for it.

Now, HW take the S32K142 to replace regular MCU because the predicament for getting MCU source.

We have a question:

Is Regular source code of S32K144 can transplant in S32K142 directly ?

(Supplier told us that S32K144 and S32K142 can used same source code)

if it is not

How to Source code transplant success in S32K142 from S32K144 ?

标记 (1)
0 项奖励
回复
3 回复数

1,778 次查看
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jaros,

S32K144 and S32K142 MCUs are very similar. I don't know your source code and which peripherals are used here, however, there are some differences that should be checked such as Flash, RAM memory sizes, number of LPUART, LPSPI. etc.

I recommend you to look at section 2.5 Feature comparison in the RM rev 12.1

The memory map of the S32K1xx devices can be found in the attachment of the RM

https://www.nxp.com/webapp/Download?colCode=S32K1XXRM  

I hope it helps.

Best regards,

Diana

0 项奖励
回复

1,778 次查看
hsieh_jaros
Contributor I

Hi Sir 

According to the operating information follow:

HOWTO: Change the CPU Derivative in an SDK-Based Application Project 

I was changing the MCU from S32K144 to S32K142 and build code successfully

but it's has a Error Signal when the image was flash into MCU 

pastedImage_3.png

How to resolve the bug ?

Help us ,Please.

Thank you very much.

0 项奖励
回复

1,778 次查看
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Jaros,

It is not easy to find out the root cause of this error.

However, after discussion with S32DS experts, the emergency Kinetis device recovery option in debug configuration can help.

pastedImage_2.png

Also, you can try to delete all breakpoints, clean project, rebuild and try to debug again.

If not help, can you share your project?

Best regards,

Diana

0 项奖励
回复