anyone who can help with that thank you in advance,
I have suddenly encounterred a debug problem when using jlink try debugging my code after using FLASH_DRV_EraseAllBlockUnsecure(&bl_flashSSDConfig) to clear memory so as to do a second Dflash partition. The problem shows that code cannot be found besides debug break point cannot stop at main function or just to say no break point after click debug_flash. All went smoothly before I tried to do erase flash for re-partition DFLASH as EEE. what had happend on earth? the chip I worked on is S32K144 ,the tool for debugging is JLINK, the IDE version is S32DS for ARM v2.2

code that used to do erase memory

Thank you very much!