• AVR Freaks

picdem with pickit3 and 24lc16b

Author
karl sweeney
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2015/04/13 03:55:57
  • Location: 0
  • Status: offline
2015/04/22 04:35:23 (permalink)
0

picdem with pickit3 and 24lc16b

I'm trying to program the device using the pickit 3 and the software pickit3 v3.10
The pickit pins are connect to the following for the chip. 
pickit     device
1          1,2,3
2              8
3              4
4              5
5              7
6              6
where am i going wrong it keeps coming up with Programming faile at 0x0000XX or occasionally it comes up with i2c bus error (no acknowledgement) - aborted
#1

3 Replies Related Threads

    timijk
    Super Member
    • Total Posts : 1216
    • Reward points : 0
    • Joined: 2007/11/26 00:30:07
    • Location: Taiwan
    • Status: offline
    Re: picdem with pickit3 and 24lc16b 2015/04/22 05:08:21 (permalink)
    0
    this is how PICkit 2 ICSP connection, maybe similar to PICkit 3 (it seems in its readme file)
    WP -> GND, 
     
            Connections for 24LC devices
    ---------------------------------------
    PICkit 2 Pin 24LC Device Pin (DIP)
    (2) Vdd ! 8 Vcc
    (3) GND 4 Vss
    (5) PGC 6 SCL (driven as push-pull)
    (6) AUX 5 SDA (requires pullup)
    7 WP - disabled (GND)
    1, 2, 3 Ax pins
    Connect to Vdd or GND per
    datasheet and to set address

    ! 24LC devices may not program properly below 3.6V VDD.
    This is a limitation of the PICkit 2 AUX IO pin.
     
    #2
    timijk
    Super Member
    • Total Posts : 1216
    • Reward points : 0
    • Joined: 2007/11/26 00:30:07
    • Location: Taiwan
    • Status: offline
    Re: picdem with pickit3 and 24lc16b 2015/04/22 05:16:36 (permalink)
    0
    btw, there is a warning in MPLAB X,
    Additionally, these devices are not intended to be programmed in-circuit. Attempting to program serial EEPROM devices while in-circuit may fail due to conflicts with other devices on the serial bus.

     
    I found the readme file with PICkit 3 Stand Alone App...
    post edited by timijk - 2015/04/22 05:27:10
    #3
    timijk
    Super Member
    • Total Posts : 1216
    • Reward points : 0
    • Joined: 2007/11/26 00:30:07
    • Location: Taiwan
    • Status: offline
    Re: picdem with pickit3 and 24lc16b 2015/04/22 05:31:02 (permalink)
    0
    > 24LC I2C bus devices:
    Bus Speed-
    400kHz with Tools -> Fast Programming checked
    100kHz with Tools -> Fast Programming unchecked
    NOTE: Bus pullups are required for all
    programming operations. 400kHz requires
    2k Ohm pullups.
    NOTE: The I2C (24LC) Serial EEPROM devices require the following PICkit 3
    hardware changes to work properly:
    Remove TR3 from the PICkit 3.
    Remove R50 from the PICkit 3.
    Connections for 24LC devices
    ---------------------------------------
    PICkit 3 Pin 24LC Device Pin (DIP)
    (2) Vdd 8 Vcc
    (3) GND 4 Vss
    (5) PGC 6 SCL (driven as push-pull)
    (6) PGM(LVP) 5 SDA (requires pullup)
    7 WP - disabled (GND)
    1, 2, 3 Ax pins
    Connect to Vdd or GND per
    datasheet and to set address
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5