Strange problem with TINI filesystem.

Abhijit Gadgil <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
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
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.