AnsweredAssumed Answered

Incomplete erasure of 1K flash sector in MC9S08AC128 (Page=4)

Question asked by Paul McKneely on Feb 17, 2016
Latest reply on Feb 23, 2016 by vicentegomez

In think I have found a couple of bugs in the in-circuit MC9S08AC128 flash programming system. I wrote the following data in the flash's memory (Page=4):

0103E0: 81 87 89 8B AD B7 4F B7 85 C7 01 95 A6 18 C7 10
0103F0: 43 50 01 98 A6 28 B7 25 B7 28 B7 2B B7 2E B7 31
010400: B7 34 10 43 60 B7 65 B7 68 B7 6B B7 6E B7 71 B7

After Erasure @010000 (Cmd = $40) I get:
0103E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0103F0: 43 50 01 98 A6 28 B7 25 B7 28 B7 2B B7 2E B7 31
010400: B7 34 10 43 60 B7 65 B7 68 B7 6B B7 6E B7 71 B7

Then after Erasure @010400 (Cmd = $40) I get:
0103E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0103F0: 43 50 01 98 A6 28 B7 25 B7 28 B7 2B B7 2E B7 31
010400: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

The system is supposed to erase a full 1K of flash. The 16-byte line @0103F0 fails to be erased.

Outcomes