mplabx can't find my pic

Discussion in 'Embedded Systems and Microcontrollers' started by alexix, Apr 23, 2014.

  1. alexix

    Thread Starter New Member

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

    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?
     
  2. nsaspook

    AAC Fanatic!

    Aug 27, 2009
    2,907
    2,167
  3. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    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.
     
  4. alexix

    Thread Starter New Member

    Mar 27, 2014
    5
    0
    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
     
Loading...