RE: Filesystem volatile

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Saim Ahmed - Re:  "Please Explain NVRAM Battery Voltage."

Please review this:

The Systronix TStik is here (take a look at Page 10, 2B on the schematic):
http://www.systronix.com/tinistik/docs/Tstik_72_NB_Schematics_Rev_120.pdf

The CR1632 3 VDC Batter is here (Battery life is about 10 years at 21
degrees C (Room Temperature)):
http://data.energizer.com/datasheets/library/primary/lithium_coin/cr1632.pdf

The DS1672U Low-Voltage Serial Timekeeping Chip:
http://pdfserv.maxim-ic.com/en/ds/DS1672.pdf

the TPS3619 Backup-Battery Supervisors for RAM Retention:
http://focus.ti.com/docs/prod/folders/print/tps3619-33.html#technicaldocumen
ts
...and,
http://focus.ti.com/lit/ds/symlink/tps3619-33.pdf

You comment:  "I get this error with just a serial link to my project...I
run Tynamo in parallel though".

Tynamo 1.0 is as bullet-proof as it can possibly get (Shawn Silverman's
Tynamo runs for MONTHS, on my applications running multiple applications.
PERIOD, and 'nuf said on that.  Sooo...

That leads to a glitch, noisy power supply, a power supply that is
inadequate for the load, or the serial link code application is FUBAR.

(1) Get a bench supply that is rock-solid at around 9 VDC at 1 Ampere or
more and verify if the problem is with the power supply that you were
previously using.  Most problems seem to stem for these rinky-dink wall-wart
9 volt supplies with a puny 300mA output. Some get the job done (the one
from Systronix is fine (or THEY would not sell it).  You might want to
consider a good power outlet strip that has filters for the AC line on it
also.

(2) Now the hard part... is the serial application code, YOUR java code?
Start attempting to "instrument" the code;  this is a valuable tool:

// Display for TINI's available free memory.
	System.out.println("Available free RAM = " + (TINIOS.getFreeRAM()));

Drop this in to your serial I/O application someplace, where it will get
"hit" (execute)occasionally... This does use up memory though (take it out
later!).

(3) Try NOT running with Tynamo (if you can)... the problem is not with
Tynamo, but it does use a good size chunk of RAM if you have ALL of the
features for 1-Wire servlets configured.

(4) Have a buddy do a design review and code analysis (peer review), on your
code.

Best regards, Kelly Smith

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of
Saim Ahmed
Sent: Monday, May 10, 2004 2:36 PM
To: 'Bryan Armstrong'; TINI-6tN4nzCoH/[email protected]
Subject: RE: [TINI]Filesystem volatile


Hi,
I get this error with just a serial link to my project.
The system restores to its default state, and all programs erased. It
happens occationally, but without warning, any help? Please Explain NVRAM
Battery Voltage.
The board is powered to spec. blastHeapOnReboot() is not called by my
program. I run Tynamo in parrallel though, so I'm unsure where the fault
lies.

Any help

Thanks

SAIM

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]] On Behalf Of
Bryan Armstrong
Sent: 10 May 2004 16:24
To: George K. Watson
Cc: tini-6tN4nzCoH/[email protected]
Subject: Re: [TINI]Filesystem volatile

George K. Watson wrote:
> I have a pair of TSTIK/TILT-400s and each time the power is removed
> and restored, the filesystem seems to get cleared. The 'default' stuff
> is there, but my additions are gone.
> Any clues?

Two ideas:

1. Check the NVRAM battery voltage
2. Verify that TINIOS.blastHeapOnReboot() is not being called in your
application.


--
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini




_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.