Page 1 of 1

Troubleshooting eeprom program failure

Posted: Mon Apr 15, 2019 10:25 am
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?

Re: Troubleshooting eeprom program failure

Posted: Mon Apr 15, 2019 11:12 am
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.

Re: Troubleshooting eeprom program failure

Posted: Mon Apr 15, 2019 3:14 pm
by mportnoy
Thanks, that was the issue. I was running the eeprom in write protect mode and didn't even notice.