Closed akarimiz1 closed 1 year ago
For seeeduino xiao issue, please post it to their support forum/repo. Here we should focus on the qt py m0. Could you
this is not QTPY m0 but a custom board. Unfortunately, We don't have the hardware to reproduce and/or troubleshoot the issue. If your board has compatible issue with sdfat, maybe you could try to run a simpler example from SdFat, double check the config and/or enable its debugging log to troubleshoot.
Operating System
Windows 11
Arduino IDE version
arduino 18.13
Board
Adafruit QT py m0
ArduinoCore version
1.7.11
TinyUSB Library version
1.17.0
Sketch & Compiled output (as attached txt files)
\examples\MassStorage\msc_sdfat
Sketch uses 41884 bytes (15%) of program storage space. Maximum is 262144 bytes.
What happened ?
Hi, I have a QT py m0 (atsamd21e18a) board. I can run msc_ramdisk tinyusb version 1.17.0 on it. It works perfectly for me. Before that, I could run msc_sdfat (16Gb) on a seeeduino xiao (atsamd21g18a) on tinyusb version 0.10.5 ( I found on the internet that tinyusb version 0.10.5 only will work on seeeduino Xiao). but the problem is that I want to run msc_sdfat on QT py m0 (atsamd21e18a), the code compiles perfectly, and I upload it on the device. But the storage is not opening and OS shows this "please insert a disk into a removable device." I checked the connection sd card reader to QT py m0 by running this example program SD -> ReadWrite, and it works. But I checked it by Sdfat-adafruit fork -> open-next it doesn't work. Another point is I test QT py m0 by example program tinyusb msc_sd, the removable device opened, and I can open my files on it. But all options are not working. For instance, I can't copy a file into it. All examples tinyusb msc work perfectly on seeeduino xiao (tinyusb version 0.10.5) but do not work on QT py m0 (tinyusb version 1.17.0). last point, tinyusb version 0.10.5 doesn't compile on QT py m0.
How to reproduce ?
Debug Log
No response
Screenshots
No response