英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流
标题:
Proteus仿真问题
[打印本页]
作者:
eva
时间:
2012-8-21 11:54
标题:
Proteus仿真问题
用Proteus仿真是出现下面错误,请高手给看一下是什么意思啊?要如何修正呢?
Program of EEPROM data has invalid address [0FFF] for this device
Real Time Simulation failed to start
我用的芯片是PIC12F629 程序如下:
#include "P12F629.INC"
#include "P12F675.INC"
__CONFIG 0x0184
bcf STATUS,RP0 ;Bank 0
clrf GPIO ;Init GPIO
movlw 07h ;Set GP<2:0> to
movwf CMCON ;digital IO
bsf STATUS,RP0 ;Bank 1
clrf ANSEL ;Digital I/O
movlw 08h ;Set GP<3:2> as inputs
movwf TRISIO ;and set GP<5:4,1:0>
;as outputs
movlw 07h
movwf OPTION_REG
bcf STATUS,RP0
LOOP
bcf GPIO,GP2
call DELAY
bsf GPIO,GP2
call DELAY
goto LOOP
DELAY
bcf INTCON,T0IF
clrf TMR0
btfss INTCON,T0IF
goto $-1
return
END
欢迎光临 英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流 (http://enroobbs.com/)
Powered by Discuz! X3.2