Re: Strange problem with TINI filesystem.

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <010a01c42970$4c2e3870$764000b4@kardis>
Although the file system is stored in bank 7, there are some root pointers
and other variables stored in bank 0 with the file system.  The safest thing
to do would probably be to call 'fcleaninit' on reboot, then write the file
system by reading the data from bank 47.

Kris

----- Original Message -----
From: "Abhijit Gadgil" <[email protected]>
To: <tini-6tN4nzCoH/[email protected]>
Sent: Friday, April 23, 2004 2:59 AM
Subject: [TINI]Strange problem with TINI filesystem.


>
> Dear All,
>
> We are facing a strange problem when trying to use the TINI file-system.
>
> The setup is as explained below.
>
> We have allocated bank 0x07 in the RAM for storage of file system.
> However, since this storage is not permanent, what we do is the following.
> During reboot (hard/soft), we copy the contents of bank 0x47 to bank 0x07
> and then issue an finit. Periodically contents of the bank are copied back
> to bank 0x47. (This does mean some inconsistancy in the file system,
> however it doesnt seem to be a major problem for us.)
>
> However, this whole setup fails to work when we do a hard reboot. ie.
> Power off and power on, our custom board. While trying to debug the
> problem, what has been observed is that - When we do a Bank 0 fill will
> all zero's using B 00 and then F 00, (There is no particular reason, why
> we thought of doing this. However somehow this is something that works)
> The code starts working as expected.
>
> Note however, the same problem is not faced on the TINI board as the
> RAM is battery backed up in that case.
>
> Any ideas why this is happening?
>
> -abhijit
>
>
> --
> Surprises are highly over-rated.
>
> _______________________________________________
> 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.