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