The DIDNTWRITE and DIDNTREAD are never jumped to when it does not read or write. I have even removed the cables going to the eeprom but it never goes to the label. I have a 24LC512 and a pic 16f628. Has anyone seen this before?
The DIDNTWRITE and DIDNTREAD are never jumped to when it does not read or write. I have even removed the cables going to the eeprom but it never goes to the label. I have a 24LC512 and a pic 16f628. Has anyone seen this before?
You have a hardware problem... OR you don't have pull-resistor as shown in the PBP manual and in the datasheet, OR your PIC is defect, OR you have some short circuit somewhere.
EEprom with Pull up
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=968&stc=1&d=1152732703 ">
EEPROM no pull-up
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=967&stc=1&d=1152732703 ">
NoEEPROM With pul-ups
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=969&stc=1&d=1152732703 ">
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
NoEEPROM No Pull ups
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=970&stc=1&d=1152732703 ">
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I started playing around and found out that if I disconnect the ground wire, the things start working. I tried different chips, different slots in my breadboard and different connector wires. Its the damndest thing. pin 4 should be connected to ground, but spits out garbage when I connect it, works when I disconnect it.
Bookmarks