Not applicable
May 27, 2016
06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 27, 2016
06:18 AM
Hello.
I would like to log to SD card some data. Application should work in RTOS environment.
So I opened file once in thread initiation section and then I wrote to the already opened file every let say 1 second
in thread body. So I had not to open the file and seek to its end every time. I excepted to be quicker.
It works, but when I add FTP_SERVER, there was a problem that servers did not work correctly (I was able to see only directories, not files).
When I closed the file every time after writing and opened it again before writing, the FTP_SERVER seems to work normally.
Is there any other solution for simultaneous access to file system from user application and FTP_SERVER?
Vladimír.
I would like to log to SD card some data. Application should work in RTOS environment.
So I opened file once in thread initiation section and then I wrote to the already opened file every let say 1 second
in thread body. So I had not to open the file and seek to its end every time. I excepted to be quicker.
It works, but when I add FTP_SERVER, there was a problem that servers did not work correctly (I was able to see only directories, not files).
When I closed the file every time after writing and opened it again before writing, the FTP_SERVER seems to work normally.
Is there any other solution for simultaneous access to file system from user application and FTP_SERVER?
Vladimír.
- Tags:
- IFX
3 Replies
Not applicable
Jun 03, 2016
01:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 03, 2016
01:44 PM
you can use lock.
Not applicable
Jun 07, 2016
05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 07, 2016
05:20 AM
shenj wrote:
you can use lock.
Could you be a little bit more specific?
Thanks.
Not applicable
Jun 07, 2016
12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 07, 2016
12:22 PM
hi Vladimir,
I had a similary problem. I could only open one fille at a time.
I solved it by changing "File Sharing Configuratuion" in AppDependency/FATFS/AdvancedSettings from 1 to 4.
best regards
torsten
I had a similary problem. I could only open one fille at a time.
I solved it by changing "File Sharing Configuratuion" in AppDependency/FATFS/AdvancedSettings from 1 to 4.
best regards
torsten