2022-03-04
02:07 AM
- last edited on
2024-05-14
02:26 AM
by
Lina_DABASINSKA
If I then have to download 700 MBytes, I simply feel screwed. You have to be able to pack something like that into 5 kilobytes.
2022-03-04 05:24 AM
"stm32 eeprom emulation" turns up a bunch of stuff.
The X-CUBE-EEPROM software also exists and is considerably less than 700 MB.
Including your chip number in your post will produce better results.
2022-03-04 06:57 AM
You can browse most of the Cube repositories via GitHub
Not sure you're going to find entirely buildable packages of 5KB, but you should able to review the usage examples.
ST kind of assumes most people are beyond dial-up internet, certainly at a commercial/business level.
BitTorrent has been suggested in the past to allow for more robust delivery in areas with problematic connectivity.
I'm more for firing "software" people who can't code.
2022-03-04
07:53 AM
- last edited on
2024-03-28
04:39 AM
by
Lina_DABASINSKA
You didn't understand my criticism.
I was looking for a simple example to solve a specific problem.
In the meantime I have found a simple example in the net with which I can solve my task. That's about 50 lines of code, but not the EEProm emulation, but direct access to the flash memory to store some calibration data.
2022-03-04 11:25 AM
>>You didn't understand my criticism.
Perhaps, my first read of your question had me thinking you wanted to write 700MB files using EEPROM Emulation.
Using the FLASH directly to manage a few dozen configuration bytes, makes far more sense than using the EEPROM Emulation
2022-03-04 07:44 PM
...
2022-03-04 10:45 PM
It's correct. It wasn't about saving 700MB. My criticism was directed at program examples that are so large that they end up causing more confusion and unnecessary work than explaining anything.
I also didn't look for the EEProm emulation at first because I prefer to access the resources directly than to rely on foreign libraries. That's why I first looked for an example for direct access to the Flash. But then there were a lot of references without useful information and cryptic and mostly incomplete code examples.
What annoys me is that instead of meaningful information, you get things that obviously only serve the author for self-expression: According to the motto: "Oh, how great I am, I can deal with cryptic nested pointer operations and deeply staggered libraries".
What has helped me now is the youtube video and the code example by Victor Vano.
https://www.youtube.com/watch?v=5GhHpeRgceM
I don't think the code is perfect at all. e.g. the termination condition in the read loop must not be made like this,
but you see how it works, and it works.
2024-03-26 12:00 AM
thanks for your suggestion :)
I have updated my Lib. Please have a look.