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
Solved! Go to Solution.
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.
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.
Thanks, kef.