7 years, 1 month ago.

openUserFile problem STM32F411

Hello everyone!

I pass my concern. I can not record a file on the internal flash. The openUserFile function always returns me that the file could not be opened. (fd = -1)

mDot :: mdot_file file = dot-> openUserFile ("text.txt", mDot :: FM_CREAT | mDot :: FM_RDWR);

This would be the line of code I'm running.

Any idea what I can to be ignoring? Did anyone have experiences with that?

Thank you all.

Be the first to answer this question.