HERE ARE THE CODES I REALLY CAN'T FIND THE PROBLEM.I READ MELANIE'S (I2CRead & I2CWrite not working as expected)AND TRYED EVERYTHING BUT NOT WORKING
I AM USEING
16F877 AND 24C02 AND EVERY THING CONNECTED WELL.
I don't have a Datasheet for a 24C02F, but I assume you've connected Vss and Vdd as you should have (since it's not shown on your schematic)... and what have you done with the WP pin? Is it grounded or floating? Again, not shown in your schematic.
http://www.geocities.com/burakloves/24c02.pdf datasheet of the 24c02 and yes WP is connected with ground.Proteus don'y use Vdd or Vss it connects automaticly.I set up this circuit in real world and still have the same result
and u can see the circuit2
Last edited by SuB-ZeRo; - 11th July 2005 at 03:53.
Asking is not a shame but not learning is a SHAME!!!
I understand that a lot of pcb layout packages don't always show VDD, VCC, VSS, or GND connections on devices, but I do see a floating MCLR connection which is a not good. If this isn't tied to +5V (or whatever you are running for a positive supply), you will have random resets occurring. Hopefully this IS the problem, since this would be an easy fix.
Yes in the curcuit i can't connect the Mclr to the +5 V if i do the program stops.But in the real world i connected the mclr to the +5 V still nothing change i do every thing that has been writen in the threads and picbasic book.I give word to adres after than i give byte to adres nothing change. And suggestions?
Asking is not a shame but not learning is a SHAME!!!
Bookmarks