Searching \ for 'Pic reseting problem' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Pic reseting problem'.

Truncated match.
PICList Thread
'Pic reseting problem'
1999\11\25@210316 by Mike M

flavicon
face
Ok im using a 24lc32 eeprom conencted to porta.  So far there is no code to rese
t the chip to address 0000, but when reading sequentially from the chip on start
up ofthe pic everything works fine the FIRST time.  if u reset the pick it no l
onger works...i would assume that this is because the eeprom is still holding th
e previous address accessed and wont forget that address until it is set to a di
fferent one or power is removed??

So, we tried shutting off the power and flickin it back on...This also did not w
ork.  about 10 minutes later..flicked the power back on and the damn thing worke
d as its supposed to.  REmove power, wait 30 seconds apply power again, NOTHING.
.  why is this?  there are no caps on the board saving any charge, its built on
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

1999\11\25@211319 by Brian Kraut

picon face
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

1999\11\25@213151 by Tony Nixon

flavicon
picon face
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

You may need to have a software delay at the start of your code, and
after the port initialisation, which gives the external chips time to
stabilise themselves at powerup.

Perhaps doing a STOP sequence after the delay may fully reset the
EEPROM.

--
Best regards

Tony

http://www.picnpoke.com
Email spam_OUTsalesTakeThisOuTspampicnpoke.com

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...