AnsweredAssumed Answered

s32k144 flash operation jump b       DefaultISR

Question asked by ocean sea on Sep 19, 2019
Latest reply on Sep 24, 2019 by Daniel Martynek

hi ,i use the s32k144EVB to deveiop a bootload ,and i use the demo FLASH_partitioning_s32k144 ,

but i modify a function ,

this is the demo function as below

and this is my function as below

 

but ,when i erase the flash ,if i use the FLASH_DRV_CommandSequence(),is ok ,successful ,

if i use my function u8Ext_USERflash_CommandSequence(),it will get into DefaultISR,and then reset 

the MCU.

i know when i operation the flash ,it should disable the interrupts ,and copy the function to ram;

but i do these ,i use the INT_SYS_DisableIRQGlobal()  ,and

START_FUNCTION_DEFINITION_RAMSECTION

 

END_FUNCTION_DEFINITION_RAMSECTION

 

but it still DefaultISR.

Outcomes