Question about S32k312 C40_Ip write pflash

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

Question about S32k312 C40_Ip write pflash

Jump to solution
1,750 Views
Vandarkholme
Contributor III

hello!

I'm using s32k312 with RTD5.0.0, there's some problem about C40_Ip erasing pflash :

  1. Erase block0(0x420000-0x500000) failed, will cause hard_fault;
  2. Erase block1(0x500000-Hse_start) successful;

I found a post https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/td-p/1697432 

Vandarkholme_0-1739254907580.pngVandarkholme_0-1739254907580.png

but in RTD 5.0.0 C40_ip.h, "Fls_MemMap.h" not exists

Vandarkholme_1-1739255046525.pngVandarkholme_1-1739255046525.png

so, how to put C40_Ip APIs into ram? Can provide me some example projects? Thanks

 

 

0 Kudos
Reply
1 Solution
1,724 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Vandarkholme

2025-01-10_11-17-49.png2025-01-10_11-17-49.png

View solution in original post

0 Kudos
Reply
3 Replies
1,725 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Vandarkholme

2025-01-10_11-17-49.png2025-01-10_11-17-49.png

0 Kudos
Reply
1,467 Views
lucaswang
Contributor II

main.pngmain.pngA8A99288-1158-4791-B832-AD5C70B8BB68.pngA8A99288-1158-4791-B832-AD5C70B8BB68.png

0 Kudos
Reply
1,476 Views
lucaswang
Contributor II
hi, I have made the modifications according to the picture above, but the erasing still fails.
Is there anything else that I need to pay attention to?
Tags (1)
0 Kudos
Reply