Teensy LC Issue with LittleFS
@Frank B asked about if we did any testing with Teensy LC (https://forum.pjrc.com/threads/64592...l=1#post266527) so I hooked up a LC to the littlefs_teensy_test1a sketch using a W25Q64FV to start and the sketch hangs on the first:
the preceding code seems to work to create the file and the directory:Code:file = myfs.open("structureData1/temp_test.txt", FILE_WRITE);
I did a erase just in case.Code:LittleFS Test
TotalSize (Bytes): 8388608
...............
started
MAKE files
printDirectory
--------------
DIR structureData1 /
0 dirs with 0 files of Size 0 Bytes
As a sanity check I ran SerialFlash BenchMark:
Just to make sure.Code:Raw SerialFlash Hardware Test
Read Chip Identification:
JEDEC ID: EF 40 17
Part Nummber: W25Q64FV
Memory Size: 8388608 bytes
Block Size: 65536 bytes
Reading Chip...
Writing 4096 signatures
Double Checking All Signatures:
all 4096 signatures read ok
Checking Signature Pairs
all 2047 signature pairs read ok
Checking Read-While-Write (Program Suspend)
write 256 bytes at 256
write time was 405 microseconds.
read-while-writing: 00 00 00 00 15 F5 95 4B
test passed, good read while writing
Checking Read-While-Erase (Erase Suspend)
erase time was 172754 microseconds.
erase correctly erased 65536 bytes
read-while-erasing: 00 00 00 00 15 F5 95 4B
test passed, good read while erasing
All Tests Passed :-)
Test data was written to your chip. You must run
EraseEverything before using this chip for files.