Page 1 of 1

[solved] Z-Uno V2: EEPROM no longer works

Posted: 06 Nov 2021 22:01
by joergm6
Although it worked for a long time, I can no longer write to the EEPROM. The function is executed, after a reset all EEPROM memories are 0 again.
Because of some include problems and tests the Z-Uno was provided with factory reset and bootloader updates..... Apparently after that the EEPROM write was no longer possible, because shortly before it still worked.
Was anything in the Z-UNO accidentally overwritten so that no EEPROM is recognized anymore?
I hope the developers have an idea, or what can i do to get the standards again.

Edit: If I read the memory cell immediately after writing at runtime, everything seems ok (0<>255). But at reset the cells are 0.

Edit2: compiler.exe dumpNVM result only 13Byte-File content: 0x0: 3A303030303030303146460D0A :00000001FF..

btw:Is it correct that in the temp_directory/arduino_build_12334/core all *.cpp.o files contain the text "dummy"?

Re: Z-Uno V2: EEPROM no longer works

Posted: 08 Nov 2021 09:47
by p0lyg0n1
Hi,
Is it Z-Uno v2? You have named your post “Z-Uno V2…” and still use compiler.exe(it’s compatible with v1 only). Please provide some sample code. What adresses do you use? What is the version of core you use?

Best regards,

Alex.

Re: Z-Uno V2: EEPROM no longer works

Posted: 08 Nov 2021 13:06
by joergm6
compiler dumpNVM: I almost thought so. But it was only an attempt, there is no other information for the V2.
I start at 0x0 and use 3.0.7.
The code has always worked, from "one moment to the other" the EEPROM loses the content on reset/restart. (after experiment with factory reset, think)
The code is basically the same as per PM, but modified. I send you again this afternoon. Would be nice if you would just test it. But I think it is all correct... some serial.prints

Re: Z-Uno V2: EEPROM no longer works

Posted: 08 Nov 2021 21:11
by p0lyg0n1
Thanks,
I'll check it.

Re: Z-Uno V2: EEPROM no longer works

Posted: 09 Nov 2021 20:13
by p0lyg0n1
Thank you, joergm6! We have found this issue. It appears after complete NVM erase. The easiest way to avoid that is to upgrade to the latest beta-version 3.08B3. It's availiable in our beta-repository: http://z-uno.z-wave.me/files/z-uno2/pac ... index.json You can use both main and beta repositories simultaniosly (just select Z-Uno2 from needed category and upgrade bootloader).

Re: Z-Uno V2: EEPROM no longer works

Posted: 09 Nov 2021 20:40
by joergm6
Hi Alex,
a first quick test worked. :) :) Thank you for the quick solution to the problem. Very good support.