Files overwritten with MFS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Files overwritten with MFS

ソリューションへジャンプ
1,696件の閲覧回数
jonalvik
Contributor III


I have MFS mounted on a 32MB RAM device.

When creating and writing files I get a strange error, always the same error for same test set.

Test case:

- Create a directory

- write 63 files of 1KB named "a:\ev0\pc0" to "a:\ev0\pc62"

- read back and verify

Behavior:

- No error messages when creating and writing files

- before writing file "pc62" all files are present and ok.

- After writing file "pc62", file "pc46" is missing, size of "pc62" is 0 (fwrite reported 1KB)

- when listing files "pc62" is listed in the place "pc46" used to be"

The test is repeatable, also when varying file/directory names".

When extending the test to write larger number of files, the problem gets worse.

Is there some limitation to the number of files or naming of files?

My only idea so far is that this is some error inside MFS causing corruption.

/Jon

Using MQX 4.1.2

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,450件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Jon:

I think this issue is resolved in the latest MQX version, MQX4.2.0, with the MQX 4.2.0.2 patch, would you mind to check it?

Please download this package from the www.nxp.com/mqx

mqx.jpg

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,450件の閲覧回数
jonalvik
Contributor III

Same test with 128 files:

file 46 and 111 goes missing

file 62 and 127 is size 0 and replaces 46 and 111 in file list

Same test with 256 files:

file 46,111, 176 goes missing

file 62, 127 and 192 is size 0 and replaces 46 and 111 in file list

Tried changing files size to 1500 bytes, same result.

Seems to be a pattern

0 件の賞賛
返信
1,451件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Jon:

I think this issue is resolved in the latest MQX version, MQX4.2.0, with the MQX 4.2.0.2 patch, would you mind to check it?

Please download this package from the www.nxp.com/mqx

mqx.jpg

Regards

Daniel

0 件の賞賛
返信
1,450件の閲覧回数
jonalvik
Contributor III

I will try your suggestion.

Do I need the 4.2.0.1 patch?

Jon

0 件の賞賛
返信
1,450件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

No,  4.2.0.1 patch is included in 4.2.0.2

0 件の賞賛
返信