🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    sketch to mount M5Stack sd like a card reader do

    SOFTWARE
    5
    12
    17.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cepics
      last edited by

      Hi all,
      is it possible to run a sketch on M5Stack to use it like an USB card reader for internal sd card??

      the idea is to connect M5Stack to the pc with the usb c cable and mount the internal sd card like a removable disk ...

      tnks

      m5stackM 1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack @cepics
        last edited by

        @cepics It is theoretically feasible, but there is no case procedure for the time being

        1 Reply Last reply Reply Quote 0
        • C
          cepics
          last edited by

          tnks a lot for answering ...

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            You could copy the contents from the sd plugged into the m5stack via various software, but why would you want to do that rather than using a regular card reader?

            1 Reply Last reply Reply Quote 0
            • C
              cepics
              last edited by

              I'm looking for a sketch to use with SD updater so I can run the sketch connect usb cable to pc, mount the sd on pc and add .bin files without taking off and on the sd from/to M5Stack/pc....

              1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3
                last edited by

                So basically you are looking for an arduino version of adafruits micropython implementation.
                The problem is that Arduino sketches overwrites the firmware allowing access to all the cores.
                You would need to create a firmware that would stop bin files from overwriting the space used for the firmware.

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                1 Reply Last reply Reply Quote 0
                • C
                  crami25
                  last edited by

                  @cepics

                  Until now, there is no way to configure the M5Stack (Esp32) as a USB flash drive. It seems that Expressif will enable this feature with their new ESP32-S2.

                  Another possibility is to configure your M5Stack as a WiFi Web-Server using HTTP/HTML This gives you the possibility to upload and download files to your M5Stack SD-card using your web-browser on your pc. You see an example doing this watching

                  https://www.youtube.com/watch?v=1OkEXeRbq_M

                  Stay healthy
                  crami25

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cepics
                    last edited by

                    Hi, tnks a lot

                    right now no joy with:
                    this tutorial...

                    this is my serial monitor output, but I can't visualize server page...

                    Connecting ...
                    
                    Connected to myWifi Use IP address: 192.168.0.150
                    Initializing SD card...Card initialised... file access enabled...
                    HTTP server started
                    
                    

                    but in the browser:

                    This site can’t be reached192.168.0.150 took too long to respond.
                    Try:
                    
                    Checking the connection
                    Checking the proxy and the firewall
                    ERR_CONNECTION_TIMED_OUT
                    
                    

                    whats wrong?

                    1 Reply Last reply Reply Quote 0
                    • C
                      crami25
                      last edited by

                      @cepics Check if your computer and your M5Stack are in the same wifi network !

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cepics
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • C
                          cepics @crami25
                          last edited by

                          @crami25 pc and m5stack are on the same wifi network

                          1 Reply Last reply Reply Quote 0
                          • C
                            cepics @crami25
                            last edited by

                            @crami25
                            M5Stack_AP_SD_Uploader

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post