Main Site Documentation

Board specific data


#1

This is a question for any of the USBizi based boards, but is there any way of having board specific data storage an example would be a mac address or maybe a serial number, it would be nice if this data could be updated without changing the managed code on the device.
br P


#2

Yes, save them to EWR or to battery ram.


#3

If he is talking about MAC addresses and serial numbers, he may mean something persistent.


#4

EWR should be good even for MAC address. Of course erasing the entire FEZ will erase the EWR region too but if you are shipping a product with MAC saved then you probably are not going to erase the entire device


#5

FYI, EWR only works on Cobra. It is not available on smaller versions.


#6

I was thinking of something along the lines of using MfDeploy to write to an information sector on the device, anyone done something similar


#7

For the FEZ Domino you obviously could store the values on a small cheep SD card. If the values were stored in a regular text file it would be easy for the users to update it.


#8

USBiz does not have configuration sector like EMX


#9

You could attach an eeprom to your board


#10

^^^ This would work quite nicely: http://www.sparkfun.com/commerce/product_info.php?products_id=525


#11

yup, every man and his dog makes an EEPROM chip. They vary from a few kb up to a few mb. Keep in mind that EEPROM is pretty slow as a form of data storage so you’d only want to store config stuff that is read in once…


#12

looking through the Ghi assemblies I noticed a


PermanentUserKey

class - can this be used on the UsBizi


#13

This seems to do exactly as it says, you can write 16 bytes of data BUT only once, and can read it back, this is exactly what I was looking for, nice feature
Hasnt anybody else used this?


#14

maybe this should be mentioned in the manual


#15

Just like the wording says, this helps you in saving some permanent data on the device. But you can only do it once as it is permanent


#16

thanks, what I meant was this is EXACTLY what I want, (well ok a little bigger would be nice), but 16 bytes is fine for a couple of macs + an id.