While Running Code i am getting Hard fault handler exception for c40 main interface erase and write functions but if i am doing debugging step by step there is no exception .Please help to reslove this issue.I am doing testing on S32k311 board
Hi @Anitha7
Firstly, could you share some information about your project?
Are you running an example from the RTD packages? Could you also share your S32DS version, as well as the RTD release?
These guides for fault handling may prove useful:
Best regards,
Julián
We are using C40 Driver main interface Erase and write operations for s32k311 MCU and we are facing Hard Fault Handler issue. This Exception hits only by direct run of project but if we are doing Debugging by placing breakpoints at erase and write api’s in code driver, it is working fine. Please suggest some resolution for this issue. we tried example of sdk’s for s32k344 mcu ,which we imported into s32k311,modified the mcu configurations only. We did C40 Driver configurations as per the SDK examples and we verified the flash memory configurations.
Tools used:S32Design Studio (3.5)
RTD Version: PlatformSDK_S32K3_S32K311_M7(3.0.0)
Debugger : WinIdea Bluebox(IC5000)
Target Hardware: PCB based on S32k311 MCU
Hi @Anitha7,
Please try updating the RTD version to the newest one (SW32K3_RTD_4.4_2.0.0_D2203), either through this page: S32K3 Auto General-Purpose MCUs, or through the "Extensions and Update" window from the "Help" tab in S32DS.
If you are not able to get the project working let us know to provide further support.
Best regards,
Julián.