S32116_FLASH_DRV_CommandSequence_HardFault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32116_FLASH_DRV_CommandSequence_HardFault

Jump to solution
1,155 Views
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

 

 

 

 

 
Labels (1)
0 Kudos
Reply
1 Solution
1,138 Views
Tianye
Contributor I

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

View solution in original post

0 Kudos
Reply
1 Reply
1,139 Views
Tianye
Contributor I

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

0 Kudos
Reply