Bus Fault and Hard Fault in S32K324 Controller

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bus Fault and Hard Fault in S32K324 Controller

569件の閲覧回数
nishanth_s12
Contributor I

Hi all,

I am facing the issue while eraseing the sector in S32K324 Controller.

When i am debugging the code step by step during the Erase, it works fine. When i am giving the continues run, it goes to Bus Fault and Hard Fault handler.

Kindly suggest the solution.

0 件の賞賛
返信
3 返答(返信)

562件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @nishanth_s12 

Check the following community post. It has information related to the topic. 

S32K344 C40 IP Hardware Fault Problem

 

B.R.

VaneB

0 件の賞賛
返信

556件の閲覧回数
nishanth_s12
Contributor I

Hi,

Thanks for your reply.

We gone through the document.

We are unable to find  SRAM (".ramcode" section) in our project.

When we configured flash driver only, it was working. But we configured flash driver along with FlexCANPit_Ip and Port driver, it is not working properly. We are getting Bus Fault and Hard Fault.

Please find enclosed our code. Kindly rectify the same.

0 件の賞賛
返信

541件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @nishanth_s12 

To place the functions to SRAM, you should do the shown in the following image:

VaneB_0-1709750454185.png

As a result, you need to see the ".ramcode" section (.map file) as follows:

VaneB_1-1709750533253.png

0 件の賞賛
返信