LoPy 1 does not boot

  • I recently got a LoPy with the expansion board and started testing it today. I updated the firmware and wrote some code that worked nicely. But now, after a couple of hours, the LoPy does not start.

    When I connect it to USB the green USB light lits up but there is no blinking blue light. Trying to set it to firmware update mode with GND-G23 jumper also didn't help (not detected by firmware updater).

    Is there any other way to do a hard reset? What could have gone wrong? Is my device defective?

  • @seb Tried different cables but still the same voltages. I am thinking I should send this back to where I bought it.

  • administrators


    Have you perhaps changed USB cables or USB ports, its possible that one of these is faulty and not delivering enough current to the module.

  • @robert-hh Weird but I'm back at it not booting properly again after a couple of days. Did not use it since last time.

    Measuring voltages I now get:

    VIn - GND = 5.2V
    3V3 - GND = 1.29V
    RST - GND = 1.3V

    2V missing. Do I have a broken voltage regulator somewhere?

  • @peterkz That looks good. Again, if you connect your device to the terminal (atom), connect G23 to GND, and push reset. Then you shouls see a message like:

    ets Jun  8 2016 00:22:57
    waiting for download

  • @robert-hh Measured voltages seem correct:

    VIn - GND = 5.2V
    3V3 - GND = 3.31V
    RST - GND = 3.29V

    But this is very weird. After measuring I was about to write that the LoPy seems dead but then I see the blue flashing light come on and now it booted! Did not touch it for several minutes and did not change anything?

    Sorry to bother you all. Not sure what changed (metal fragment short?, stuck reset button?)

  • Expansion board echos characters typed when bridging tx/rx without LoPy inserted. Will get voltage meter and check levels later. (thank you for replying to my newbie questions).

  • @peterkz If you pull of the LoPy and connect RX and TX at the jumpers, then everything you type at the Terminal (Atom) on you PC should be echoed. That's a simple test for the expansion board. It confirms that the USB/Serial bridge is working. If you have a voltage meter, check the voltage with the LoPy properly inserted at VIn, 3.3V and RST Pins of (for) the Lopy against GND. It should be about 5V at Vin, 3.3V at the 3.3V Pin and about 3.3V at the RST pin. Then you know that the LoPy is properly powered, the Regulator is working and the Deviec is not held in Reset.

  • @peterkz
    what if you connect only expansion board without lopy?

  • Same result when I power it up through a different USB cable. Maybe the expansion board is broken?

  • To clarify it is the LED marked "USB" on the expansion board that stays green. No LED light on the actual LoPy is lit. All jumpers on the expansion board are in place.0_1520149651861_lopy.jpg

  • @peterkz Yes, as terminal something like that atom thing. If the green LED stays, it means that the device starts the bootloader, but not the python app. Normally I would suggest to try a firmware update, but it seems like the communication via USB is broken. So try another USB cable. That typically would not prevent the firmware to start, but ats least it's worth a try. Also, look at the jumpers on the expansion board.

  • @robert-hh Do you mean a terminal like the one the Atom editor plugin provides? I get no output. The terminal just says "Connecting on /dev/cu.usbserial-DO003A44..." but it does not seem to go through. Reset button does nothing.

  • @peterkz Try to connect the device to a terminal and push the reset button (next to the RGB led). What do you get as output?

Log in to reply

Pycom on Twitter

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.