x-flash and data partition + OTP programming
Posted: Thu Apr 26, 2012 11:16 pm
I want to store some data in the Flash. In the manual it says the default boot partition is the entire boot partition is 0 bytes. How do I specify / allocate some space on the data partition? I looked through the documentation but could not find it. I would assume it should be an Xflash command when writing the initial flash to the device.
Also I've been using the OTP with the AES loader. The AES loader is created and burned into OTP but I can't modify it since there is no source. Is this available or is there a way to store additional information into the OTP (serial number/mac address) and read it back out?
Often times I want to serialize the device and issue firmware updates to my customers but do not want the firmware update to overwrite the serialized data. It's best if I could write this into OTP and read out parts of the OTP but as a current workaround I can settle for writing into the data partition of the flash which wouldn't be erased with a firmware update.
Also I've been using the OTP with the AES loader. The AES loader is created and burned into OTP but I can't modify it since there is no source. Is this available or is there a way to store additional information into the OTP (serial number/mac address) and read it back out?
Often times I want to serialize the device and issue firmware updates to my customers but do not want the firmware update to overwrite the serialized data. It's best if I could write this into OTP and read out parts of the OTP but as a current workaround I can settle for writing into the data partition of the flash which wouldn't be erased with a firmware update.