2005-07-18 02:09 AM
Desprogramming xdata in uPSD3312 ( URGENT PLEASE)
2011-05-17 03:07 AM
I have a board with a uPSD3312, with 33,3volts and 5 vols supply. If I connect and desconnect quickly the supply sometimes the dates that I have recorded in xdata are desprogramming. Someone can dvice me if I have to introduce some electronic dispositic to avoid this problem. Thanks.
2011-05-17 03:07 AM
rifuvi,
I'm not sure I understand what you're saying. That's the way RAM works. If you remove the power, the contents turn to random junk when the power is reapplied. Depending on your definition of ''quickly,'' just adding some big capacitors to your power supply rails might hold the voltage up enough for temporary interruptions. What you probably want to do is use some battery backup functionality to keep the contents of RAM held when you lose power.2011-05-17 03:07 AM
but my design has a battery of 3,3 volts. so in the case that I switch off and switch off quicly the dates of xdata shouldn´t change or not ?
2011-05-17 03:07 AM
Well... that is a bit strange then if you're holding up the voltage with a battery. Are you sure the hardware design is correct. Have you looked at the voltage on the chip with an oscilloscope to make sure it never dips below the required levels?
Another thing to consider is your reset code. Make sure that nothing is re-initializing your xdata after a reset. This would wipe out whatever you have there.