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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,174 次查看
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 项奖励
回复
0 回复数