[S32K3XX] C40_Ip using for accessing Code flash memory patition

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

[S32K3XX] C40_Ip using for accessing Code flash memory patition

Jump to solution
1,525 Views
Changhawn
Contributor III

Hi.

I am developing flash access using C40_Ip api in bootloader.

Data memory partition(0x10000000) can be accessed by that API.

But code memory partition(0x500000 ~ 0x007FE000) can not be accessed.

Hard fault assert is happened. 

C40_Ip API is located in SRAM like below.

Changhawn_0-1721353208571.png

Could you give me some guide or hint for this debugging?

Thank you in advance.

 

Tags (1)
0 Kudos
Reply
1 Solution
1,505 Views
Changhawn
Contributor III

Basic working is confirmed.

My access region is not wrong.

View solution in original post

0 Kudos
Reply
4 Replies
1,506 Views
Changhawn
Contributor III

Basic working is confirmed.

My access region is not wrong.

0 Kudos
Reply
1,499 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Changhawn

Is your problem solved?

I see that you have already set your answer as a solution.

0 Kudos
Reply
1,496 Views
Changhawn
Contributor III
Yes.
It's work normally
0 Kudos
Reply
125 Views
NXP开发者
Contributor II

I encountered the same problem as you. When writing to the PFLASH, a hardware fault occurred. Could you please tell me how you solved it?

Tags (1)
0 Kudos
Reply