文件名称:EEPROM.txt
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 苗*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
基于pic16f676 EEPROM的问题
用软件仿真没问题,但烧到片子里,不能正常运行。情况是这样的:假如循环向EEPROM中写数据,9,8,7,6,5,4,3,2,1,然后读,发现每一位读出的都一样,是写循环中第一个写进去的字节,也就是9。其他的并没有写进去。
EEPROM的写通过判断标志位就可以,但是在下一次写之前要清除上一次写完成的标志位。也就是说,每次写完要清除完成标志位,否则下一次写不进去。-Based on pic16f676 EEPROM problem
With the software simulation no problem, but burn to film, not normal operation. The fact of the matter is: if cycle to write the data of EEPROM, 9,8,7,6,5,4,3,2,1, then read, and found that each of the read, write the first cycle is written in bytes, also is 9. The other are not written in.
Write through the judgement of EEPROM sign a can, but in the next write to remove the last completed before writing the sign of a. That is, every time to remove the written finish marks a, or the next write in.
用软件仿真没问题,但烧到片子里,不能正常运行。情况是这样的:假如循环向EEPROM中写数据,9,8,7,6,5,4,3,2,1,然后读,发现每一位读出的都一样,是写循环中第一个写进去的字节,也就是9。其他的并没有写进去。
EEPROM的写通过判断标志位就可以,但是在下一次写之前要清除上一次写完成的标志位。也就是说,每次写完要清除完成标志位,否则下一次写不进去。-Based on pic16f676 EEPROM problem
With the software simulation no problem, but burn to film, not normal operation. The fact of the matter is: if cycle to write the data of EEPROM, 9,8,7,6,5,4,3,2,1, then read, and found that each of the read, write the first cycle is written in bytes, also is 9. The other are not written in.
Write through the judgement of EEPROM sign a can, but in the next write to remove the last completed before writing the sign of a. That is, every time to remove the written finish marks a, or the next write in.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EEPROM.txt.txt