最近在用PIC18F25K83写个程序,内存显示还很富裕,但是运行起来总是复位,监测到PCON1的MEMV为0,是由存储器执行违例导致的复位。不知道为什么。Memory Summary:
Program space used 4E36h ( 20022) of 7800h bytes ( 65.2%)
Data space used 36Dh ( 877) of 7FFh bytes ( 42.8%)
Configuration bits used 5h ( 5) of 5h words (100.0%)
EEPROM space used 0h ( 0) of 400h bytes ( 0.0%)
ID Location space used 10h ( 16) of 10h bytes (100.0%)
Data stack space used 0h ( 0) of 438h bytes ( 0.0%)
|