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

    Firmware update gone wrong

    Scheduled Pinned Locked Moved LoPy
    5 Posts 2 Posters 3.3k 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.
    • J Offline
      jubbs
      last edited by

      I tried to update to the latest firmware which failed now my device can not boot. Cant factory reset with the G28 to VIN method. Get the following repeated in the console when I connect to the serial port. Is it recoverable?

      rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      flash read err, 1000
      Falling back to built-in command interpreter.
      OK

      ets Jun 8 2016 00:22:57

      rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      flash read err, 1000
      Falling back to built-in command interpreter.
      OK

      ets Jun 8 2016 00:22:57

      rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      flash read err, 1000
      Falling back to built-in command interpreter.
      OK

      ets Jun 8 2016 00:22:57

      rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      flash read err, 1000
      Falling back to built-in command interpreter.
      OK

      1 Reply Last reply Reply Quote 0
      • X Offline
        Xykon administrators
        last edited by Xykon

        The same thing happened to me and it shouldn't be hard to recover.

        You need to connect GND to G23 on the expansion board. When you do that you should see the following on the serial terminal (press the reset button on the module to make sure you get this message as you won't see it when you open the terminal program after plugging in the USB cable):

        rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
        waiting for download
        

        Make sure you download the latest firmware package.

        Now you can update using the command line option I posted here

        Christian Ehlers

        1 Reply Last reply Reply Quote 0
        • J Offline
          jubbs
          last edited by

          Got the waiting for download message OK.

          I managed to get the flash_debug.py to run OK

          The firmware update failed each time FAIL

          retried several times

          using firmware updater 0.9.2.b2a. ubuntu 16.04

          1 Reply Last reply Reply Quote 0
          • X Offline
            Xykon administrators
            last edited by

            Please run cd pyupgrade and then bin/updater.py -f firmware/lopy_0.9.2.b2_868.bin -p /dev/ttyUSB0

            Make sure to choose the correct COM port and firmware file.

            If you get any errors please post them here.

            Christian Ehlers

            1 Reply Last reply Reply Quote 0
            • J Offline
              jubbs
              last edited by

              I found the entry in the topic about changing the speed in updater,py and commenting out a line and now it works. I should have read all the comments.
              https://forum.pycom.io/topic/88/how-to-solve-the-firmware-update-failures/55

              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