Lunching partition command on S32K

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

Lunching partition command on S32K

1,343 次查看
hajianik
Senior Contributor I

Hi,

I need to switch from HI_SPEED_RUN mode to Just RUN mode to lunch flash partition command and back to hi speed run mode once done.

This is not working for me. use PE code to do this as fallows:

POWER_SYS_Init(&powerConfigsArr, POWER_MANAGER_CONFIG_CNT, &powerStaticCallbacksConfigsArr, POWER_MANAGER_CALLBACK_CNT);

Where powerConfigsArr is pointer to arrays of 2 configs (HI SPEED RUN, RUN) and the CNT is 2.

Then to switch I do:

POWER_SYS_SetMode( 1, 0);

which is supposed to switch to RUN and then lunch the partition  command which generates a reset.

What is wrong with this?

Please help.

0 项奖励
回复
0 回复数