chipKIT® Development Platform

Inspired by Arduino™

[ICD2] CRC error on BootConfig with ICD2 and MPLAB IDE 8.76

Created Mon, 17 Oct 2011 15:11:56 +0000 by huberthu


huberthu

Mon, 17 Oct 2011 15:11:56 +0000

Help!

I've got the same problems on two newly purchased ChipKit Uno32 boards. I followed the instructions from previous discussion.

I'm using ICD2 with MPLAB v8.76 to load the latest production firmware arduino-bootloader.X.Uno32_8-19-11 into

but I got a CRC check failure where it programs boot configure part:

The error message is here: Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC32MX320F128H found, revision = Rev 0x50900053 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 ready for next operation Programming Target... ...Validating configuration fields ...Erasing Part ...Loading Program Executive ...Programming Boot Config (0x1FC00000 - 0x1FC01BFC) ...Verifying Boot Config memory (0x1FC00000 - 0x1FC01BFC) ICD0296: Failed CRC check (Mem='BootConfig' Expected=0xA355 Received=[color=#408000]0xFAE0[/color]) ICD0275: Programming failed. MPLAB ICD 2 ready for next operation

In addition, I also tried to setup a blank project, which does nothing but can be successfully built.

source code: #include <plib.h> #include <p32xxxx.h>

int main() {

while(1)
{
//	delay_ms(1000);
}
return 0;

}

I program it and got the similar error message:

Programming Target... ...Validating configuration fields ...Erasing Part ...Loading Program Executive ...Programming Boot Config (0x1FC00000 - 0x1FC01BFC) ...Verifying Boot Config memory (0x1FC00000 - 0x1FC01BFC) ICD0296: Failed CRC check (Mem='BootConfig' Expected=0x85FE Received=[color=#408000]0xFAE0[/color]) ICD0275: Programming failed. MPLAB ICD 2 ready for next operation

Interesting, the received CRC is the same 0xFAE0. Does this suggest my ICD2 have problem? Nothing has been programmed into the chip. Or I miss some configuration part.