Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    littlefs vs fatfs differences

    Scheduled Pinned Locked Moved WiPy 2&3
    12 Posts 3 Posters 411 Views 4 Watching
    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.
    • G Offline
      gt1 @robert-hh
      last edited by

      @robert-hh
      yes it was in the same folder. i have a complete folder i transfer over for our project so it is 100% identical to the same files running with the fatfs file system.

      this setup has been running over a year whenever we get new wipy in we normally just flash to the newest firmware and it runs fine with putting the files over.

      but this time i decided to try the littlefs firmware.

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @gt1
        last edited by

        @gt1 How did you verify that the files were actually stored in the file system. Did you run from the REPL something like:

        import uos
        uos.listdir("")

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gt1 @robert-hh
          last edited by

          @robert-hh
          I just looked at the files from filezilla. I looked in the folder and the file was there.
          i did not do the repl commands but i could try this.

          it was strange that it happened on all of the 5 or 6 wipy i tried.

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @gt1
            last edited by

            @gt1 FileZilla should be fine. Can you open the file from REPL, like:

            f = open("config.html")

            G 1 Reply Last reply Reply Quote 0
            • A Offline
              andreas
              last edited by

              Dear @gt1,

              if you like, you might want to try an unofficial firmware build [1] from our pen where we tried to mitigate some issues with LittleFS the other day.

              Let me know if this works for you.

              With kind regards,
              Andreas.

              [1] WiPy-1.20.2.rc3-0.8.0-vanilla-squirrel.tar.gz

              1 Reply Last reply Reply Quote 0
              • G Offline
                gt1 @robert-hh
                last edited by

                @robert-hh here is the screen shot of the dir and showing an error opening the config.html file
                which i tried opening the index file and it worked.

                a4337838-77d9-4cb8-a41d-3955f4ed9aa0-image.png

                A G robert-hhR 3 Replies Last reply Reply Quote 0
                • A Offline
                  andreas @gt1
                  last edited by

                  @gt1 From that screenshot, it looks like the file is called Config.html. Please note the capitalization of the first letter.

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gt1 @gt1
                    last edited by

                    @gt1
                    I just put a wipy that has fatfs firmware with the same folder/ files on it and ran this command f = open("config.html")
                    and it worked with no errors.

                    1 Reply Last reply Reply Quote 0
                    • robert-hhR Offline
                      robert-hh @gt1
                      last edited by

                      @gt1 The file name is "Config.html", you try to open "config.html". Could you try to rename the file to all lowercase letters. FAT is not case sensitive, but littlefs may be. Actually I am not sure.

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        gt1 @robert-hh
                        last edited by

                        @robert-hh @andreas Gentlemen thanks. that was it. i didnt notice the capital and since fatfs didnt care i didnt look at it.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom