MTP - SD Read Only on Teensy 4.1

N5NHJ

Active member

Attachments

  • Screenshot 2026-07-12 144209.png
    Screenshot 2026-07-12 144209.png
    34.4 KB · Views: 27
No help, Is it possible I’m the only one seeing this issue? 🥺
This SD is only 128MB, can this be a problem?
Thank you, any suggestions is really appreciated.
Max
 
Test if the Teensy can write a file by itself ? You will know if the problem comes from the SD card, the Teensy or the library.
 
I got it working, more or less. The issue with editing and saving files on the SD card still remains, but I'm now assuming it's simply an MTP limitation.

Transferring files to and from the SD card works fine.

Kind of an off-topic question: is it possible to change the device name that appears in File Explorer from "Teensy" to something else?
Thank you, Max
 
I am able to save files to my SD card on my Teensy 4.1
1784480011216.png


I dragged the file copper_in_chain.jpg from local folder to the SD Card folder.
And it shows up in my picture viewer.
1784480234141.png


Note: MTP is not a normal file system, where you can edit the files and the like. It instead is a protocol that is known by windows and the like,
where you can get lists of files and the like and you can transfers files back and forth. You can not edit the files directly on your SD Card.

Now with some files and apps, there is an illusion created, like you are able to do so. That is when you double click on a file, it downloads it to your PC in some temp directory, brings up the appropriate editor and when you do a save, the file system notices that the file changed and then uploads the changed version to the Teensy...
 
Thanks @KurtE.
>>
Now with some files and apps, there is an illusion created, like you are able to do so. That is when you double click on a file, it downloads it to your PC in some temp directory, brings up the appropriate editor and when you do a save, the file system notices that the file changed and then uploads the changed version to the Teensy..
<<

That is indeed the part that doesn't work. Double click allows me to open the file - say with notepad, but the file can't be saved/overwritten to the SD directly. Needs to be saved somewhere else and then copied to the SD.
 
Back
Top