fs_write failed #70163
Unanswered
AydinyanNarek
asked this question in
Q&A
fs_write failed
#70163
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Introdcution
I am using
STM32
microcontroller andZephyr
3.6.0 .My application logger logs data to the Ram-FS, instead of flash memory. (Flash memory has a fixed count of write operations).
I have created
Ram-FS(/etc and /tmp)
using FALSH_SIMULATOR.It looks like this.
Notes.
/opt
is using flash0 memory. (just skip this)Problems.
I am writing logs to
/tmp
directory usingstd::ofstream
fs_write
returns error code-22
which isINVALID ARGUMENT ERROR
and printing errno returnsThe Socket is not available
.Does someone have an idea about this ?
Beta Was this translation helpful? Give feedback.
All reactions