PC Access to SD Card?

Status
Not open for further replies.

cebersp

Well-known member
Hi,
in a project I have running Teensy 4.1 with the internal SD-card 64GB and SDFat with ExFat.
Now I want to build the T4.1 into an enclosure. It is difficult to have USB AND SD-card accessible from outside. So I come to the question:

How can I access an SD-Card via USB from a Windows PC and do binary file transfers? For example *.WAV Files.

YMODEM would be nice perhaps?
Has anybody got Z-Modem running with USB-serial? https://forum.pjrc.com/threads/26646-Zmodem-transfer-from-Teensy-to-PC/page2?highlight=zmodem

I have seen this about RawHid, but it is not very encouraging for me: https://forum.pjrc.com/threads/67541-Serial-File-Transfer?highlight=zmodem

Thanks for some hints!
Christof
 
Thanks, yes this sounds like a future dream... Meanwhile I was looking for something very much simpler.

Minimum would be, that Teensy is controlling this and sends a file with known file name but unknown length.
 
Last edited:
Thanks, yes this sounds like a future dream... Meanwhile I was looking for something very much simpler.

Minimum would be, that Teensy is controlling this and sends a file with known file name but unknown length.

It is simply and working since years
the following is still working
https://github.com/WMXZ-EU/MTP_t4
you can also use @KurtE's fork, but he should advice on stable version

you can use mtp-basic example to see usage for nearly all Teensy filesystems
 
It is simply and working since years
the following is still working
https://github.com/WMXZ-EU/MTP_t4
you can also use @KurtE's fork, but he should advice on stable version

you can use mtp-basic example to see usage for nearly all Teensy filesystems

Thanks a lot for pointing me at this! I will try it. Sometimes it is hard to find things. Silly me had to google "MTP"....

Edit: Needs modifications of cores. Hm.
 
Edit: Needs modifications of cores. Hm.

Only if you wanted MTP + Serial
MTP + Seremu does NOT need mods to cores
BTW, I do it for all new TD Versions.
It does not change cores behaviour, only adds functionality

A PR to Paul's cores GitHub is only useful when Paul decides on a dedicated PID for MTP+Serial
So, we are still waiting, but SW is here in use for multiple years for both T3.6 and T4.1.
 
Any Code available?

Hm, wondering if you need it for yourself or if you are just kind of trying to educate me in this nice way?
I posted the link, if you have problems with it, just describe them in a more elaborate way.
There is more fun in these forums, when people are friendly.
Good day to you!
 
Hm, wondering if you need it for yourself or if you are just kind of trying to educate me in this nice way?
I posted the link, if you have problems with it, just describe them in a more elaborate way.
There is more fun in these forums, when people are friendly.
Good day to you!

@BriComp is generally a helpful and friendly type.
Seemed the ask was for Teensy code using the linked library to repro the efforts and success of YModem Teensy==>PC file transfer.
 
Status
Not open for further replies.
Back
Top