PIC Kit 3 combined with MPLAB to program the PIC32 mismatch

after I worked for a while with the PIC16 microcontrollers, I wanted to get known to PIC32 microcontrollers.
But I have a problem. If I try to run a simple program on the PIC32MX110F016B(datasheet: http://www.kynix.com/uploadfiles/pdf65976/PIC32MX110F016B-I2fSO_610135.pdf ) or on the PIC32MX220F032B I get always the same error message:
image
Failed to program device
Selected device and target: memory mismatch.
I use the PIC Kit 3 combined with MPLAB to program the PICs and with the PIC16s it worked always pretty well. The PIC is powered from the PIC Kit 3(3.25V) and I connected it this way:

(PC3 = PIC Kit 3 pin, MC = Microcontroller pin)

PC3 MCLR -> MC MCRL
PC3 VDD -> MC VDD
PC3 VSS -> MC VSS
PC3 PGD -> MC PGED1
PC3 PGC -> MC PGEC1
I also connected a 10K resistor from MCLR to the VDD pin.
And I think the only important config I set in the program is right, too:

#pragma config ICESEL = ICS_PGx1 // ICE/ICD Comm Channel Select (Communicate on PGEC1/PGED1)
Here the full console output:

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.36.10
Firmware type..............PIC32MX

Programmer to target power is enabled - VDD = 3,250000 volts.
Target device PIC32MX110F016B found.
Device ID Revision = A1

The following memory area(s) will be programmed:
program memory: start
address = 0x0, end address = 0xfff
boot config memory
configuration memory

Device Erased...

Programming...
Failed to program device
Selected device and target: memory mismatch.

 

Reply to Thread

Log in or Register to Comment
Have an account? Login below:
With Facebook:Login With Facebook
or
Username:  
Password:  
  
Not registered? To sign up for an account with The Escapist:
Register With Facebook
Register With Facebook
or
Register for a free account here