9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

ソリューションへジャンプ
1,054件の閲覧回数
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 解決策
710件の閲覧回数
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 返答(返信)
711件の閲覧回数
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 件の賞賛
返信
709件の閲覧回数
kbatke
Contributor II

Thanks, kef.

 

0 件の賞賛
返信