[S32K3XX] C40_Ip using for accessing Code flash memory patition

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

[S32K3XX] C40_Ip using for accessing Code flash memory patition

跳至解决方案
1,522 次查看
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.

 

标记 (1)
0 项奖励
回复
1 解答
1,502 次查看
Changhawn
Contributor III

Basic working is confirmed.

My access region is not wrong.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,503 次查看
Changhawn
Contributor III

Basic working is confirmed.

My access region is not wrong.

0 项奖励
回复
1,496 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Changhawn

Is your problem solved?

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

0 项奖励
回复
1,493 次查看
Changhawn
Contributor III
Yes.
It's work normally
0 项奖励
回复
122 次查看
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?

标记 (1)
0 项奖励
回复