mplabx can't find my pic

Thread Starter

alexix

Joined Mar 27, 2014
5
I have a pickit2 (clone) and a dsPic30F4012 that I'm trying to program using mplabx, and I get this error:

Unexpected device ID, expected ID = 0x2c30000, ID Read = 0x10000000, do you want to continue?
The thing it, it works fine on my PC ( windows 7 ) but not on my laptop ( Linux ), so the programmer and pic are fine. The laptop is quite new and I didn't try any other pic on it.

Any ideea what might be causing it? and if there are ways to fix it?
 

THE_RB

Joined Feb 11, 2008
5,438
It's a standard message that occurs when comms are down. The first thing the programmer tries to do is read the device ID.

Common causes are no power to the target PIC (as NSAspook said) or bad connection on the 3 programming wires; MCLR/PGC/PGD, or something impeding those wires like too much capacitance or too low a pullup/pulldown resistance.
 

Thread Starter

alexix

Joined Mar 27, 2014
5
Altho my problem wasn't that, it helped me find it.

In the project properties, my project was set for dsPic30F6012 instead of dsPic30F4012. As soon as I fixed that it started working.

Thank you
 
Top