9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

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

9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

跳至解决方案
1,058 次查看
kbatke
Contributor II

I am working on error handlers for P-FLASH programming and I would like to know if FSTAT-FPVIOL and FSTAT-ACCERR are set before programming or after programming?

 

I could not find it specifically stated in the documentation.

 

I am using the 9S12XEQ512.

 

Thanks,
Keith Batke 

标签 (1)
0 项奖励
回复
1 解答
714 次查看
kef
Specialist I

According to manual, ACCERR seems to be set at the moment when you clear CCIF flag in attempt to launch flash command. It is mentioned in tables xxxxxxx Command Error Handling. I see strings like  "Set if CCOBIX[2:0] != 010 at command launch". I think it should be the same with PVIOL flag.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
715 次查看
kef
Specialist I

According to manual, ACCERR seems to be set at the moment when you clear CCIF flag in attempt to launch flash command. It is mentioned in tables xxxxxxx Command Error Handling. I see strings like  "Set if CCOBIX[2:0] != 010 at command launch". I think it should be the same with PVIOL flag.

0 项奖励
回复
713 次查看
kbatke
Contributor II

Thanks, kef.

 

0 项奖励
回复