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

    Uploading file at runtime crashes lopy4

    Scheduled Pinned Locked Moved Discussion
    upload failurewifi ap
    6 Posts 2 Posters 512 Views 2 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.
    • M Offline
      misterlisty
      last edited by

      Uploading file at runtime crashes lopy4. It happens very often, has it something to do with the py being too busy while i upload a file. Im uploading through ftp provided by the AP of the py.

      Should i stop execution on the py when i'm uploading the file? Im using filezilla on my computer to upload.

      1 Reply Last reply Reply Quote 0
      • P Offline
        Paul Thornton
        last edited by Paul Thornton

        Hello Misterlisty,

        Are you perhaps using Bluetooth in your app? We sometimes have issues with bluetooth blocking FTP updates. if so try and deinit bluetooth before upload.

        That said. your app running normally should not effect FTP even if its running without sleeping. FTP runs in a background task in parallel to user code.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          misterlisty @Paul Thornton
          last edited by Paul Thornton

          @paul-thornton It would be awesome if i could detect a ftp upload and turn off ble when this occurs?

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Paul Thornton @misterlisty
            last edited by

            @misterlisty

            Edit: Apologies. I replied to this but it seemed to come as an edit to your post instead.

            Have asked the team for suggestions on the best way to handle this. Is it possible to get a copy of the crash dump next time it fails for you? we would like to confirm it is actually caused by BLE.

            Paul

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              misterlisty @Paul Thornton
              last edited by

              @paul-thornton Sure, will upload next time it happens. Just curous, exactly what is the crash dump..is it something i can interpret?

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Paul Thornton @misterlisty
                last edited by

                @misterlisty

                Crash dumps contain some state about the device and running code at the point it had an error. with the right tools and source code you can see what was happening on the device when it crashed and try and locate the source of the error.

                Im not sure we have all the tooling to diagnose a crash dump public. Let me confirm with the team and check I could be wrong.

                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