Snippet - G120 internal EEPROM

I just posted G120 internal EEPROM on Codeshare. Feel free to discuss and make suggestions here.


Useful, thanks

@ Honken - thanks for sharing.

Just a comment, in usage your byte[] name is ‘storeData’ and after you use 'data.

Added a link to codeshare from the G120 Developers’ Guide … Thanks!! nice addition

@ PepLluis - Thanks! I have now updated the usage code.

the code does not work with the “netmf-and-gadgeteer-package-2014-r2-beta-3” SDK.
I could not add any “premium” called libraries and the “Register” class from the SDK does not have all required methods.

Could you update the code that it will work with the new SDK?


There is no premium word anymore since everything is a premium in 4.3

I would like to clarify the EEPROM use on the G120, specifically is there a chance that part of the program or the firmware can be damaged by bad write to the EEPROM? I guess I am trying to make sure using the built in EEPROM is safe in regards to the firmware and the application?

What is the worst that can happen if writing to a bad memory location? Is any problem only isolated to the EEPROM data?