@all - Not sure if this is the right place to post this. Anyway I just did a complete reinstall of Ubuntu 20.04. I installed Arduino 1.8.16 and TD 1.55 final. I compiled diskIOMB.ino without a problem but now it will not recognize the QPINAND device on the T4.1. So I compiled and tested it on my laptop with TD 1.55B2 and it see's and lists the QPINAND chip. Then I compiled the LittleFS Listfiles.ino modified to list the files on the QPINAND device. It failed with TD1.55 but worked with TD 1.55B2.
Output of failure:
Code:
Initializing QPINAND Chip
couldn't mount media, attemping to format
format failed :(
initialization failed!
...
[/QUOTE]
Using a T_4.1 with a NAND Flash it worked here to show the last files that media held from an Integrity test.
> Win 11, IDE 1.8.16 and TD 1.55
Only change was the [U]first line output showing SRC sketch name and compile time[/U]
[CODE][U]C:\T_Drive\tCode\littleFS\QSPI_NANDlist\QSPI_NANDlist.ino Sep 18 2021 14:25:14[/U]
Initializing QPINAND Chip
Space Used = 3801088
Filesystem Size = 131596288
Directory
---------
1_dir/
B_file.txt 2536
C_file.txt 3048
D_file.txt 7120
2_dir/
A_file.txt 21432
D_file.txt 10680
E_file.txt 12216
3_dir/
A_file.txt 14288
B_file.txt 7608
C_file.txt 9144
4_dir/
C_file.txt 6096
D_file.txt 7120
E_file.txt 8144
5_dir/
A_file.txt 7144
E_file.txt 4072
A_file.txt 7144
B_file.txt 5072
E_file.txt 4072
Returned to this working ...\hardware\teensy\avr\libraries\
LittleFS\examples\Integrity\QSPI\QSPI.ino changed to NAND {#define TEST_QSPI_NAND // NAND Flash}, did a Quick format and changed files.
Back to the above and it works:
Code:
[U]C:\T_Drive\tCode\littleFS\QSPI_NANDlist\QSPI_NANDlist.ino Sep 18 2021 14:33:57[/U]
Initializing QPINAND Chip
Space Used = 71041024
Filesystem Size = 131596288
Directory
---------
[B]0_2MBfile.txt 2048000
0_bigfile.txt 65513472
[/B]1_dir/
E_file.txt 4072
2_dir/
A_file.txt 7144
B_file.txt 2536
3_dir/
C_file.txt 3048
D_file.txt 3560
4_dir/
A_file.txt 14288
B_file.txt 5072
C_file.txt 6096
D_file.txt 7120
E_file.txt 8144
5_dir/
B_file.txt 2536
C_file.txt 3048
B_file.txt 2536
C_file.txt 3048