9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

9S12XE controller. FSTAT and FPVIOL / ACCERR flags.

Jump to solution
994 Views
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 

Labels (1)
0 Kudos
Reply
1 Solution
650 Views
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.

View solution in original post

0 Kudos
Reply
2 Replies
651 Views
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 Kudos
Reply
649 Views
kbatke
Contributor II

Thanks, kef.

 

0 Kudos
Reply