Skip to content

Naked LGT8F328 crashes when writing to EEPROM #288

Answered by LaZsolt
alxgarza asked this question in Q&A
Discussion options

You must be logged in to vote

LGT8F328P ha no EEPROM. You could store data in a small part of the program flash with hardware / software emulated EEPROM functions.
You could rewrite those bytes which was empty (0xFF) before. If you want to rewrite the same byte you need to clear 1 KB program flash first.
This procedure is so complex that it is recommended to use the LGT EEPROM library.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vklimk
Comment options

@alxgarza
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants