This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

自编写的烧写sst39vf1601数据错误



最近调程序很不顺啊!

自编写的烧写sst39vf1601代码,烧写数据有规律性的错误,烧写完不断电用ccs->memory看,数据完全正确,可是掉电后,用ccs->memory看发现存在第一个字没有烧到第一个字的位置,却烧到了第二个字的位置,而第二个字却丢失了,擦除数据是正常的。

如下:

假如要烧写数据0xEA03,0x75A8,0x5E80,0x5F00 ……

不断电时数据正确。

断电后重新上电,出现下面的情况:

0xFFFF,0xEA03,0xFFFF,0x5E80  ……

0x75A8和0x5F00 被第一个字挤没了。

请问各位大侠,咋回事?