Q about MFS limitation on folder depth and number of open files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Q about MFS limitation on folder depth and number of open files

Jump to solution
1,187 Views
naftalir
Contributor III

Hi all,

Im having trouble openning few files simultaneously, when there is one file open and im writing into it, and then open a new file and writing to it (using the path: "mfs:folder1/sub_f/file1.001" for file 1, and "mfs:folder2/sub_f/file2.002") i have trouble with it,

getting kernel error uppon address out of scope.

anyone know the probably cause?

Thank you!!

Labels (1)
0 Kudos
Reply
1 Solution
940 Views
c0170
Senior Contributor III

Hello naftalir,

this might be a problem with TAD. Could you share code snippet?

Regards,

MartinK

View solution in original post

0 Kudos
Reply
5 Replies
940 Views
naftalir
Contributor III

Thanks Kojto,

I dont know what was exactly the error that caused it, but it fixed.. thank you :smileyhappy:

0 Kudos
Reply
940 Views
naftalir
Contributor III

P.S: Do i need open multiple mfs instances for each files?

i.e: 1) fopen("mfs1", NULL);

2) fopen("mfs2",NULL);

thanks again...

0 Kudos
Reply
940 Views
c0170
Senior Contributor III

Hello naftalir,

can you provide more details, share some code snippet if possible as well, when does the error occur. Sharing details speed up the process to get an answer here :smileywink:

I believe an application does not need to open more instances of MFS to handle more files.

Regards,

MartinK

0 Kudos
Reply
940 Views
naftalir
Contributor III

Hi Kojto,

My Scenario is this:

1. install esdhc->sdcard->partition manager->mfs

2. open file in path: "mfs:root1\sub1\file.001"

3. write to file opened above - leave it opened or close it - tried it both scenarios and the results are the same.

4. open new file in path: "mfs:root2\sub1\file.001"

5. Error message: "An Address outside of the KERNEL DATA area wa detected: 0x400b1000" (image attached)

Any clues? :/

Thanks...

0 Kudos
Reply
941 Views
c0170
Senior Contributor III

Hello naftalir,

this might be a problem with TAD. Could you share code snippet?

Regards,

MartinK

0 Kudos
Reply