Main Site Documentation

I can't use file name "TEST.TXT" for Read-mode


#1

Dear member,

I am using ALFAT SoC USB board. Firmware version 2.0.0.
I’m currently having problem about file name “TEST.TXT” when read-mode.

When I mount an USB memory(Sundisk 4GB) as “U0:” (I U0:)
ALFAT returns !00.
The USB memory contains a two Text file called “TEST.TXT” and “TEST1.TXT”.

Then I send command “O 1R>U0:\TEST.TXT”.
ALFAT returns !21.

But, I send command “O 1R>U0:\TEST1.TXT”.
ALFAT returns !00.

So, I try to get directory entry using "@ " and “N” command.

[@ U0:]
!00

[N]
!00
TEST.TXT
$20
$00001388
!00

[N]
!00
TEST1.TXT
$20
$00001388
!00

“TEST.TXT” file is exist. But, I can’t open it for Read-Mode.
By the way, this file can be opened for W-mode and I can create a new file.
(Of course, usb memory is empty.)

[“O 1W>U0:\TEST1.TXT”]
!00

Please tell me the solution strategy.

Thanks.


#2

What do you see when you access the USB Flash with desktop computer? If you can see test1.txt and test.txt on the desktop computer, can you open them with notepad?