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

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

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

734 Views
abhijiths
Contributor I

:smileyhappy:

0 Kudos
5 Replies

606 Views
abhijiths
Contributor I

im using SDCard

0 Kudos

606 Views
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 Kudos

606 Views
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 Kudos

606 Views
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 Kudos

606 Views
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 Kudos