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

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
joergm6
Posts: 24
Joined: 03 Nov 2016 21:16

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

Post 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"?
Last edited by joergm6 on 09 Nov 2021 20:44, edited 1 time in total.
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: Z-Uno V2: EEPROM no longer works

Post 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.
joergm6
Posts: 24
Joined: 03 Nov 2016 21:16

Re: Z-Uno V2: EEPROM no longer works

Post 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
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: Z-Uno V2: EEPROM no longer works

Post by p0lyg0n1 »

Thanks,
I'll check it.
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: Z-Uno V2: EEPROM no longer works

Post 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).
joergm6
Posts: 24
Joined: 03 Nov 2016 21:16

Re: Z-Uno V2: EEPROM no longer works

Post by joergm6 »

Hi Alex,
a first quick test worked. :) :) Thank you for the quick solution to the problem. Very good support.
Post Reply