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

    Atom lite does not work with OTA

    Atom
    atom lite arduino ota
    3
    4
    4.3k
    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.
    • K
      Kees
      last edited by

      I'm trying to update my home devices (atom lites) using OTA. However the simplest OTA examples do not work. All first it seems to work fine. The webserver can be reached, a .bin can be selected but it fails somewhere in the early phase of uploading to the device with the following error: abort() was called at PC 0x40081f82 on core 1. I also tried another OTA library; the ElegantOTA with the same problem. Anyone any experience with this? And perhaps a solution?

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @Kees

        have you tried with a different browser and/or OS?

        For me both OTA libraries ArduinoOTA and ElegantOTA work just fine using the provided examples.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 1
        • K
          Kees
          last edited by

          Hi Felix,

          Thank you very much. I did not expect this, but indeed the problem is the browser. I use Firefox as default browser (on Windows 11). I switched to MIcrosoft Edge for this and it works.
          Any idea what the reason is? I presume some extra bytes transferred, but why. Or/and is it about the way the webserver handles it?

          It took me quite some time and could take me much more time without your solution!

          Thanks again,
          Kees

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

            @kees No, its to do with the fact that not all browsers are written the same. for best results always use google chrome as its the most upto date with web development standards.

            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
            • First post
              Last post