2023-05-30 3:15 AM - edited 2023-11-20 4:22 AM
Dear all, I have an issue that only impacts floats and doubles when converted to strings using snprintf which are then stored to an SD card. The save is run in a dedicated task using TouchGFX and I am disabling dcache before and re-enabling after saving. If I write standard strings or integers (converted to strings via snprintf), there is no issue, the task exits normally and returns to the save screen. If I attempt to save any float or a double, the program has a Memory Management fault (attached). However, the data has been written to the card successfully. Would anyone be able to point me to a solution?
2023-06-13 4:10 AM
Hello @JSext.1,
Could you please screenshot 0xE000ED28?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.