21ic问答首页 - PIC18F25K83存储器违例复位
PIC18F25K83存储器违例复位
十年遇见晴天2022-02-20
最近在用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%)
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%)
赞0
评论
2022-02-21
您需要登录后才可以回复 登录 | 注册