采用MALAB IDE V8.53, PIC24FJ64GA010,烧录没有问题并且运行正常,但是就不能进入Debug模式,在Debug模式烧录Debug代码后,出现以下提示
Programming Target...
...Validating configuration fields
ICDWarn0046: Because clock switching is enabled, MPLAB ICD 2 requires the user to cycle target power after a program operation.
...Erasing Part
...Programming Program Memory (0x0 - 0xABFB)
Verifying...
...Program Memory
...Verify Succeeded
...Loading DebugExecutive
...Programming DebugExecutive
...Debug Executive
...Programming Debug Vector
...Debug Vector
...Programming Configuration Bits
.. Config Memory
ICD0161: Verify failed (MemType = Config, Address = 0xABFC, Expected Val = 0xFA1E, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 ready for next operation
始终没找到原因,很奇怪我在PIC24FJ64GA006的一块板子上都没问题,下面是我的配置字
_CONFIG2(FNOSC_PRI & FCKSM_CSECME & OSCIOFNC_ON & FCKSM_CSECME & POSCMOD_HS )
_CONFIG1(JTAGEN_OFF & FWDTEN_OFF & WINDIS_OFF & ICS_PGx1)
请各位大侠帮忙看看,折腾了好久都没能解决
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=4347035&bbs_page_no=1&search_mode=1&search_text=icd2&bbs_id=9999
不知道longfeixue 有没有解决这个问题
一周热门 更多>