mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #430] Chroma 2.9" tag MAC address reset to 00000000 after flashing firmware 0x10 #3019
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @classabbyamp on GitHub (Jan 15, 2025).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/430
Originally assigned to: @skiphansen on GitHub.
Describe the bug
The tag MAC is zeroed after flashing the OEPL firmware
To Reproduce
Steps to reproduce the behavior:
cc-tool -e -w chroma29_full_0010.bin -vExpected behavior
The tag MAC should stay consistent
Screenshots
I now have at least 2 tags that have the same MAC, so the AP shows them as 1 but updates them both with the same image.
@skiphansen commented on GitHub (Jan 18, 2025):
If you encountered this when flashing the tag for the first time the EEPROM was probably already corrupt. We've seen this on a few TAGs recently.
I'll eventually add a Wiki page on recovering from a corrupted EEPROM, in the mean time this Python script can be used to patch chroma29_full_0010.bin with the correct SN for your tag and then you can reflash it to recover.
Please give it a try and let me know if you have any questions.
@classabbyamp commented on GitHub (Jan 23, 2025):
Thanks, that works. I wrote myself a short script to flash a bunch of tags with this patching script:
@skiphansen commented on GitHub (Jan 23, 2025):
Great, thanks for the feedback. I would be interested to know what percentage of your tags had corrupted EEPROMs.
@classabbyamp commented on GitHub (Jan 24, 2025):
I had ~5 do it so I started using the patching script for all of them. I've flashed ~20, had one get stuck with the wrong mac (accidentally flashed with the wrong number) but otherwise successful.
@skiphansen commented on GitHub (Jan 24, 2025):
As you have discovered the firmware only resets the SN if it's corrupt or the default, once it has a valid SN an update with a different SN is ignored.
We can recover that one as well, but not easily. My chroma_shell utility could be used to erase the first sector of the EEPROM and then you could reflash with a patched image again and you should be good to go.
If you want to do that you'll need a Linux system and a serial port connected to the tag.
@skiphansen commented on GitHub (Feb 1, 2025):
I've added documentation to the Wiki. Closing issue.