Migration from S32k144 to S32M244

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

Migration from S32k144 to S32M244

Jump to solution
215 Views
Mohammed_Heshmat
Contributor II

while trial to flash a piece of code "used for s32k144" into the 

S32M24x Evaluation Board , it generate the following :

" The target stopped in Hard Fault exception state.

Reason: A fault with configurable priority has been escalated to a Hard Fault exception at 0x00051E56.  "

 

the issue occurs in reset handler  line 373 refer to attachment

Mohammed_Heshmat_0-1744545980500.png

 

0 Kudos
Reply
1 Solution
187 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Mohammed_Heshmat

I did some simple tests, such as trying to download some demos directly from different SDK versions of S32K144 to S32M244, and it did generate hard faults at the initialization location of some peripherals, but none of the versions I tested had your problem in the startup file, so if you really want to delve into this issue, I may need you to provide your test project to find out the cause.

However, from some of my results, users cannot directly download S32K144 programs to S32M244, and there is no guarantee.

So I suggest you create a new S32M244 project manually and migrate it from scratch with reference to the S32K144 project, instead of directly downloading the S32K144 program to the S32M244.

View solution in original post

0 Kudos
Reply
2 Replies
99 Views
Mohammed_Heshmat
Contributor II

Hello @Senlent  

Yes , I'll try to create a new S32M244 project 

0 Kudos
Reply
188 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Mohammed_Heshmat

I did some simple tests, such as trying to download some demos directly from different SDK versions of S32K144 to S32M244, and it did generate hard faults at the initialization location of some peripherals, but none of the versions I tested had your problem in the startup file, so if you really want to delve into this issue, I may need you to provide your test project to find out the cause.

However, from some of my results, users cannot directly download S32K144 programs to S32M244, and there is no guarantee.

So I suggest you create a new S32M244 project manually and migrate it from scratch with reference to the S32K144 project, instead of directly downloading the S32K144 program to the S32M244.

0 Kudos
Reply