Troubleshooting eeprom program failure

Hardware questions and issues with the FV-1

Moderator: frank

Post Reply
mportnoy
Posts: 24
Joined: Fri Jan 25, 2019 8:06 am

Troubleshooting eeprom program failure

Post by mportnoy »

Hello all.

After several weeks of interruption and a new pcb design spun, Ive finally gotten the opportunity to get back to the FV1 design.

Unfortunately I’m having a bit of trouble programming my 24LC32A. I generated hex files using SpinIDE. I’m running PICkit 2’s connections as:

pin 3 to gnd,
pin 5 to pin 6 of eeprom and pin 14 of FV1
Pin 6 to pin 5 of eeprom and pin 15 of FV1

PICkit 2 fires up, and I can successfully verify and ‘blank check’ the eeprom in the PICkit 2 environment. To program, I leave the address configurations box unchecked (A0, A1, A2). VDD box is unchecked.

Unfortunately when I try to program I get the very nebulous ‘programming failed at address 0x000000’ error.

Any thoughts?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Re: Troubleshooting eeprom program failure

Post by frank »

Pin 7 of EEPROM must be at ground to allow writing check that it is.

Tie pin 2 of programmer to EEPROM VDD so it can sense the voltage.
Frank Thomson
Experimental Noize
mportnoy
Posts: 24
Joined: Fri Jan 25, 2019 8:06 am

Re: Troubleshooting eeprom program failure

Post by mportnoy »

Thanks, that was the issue. I was running the eeprom in write protect mode and didn't even notice.
Post Reply