Make sure that you initialize your variables at the beginning of your code. If your program reads something from RAM in the beginning of your code there is no telling what is in that RAM address so you need to clear all of the RAM addresse s you will be using in the beginning of your code. Of course, if you will be wr iting something to a particular address some time before you read it that is O.K . This is especially true from windowed chips. The light can put weird things int o your RAM. Mike M wrote: > Ok im using a 24lc32 eeprom conencted to porta. So far there is no code to re set the chip to address 0000, but when reading sequentially from the chip on sta rt up ofthe pic everything works fine the FIRST time. if u reset the pick it no longer works...i would assume that this is because the eeprom is still holding the previous address accessed and wont forget that address until it is set to a different one or power is removed?? > > So, we tried shutting off the power and flickin it back on...This also did not work. about 10 minutes later..flicked the power back on and the damn thing wor ked as its supposed to. REmove power, wait 30 seconds apply power again, NOTHIN G.. why is this? there are no caps on the board saving any charge, its built o n a bread board.. > > miKE (who else...BTW, happy thanksgiving) > > Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. > GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=fc-41