S32116_FLASH_DRV_CommandSequence_HardFault

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

S32116_FLASH_DRV_CommandSequence_HardFault

ソリューションへジャンプ
795件の閲覧回数
Tianye
Contributor I

Hello!

   My project is S32K116/118, when I use the flash module I trapped in a hardfault trouble.

   My question code followed, it is also in the flash_driver.c

Tianye_0-1680590035263.png

when I enter the FLASH_DRV_CommandSequence I met the hardfault.( I even cannot enter this function)

The FLASH_DRV_CommandSequence which is defined in the ram.

Tianye_1-1680590107294.png

The parameter pSSDConfig is surely correct.

And my memory areas are following, I have combined two sectors SRAM_U(m_data).

Tianye_4-1680590650284.png

 

Tianye_2-1680590235439.png

 

Besides, I also found in the map docunment, the relevant code has been compiled, and it is in the ram area. It means that 

START_FUNCTION_DEFINITION_RAMSECTION is work.

Tianye_3-1680590413248.png

 

So, I really don't know how to address it. Please help me!

#S32K1xx

 

 

 

 

 
ラベル(1)
0 件の賞賛
返信
1 解決策
778件の閲覧回数
Tianye
Contributor I

It is solved. Because .mk document in my vscode is wrong.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
779件の閲覧回数
Tianye
Contributor I

It is solved. Because .mk document in my vscode is wrong.

0 件の賞賛
返信