hi all, I have created a folder ".fsmd" my problem is i cant create a file witin that folder.but if i change its name to"fsmd" it could create a file within it. i dont know why..please help

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

hi all, I have created a folder ".fsmd" my problem is i cant create a file witin that folder.but if i change its name to"fsmd" it could create a file within it. i dont know why..please help

1,118 次查看
abhijiths
Contributor I

:smileyhappy:

0 项奖励
回复
5 回复数

990 次查看
abhijiths
Contributor I

im using SDCard

0 项奖励
回复

990 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Today, I use TWR-K65F180M board do a test using KSDK V1.2 provides mfs example (located at C:\Freescale\KSDK_1.2.0\middleware\filesystem\mfs\examples\sdcard).

Below is the test hardware:

test.png

During my test, I find the mfs does support to create the folder with . prefix.

Below video shows the detailed test info (sorry for my input error command, I should input "type 3.txt" instead, which extend the video time).

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

990 次查看
abhijiths
Contributor I

Hi Hui_Ma,
   Thank you for  your kind reply. So we can create a file within a folder ( folder  name starts with "." (dot) ). is that your point?

0 项奖励
回复

990 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Yes, I tried to create a folder name starting with a dot and could do copy/type file to/at this folder.

Best regards,

Ma Hui

0 项奖励
回复

990 次查看
mjbcswitzerland
Specialist V

Hi

It is possible that the file system that you are using doesn't (correctly) support long file name (LFN).

See chapter 13 of http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF for details of LFN operation.

There is also a possibility that the handling is an option that needs to be enabled in the FAT library.

Regards

Mark

Kinetis: µTasker Kinetis support

utFAT2.0: http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 项奖励
回复