Main Site Documentation

Persistent Storage on USBizi


#1

I’m trying to use code from my Cobra on my USBizi that uses ExtendedWeakReferences to read and write to the flash ram but it doesn’t seem to work. I searched and found that USBizi does not support ExtendedWeakReferences. If this is true, how can I create a persistent store on the USBizi?


#2

InternalFlashStorage will do the trick. See this thread http://www.tinyclr.com/forum/2/4804/ (from today, coincidentally)


#3

Thanks, I also found the documentation here:

http://www.ghielectronics.com/beta_01979/Library%20Documentation/html/ccb0e435-a5e2-d315-9be4-b8de5a6fcc85.htm


#4

Does InternalStorage.Write require a time period for physically writing the data? I thought I read somewhere that ExtendedWeakReferences could take up to 2 seconds to write the data. I’m using InternalStorage to detect a power cycle so I need to know how much time to allow for the write before I let the power be recycled.

Also, does anybody know the lifetime read/write cycles for the USBizi flash storage?


#5

It is immediate.

This flash is meant to store some config and not to log data for example.