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

    [SOLVED] Can't update OTA, MBEDTLS_ERR_SSL_ALLOC_FAILED

    Scheduled Pinned Locked Moved Pybytes IoT platform
    3 Posts 2 Posters 40 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.
    • B Offline
      BetterAuto Pybytes Beta
      last edited by BetterAuto

      Currently on firmware 1.20.2.r4, Pybytes 1.6.1. This is my first time trying Pybytes OTA on a WiPy 2.0.

      My first thought is this is because my device has only 512KB RAM, but LoPy and SiPy are supported and they only have that much. Just ordered some WiPy 3.0 yesterday and when they come I will try this again.

      I've emptied out the boot.py and main.py, this is a bare board. It connects to Pybytes and generates this error when I push 1.20.3.b3.

      >>> Requesting: manifest.json?current_ver=1.20.2.r4&sysname=WiPy&wmac=240ac400b1b6&ota_slot=0x1c0000 to software.pycom.io:443 with SSL? True
      Wrapping socket
      Error reading the manifest, aborting: [Errno -32512] MBEDTLS_ERR_SSL_ALLOC_FAILED
      
      1 Reply Last reply Reply Quote 0
      • B Offline
        BetterAuto Pybytes Beta
        last edited by BetterAuto

        Ah, here is the reason. "WiPy2, SiPy, and LoPy1 and are not supported anymore since they only have 4MB flash." That was unexpected because the latest non-beta firmware works fine, but I knew this was coming some day.

        Also, "No OTA support from Pybytes yet"

        I tried with the updater and it says, "Your hardware is not supported by this firmware package"

        https://forum.pycom.io/topic/7016/new-beta-release-v1-20-3-b3

        1 Reply Last reply Reply Quote 2
        • B Offline
          bri ona Banned
          last edited by

          This post is deleted!
          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