EFFS SD Card Writing problem.
Posted: Fri May 16, 2008 8:00 am
I have some custom hardware with a SD card slot on it. I've
connected the SD card in the same way that it is connected on the
Netburner Devlopment Boards.
I've created a project using the EFFS-FTP example code to test, and
can read data from the SD card, but can't seem to write data to it.
This is what is happening on boot:
Waiting 2sec to start 'A' to abort
Configured IP = 192.168.2.10
Configured Mask = 255.255.255.0
MAC Address= 00:03:f4:02:d6:2d
===== Starting HydroTestFixture Program =====
FAT mount to SD/MMC successful
SD/MMC drive change successful
Current time: Wed Jun 14 11:35:00 2006
Formatted time string: 11:35:00 AM
Retrieving external flash usage...
Flash card memory usage (bytes):
252837888 total, 252493824 free, 344064 used, 0 bad
Found File [TESTFILE.TXT] : 75 Bytes
Found File [HISTORY.TXT] : 655 Bytes
Found File [RED] : 14445 Bytes
Found File [BLUE] : 13818 Bytes
Found File [INTRO] : 32835 Bytes
Found File [NOTE] : 24058 Bytes
Found File [ACT] : 17102 Bytes
Found File [CALL] : 25704 Bytes
Found File [DE] : 17763 Bytes
Found File [DONE] : 29048 Bytes
Found File [INT] : 35317 Bytes
Found File [TEST.TXT] : 28 Bytes
Creating test file: TestFile.txt
*** Error opening file "TestFile.txt", fp = 0
Started FTP Server
You can use Internet Explorer to drag and drop files to
url "ftp://192.168.2.10"
Long file names are not supported- only 8.3 format
It seems like that card is somehow read only since the TestFile.txt
file can't be written to the card. The SD card is not locked. Any
ideas??
connected the SD card in the same way that it is connected on the
Netburner Devlopment Boards.
I've created a project using the EFFS-FTP example code to test, and
can read data from the SD card, but can't seem to write data to it.
This is what is happening on boot:
Waiting 2sec to start 'A' to abort
Configured IP = 192.168.2.10
Configured Mask = 255.255.255.0
MAC Address= 00:03:f4:02:d6:2d
===== Starting HydroTestFixture Program =====
FAT mount to SD/MMC successful
SD/MMC drive change successful
Current time: Wed Jun 14 11:35:00 2006
Formatted time string: 11:35:00 AM
Retrieving external flash usage...
Flash card memory usage (bytes):
252837888 total, 252493824 free, 344064 used, 0 bad
Found File [TESTFILE.TXT] : 75 Bytes
Found File [HISTORY.TXT] : 655 Bytes
Found File [RED] : 14445 Bytes
Found File [BLUE] : 13818 Bytes
Found File [INTRO] : 32835 Bytes
Found File [NOTE] : 24058 Bytes
Found File [ACT] : 17102 Bytes
Found File [CALL] : 25704 Bytes
Found File [DE] : 17763 Bytes
Found File [DONE] : 29048 Bytes
Found File [INT] : 35317 Bytes
Found File [TEST.TXT] : 28 Bytes
Creating test file: TestFile.txt
*** Error opening file "TestFile.txt", fp = 0
Started FTP Server
You can use Internet Explorer to drag and drop files to
url "ftp://192.168.2.10"
Long file names are not supported- only 8.3 format
It seems like that card is somehow read only since the TestFile.txt
file can't be written to the card. The SD card is not locked. Any
ideas??