我使用的是PIC18F4620的片子。
程序配置如下:
#include <pic18.h>
__PROG_CONFIG(1,0x0700);
__PROG_CONFIG(2,0x1f1f);
__PROG_CONFIG(3,0x8100);
__PROG_CONFIG(4,0x0085);
__PROG_CONFIG(5,0x000f);
__PROG_CONFIG(6,0xe00f);
__PROG_CONFIG(7,0x400f); //设置配置位
编译无问题,但PICC18给出如下建议:
Advisory[1233] Employing 18F4620 errata work-arounds:
Advisory[1234] * Corrupted fast interrupt shadow registers
Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write
求解释? |