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

    FW update over serial

    Scheduled Pinned Locked Moved LoPy
    3 Posts 2 Posters 1.1k 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.
    • W Offline
      wathoom Pybytes Beta
      last edited by

      Hi,

      Im trying to update fw (have 0.9.0b) but things dont go so good.
      Cant run pymakr (Debian pyqt4/5 issue). Transfering file over FTP doesnt work,
      And Im not sure how to connect serial cable (USB -to-serial) to the LoPy.
      I tried with connecting pin 2 (RX)of male db9 to P1 (TX)and pin 3(TX) to P0 (RX). Do i have to connect some other ports? Putting resistors somewhere? When trying to use screen /dev/ttyUSB0 115200 or 9600 it just hangs.

      Tnx

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

        You mentioned a DB9 cable... DB9 is usually used for RS232 which uses -12V/12V line voltages. You need either an RS232 <-> UART or USB <-> UART converter. You will damage your module if you connect it to 12V!

        If you indeed have a 3.3V UART adapter then you need to connect TXD to P0, RXI to P1, GND to GND and VCC to 3.3V. It might be that your UART module doesn't provide enough current on VCC to power the WiPy2/LoPy then you need an additional power supply.

        Christian Ehlers

        1 Reply Last reply Reply Quote 0
        • W Offline
          wathoom Pybytes Beta
          last edited by

          Tnx for reply.
          DB9 is on this USB -> Serial converter. I'll try to get USB -> UART cable. That is most obvious reason why it doesnt work.

          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