Software Reset For MCf52259

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

Software Reset For MCf52259

1,286 次查看
payyans4u
Contributor I

Hi,

 

I am working on MCF52259 with MQX 3.7 CW 7.2environment....I am trying to use the software reset opton in my code..I have set the flag for MCF_RCM_RCR_SOFTRST in MCF52259_RCM.h file as 

 

#define MCF_RCM_RCR_SOFTRST                  (0x80)

 

And i am using MCF_RCM_RCR = MCF_RCM_RCR_SOFTRST; in my .c file to reset the code and start over again...

 

Is this the Right way to get it done....Pls suggest

标签 (1)
0 项奖励
回复
2 回复数

952 次查看
mjbcswitzerland
Specialist V

Hi

 

Writing 0x80 to the RCR register in the M52259 or any other Coldfire V2 processors causes a soft reset to be executed.

 

Regards

 

Mark

 

0 项奖励
回复

952 次查看
payyans4u
Contributor I

Thanks Mark...Its working Fine

0 项奖励
回复