This topic contains 0 replies, has 1 voice, and was last updated by  Pontus Aurdal 1 year, 10 months ago. This post has been viewed 492 times

  • Author
    Posts
  • #1645
     Pontus Aurdal 
    Moderator

    When writing code for the LoPy that uses sleep or deep-sleep I’ve noticed that you can easily put your device into a running state which makes it hard to do serial communication over USB. This little trick will safe boot your LoPy and restore your firmware (as well as your code) to a previously stored state.

    1. Disconnect any power source and mount the LoPy to the expansion board.
    2. Connect a jumper-cable between P12 (written G28 on the expansion board) and 3V3.
    3. Connect a power source. The LED will flash in orange.
    4. Remove the jumper cable within 3 seconds to safe boot the current firmware.

    If you wait for more than 3 seconds a previously stored firmware will be chosen. If you wait 6 seconds the factory firmware will be chosen.

    You can read more about boot modes in the Pycom documentation.

You must be logged in to reply to this topic.

CONTACT US

Do you have any feedback? Please use the forum for technical support.

Sending

©2019 Telenor Start IoT - Privacy Policy

Log in with your credentials

Forgot your details?