Run S32K142 SDK‘s Flash Erase Function and Reset in IAR

cancel
Showing results for 
Search instead for 
Did you mean: 

Run S32K142 SDK‘s Flash Erase Function and Reset in IAR

349 Views
AaronsCook
Contributor III

hi,

I tested the Flash Erase function of S32K142 based on SDK in the IAR, but when it run to FLASH_DRV_CommandSequence, the debug always reset.

And I set break point to check it, this functionality FLASH_DRV_CommandSequence has been place in the RAM.

however it will reset when continue to run it.

SDK Flash Erase function, when it run at FLASH_DRV_CommandSequence

pastedImage_2.png

pastedImage_3.png

FLASH_DRV_CommandSequence in RAM: begin address 0x1fffc0000

pastedImage_4.png

I don't know what's the root cause. I run the Example project "flash_partitioning" on S32DS and it can work well.

So who face this issue before, Please give me some suggestion to solve it.

Thanks

Best Regards

Aaron

0 Kudos
0 Replies