Problem saving data in flash memory.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-18 12:11 AM
Hello, guys!
I have problem saving data in STM32L0's flash memory.
If I save the data twice in the same location it works fine.
If I save the data once CRC check fails - data writing goes wrong?!
I have attached my code.
Sorry for the "magic" numbers in the code!
Thank you!
This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-19 10:53 PM
I think that this is a processor issue - i found somewhere in the code that i need to check the processor version and if it is up to some version I have to ignore this error writting dummy byte and then i have to write the actual data.I will post the exact statements from the code - i have to find them it again.

- « Previous
-
- 1
- 2
- Next »