Proteus仿真问题
用Proteus仿真是出现下面错误,请高手给看一下是什么意思啊?要如何修正呢?Program of EEPROM data has invalid address 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
页:
[1]