View Single Post
Old January 27th, 2015   #5
Junior Member
Join Date: Jan 2015
Posts: 10

Originally Posted by ericthegeek View Post
Can you store the values in EEPROM instead of flash?
Hell, my supervisor doesn't trust EEPROM in xMegas. He says there's been some incidents where valuable data (for example, start DMX address) in previous projects were lost, so internal flash is my only option.

As I see it, there's no way to make a well-designed responder with this configuration, I need to use external memory chip for this. With internal memory there's always will be some 8 ms cycles when responder will drop any messages while it refreshes values in flash.

It's even worse with SET_FACTORY_DEFAULT, when several parameters in different flash memory pages are adjusted which takes 8ms for each of this pages to erase and write.

Not sure about executing from one bank while writing to another. I'll check if this a possible operation on xMega. At least I am storing my parameters in special Apptable section of flash, not just somewhere in program section of it.

Thanks for the replies!
alvangee is offline   Reply With Quote