12F1822 programming problem

Discussion in 'Embedded Systems and Microcontrollers' started by MaxHeadRoom, Oct 11, 2016.

  1. MaxHeadRoom

    Thread Starter Expert

    Jul 18, 2013
    10,524
    2,369
    Put together a program board for a 12f1822 and when try to DL a prog get the following:

    Running self test...
    Self test completed
    Firmware Suite Version...... 01.28.90
    Firmware type......................Enhanced Midrange
    PICkit 3 Connected.
    Target Detected
    Target Device ID (00000000) does not match expected Device
    ID (00002700).

    Programming...
    The following memory regions failed to program correctly:
    Program Memory
    Address: 00000000 Expected Value: 00000021 Received Value: 00000000
    Programming failed


    Any clues as to the cause, or what to correct it?
    All connections appear correct. It seems target detected but ID?
    Max.
     
  2. AlbertHall

    Well-Known Member

    Jun 4, 2014
    1,929
    381
    Target ID 00000.... generally means PK3 can't communicate with the PIC.
    ICSPDAT and ICSPCLK right way round?
    Other components on MCLR, ICSPDAT, ICSPCLK interfering?
     
  3. MaxHeadRoom

    Thread Starter Expert

    Jul 18, 2013
    10,524
    2,369
    Thanks, Got it, the old wire whisker across an adjacent strip (strip board) VPP.
    Max.
     
  4. dannyf

    Well-Known Member

    Sep 13, 2015
    1,782
    360
    Those are mostly due to wiring or dead chip.
     
Loading...