2002382_en-US

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

2002382_en-US

2002382_en-US

Hard Fault in C40_Ip_MainInterfaceHVJobStatus api when flash is erase in s32k312

Hi NXP team.

The HardFault(1.jpg) issue happens while checking sector(0x00400000) erase functionality of S32K312.

The below API functions have to be placed into SRAM (".ramcode" section), as the attached files(2.jpg).

  • C40_Ip_MainInterfaceSectorErase
  • C40_Ip_MainInterfaceSectorEraseStatus
  • C40_Ip_MainInterfaceWrite
  • C40_Ip_MainInterfaceWriteStatus                                                                                                         Could you please let me know to resolve this issue?
Re: Hard Fault in C40_Ip_MainInterfaceHVJobStatus api when flash is erase in s32k312

Hi Daniel.

This issue is resolved.
Thank you for your support.

BRs.

Eddie Park

Re: Hard Fault in C40_Ip_MainInterfaceHVJobStatus api when flash is erase in s32k312

Hello @EddiePark,


Please specify the RTD revision.


Does the fault occur during or after the flash operation?


If you are erasing the sector starting at 0x00400000, where is the application code located?


As discussed here:

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

Place this function to SRAM too:

C40_Ip_MainInterfaceHVJobStatus()


Check the .map file to confirm the functions are in SRAM.


Regards,

Daniel

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 10:09 PM
更新人: