S32116_FLASH_DRV_CommandSequence_HardFault

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

S32116_FLASH_DRV_CommandSequence_HardFault

跳至解决方案
1,157 次查看
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 解答
1,140 次查看
Tianye
Contributor I

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,141 次查看
Tianye
Contributor I

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

0 项奖励
回复