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

    1.20.2.r6 L01 Firmware image size exceeds avialable space

    Scheduled Pinned Locked Moved Firmware
    lopy
    2 Posts 1 Posters 71 Views 1 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.
    • C Offline
      Colateral
      last edited by

      Any idea how to fix it. L01 has 4MB

      b'1411796\t 363392\t  61540\t1836728\t 1c06b8\tbuild/LOPY/release/application.elf'
      b'IMAGE build/LOPY/release/lopy.bin'
      b'esptool.py v2.8'
      b'checking size of image'
      b'1797376 bytes => Firmware image size exceeds avialable space 1761280 on board!'
      b"application.mk:856: recipe for target 'release' failed"
      b'make: *** [release] Error 1'
      
      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Colateral @Colateral
        last edited by Colateral

        @robert-hh helped me on this. many thanx to him !!!!!!

        WE need to modify the tools/size_check.sh
        I did IMG_MAX_SIZE_4MB=1810000 (added in my case increased with ~40000 bytes from1761280 partition size)

        then
        go to boards/lopy/script_4MB and change factory and ota_0 size .. then otadata begin adress

        {
          "version" : "2.1",
          "partitions" : {
            "factory"   : ["0x10000", "0x1B9E50"],
            "ota_0"     : ["0x1CBE50", "0x1B9E50"],
            "otadata"   : ["0x1C9E50", "0x1000"]
            },
          "script" : [
              ["w", "bootloader", "bootloader.bin"],
              ["w", "partitions", "partitions_4MB.bin"],
              ["w", "factory", "lopy.bin"]
            ]
        }
        
        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