Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem was detected when using EEPROM. #33

Open
seok930927 opened this issue Dec 31, 2024 · 0 comments
Open

problem was detected when using EEPROM. #33

seok930927 opened this issue Dec 31, 2024 · 0 comments

Comments

@seok930927
Copy link
Contributor

seok930927 commented Dec 31, 2024

The code seems designed to save the MAC address in both EEPROM and Flash for better stability

However, the operation of the erase_storage() function is controlled by USE_EXT_EEPROM, which ends up deleting the data stored in the EEPROM.

As a result, the MCU cannot read the MAC address from the EEPROM, causing it to behave abnormally."

\Projects\S2E_Boot\src\PlatformHandler\storageHandler.c -- 76
image

The suggested solution is as follows:

  1. Disable the erase_storage(STORAGE_MAC) code.

  2. Make sure the MAC address is properly saved in both Flash and EEPROM. If one side's MAC address is missing, read it from the other side and sync them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant