1911727_en-US

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

1911727_en-US

1911727_en-US

[S32K3XX] C40_Ip using for accessing Code flash memory patition

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.


Re: [S32K3XX] C40_Ip using for accessing Code flash memory patitionYes.
It's work normally
Re: [S32K3XX] C40_Ip using for accessing Code flash memory patition

Hi@Changhawn

Is your problem solved?

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

Re: [S32K3XX] C40_Ip using for accessing Code flash memory patition

Basic working is confirmed.

My access region is not wrong.

Re: [S32K3XX] C40_Ip using for accessing Code flash memory patition

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)
No ratings
Version history
Last update:
‎11-24-2025 07:17 AM
Updated by: