omi
omi copied to clipboard
Firmware - dk2 - SDCard handling issue
Describe the bug Current SDCard implementation is not able to handle read and write simultaneously( for example: 1 thread read only, 1 thread write only , filesystem will be failed)
Read only to avoid file corruption.
Could you guide me the progress to preproduce that issue ?
It seems the issue is related to a partial issue in the implementation.
When switching the file open mode to READ-ONLY, the problem appears.
It should always use READ-ONLY mode, because this code path only requires reading.
And another point: it seems there is a partial issue that was hidden by this unexpected behavior (closing the file twice?).