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

    [SOLVED] How update LoPy firmware through PySense expansion board

    Scheduled Pinned Locked Moved Getting Started
    firmware updatelopypysense
    15 Posts 4 Posters 5.2k Views 4 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.
    • A Offline
      alvaroBT @jmarcelino
      last edited by

      @jmarcelino
      Thanks a lot.
      I'm going to buy a USB to TTL adapter (CP2104)

      1 Reply Last reply Reply Quote 0
      • A Offline
        alvaroBT @jmarcelino
        last edited by

        @jmarcelino
        How do I conect the CP2104? Does the next picture is correct?

        0_1497268278386_upload-d1354a6a-dc6b-4e65-ac38-390924bf05c7

        The DTR pin Where I do conect it?

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          livius @alvaroBT
          last edited by livius

          @alvaroBT
          No it is not correct
          DO not connect 5V and in the same time 3V3
          And also what is the level of signals from this CP2102 - have it some switch or jumper?
          e.g. this one have jumper
          alt text
          You need 3V3 level on TX/RX pins.
          DTR leave unconnected

          think about people first, then computers

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            alvaroBT @livius
            last edited by

            @livius
            ok, thanks.
            This is a correct version:
            0_1497268885860_upload-50614d7c-3c57-4984-a2eb-8c4aa54625b9

            Features:

            1. The embedded USB transceiver, without external circuit
            2. It contains the clock circuit, without an external circuit
            3. Reset circuit embedded on electricity
            4. Output voltage regulation can be within 3.3 V voltage
            5. Accord with the requirement of USB2.0 specification
            6. SUSPEND pin support USB state hung
            7. Asynchronous serial data bus controller interface compatible with all shake hands and modulation signal
            8. Support data format for the data of 8, 1, 2, and stop bit parity bit
            9. The connotation of the 512 - byte receive buffer and 512 words
            L 1 Reply Last reply Reply Quote 0
            • L Offline
              livius @alvaroBT
              last edited by livius

              @alvaroBT
              Rx from CP2102 connect to TX
              Tx from CP2102 to Rx

              And connect 5V to 5V pin on Lopy
              But still do not know what signal level is on Rx/Tx.
              I do not see any jumper to change level on Tx/Rx to 3V3.
              Are you sure it is capable to 3V3 level signals output?

              think about people first, then computers

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                jmarcelino @livius
                last edited by jmarcelino

                That module uses 3.3V levels (native to the CP2102 - modules with that chip that do 5V I/O have voltage translation like e.g. extra FET you can easily spot )

                @alvaroBT Connect 5V supply to LoPy 5V and RX/TX as @livius says.

                I'd still recommend the CP2104 and not the CP2102 because the CP2104 (or the new confusingly named CP2102N) will support faster programming rates, but just nitpicking and the CP2102 will do anyway.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  alvaroBT @jmarcelino
                  last edited by

                  @jmarcelino
                  Now only I have just one CP2102.
                  OK, then I use this connection:

                  CP2102 RX --> LoPy TX0 (P1)
                  CP2102 TX --> LoPy RX0 (P0)
                  CP2102 +5V --> LoPy 5V
                  CP2102 GND --> LoPy GND

                  0_1497274697587_upload-c277d745-408c-44c4-aa57-0e59aefbc7fd

                  0_1497274608635_upload-5c138cc6-8b3a-4890-ac94-31881b1b84db

                  Best Regards.

                  J 1 Reply Last reply Reply Quote 1
                  • J Offline
                    jmarcelino @alvaroBT
                    last edited by

                    @alvaroBT
                    Yes that's it!

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      alvaroBT @jmarcelino
                      last edited by

                      @jmarcelino
                      Thanks!!!

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fkoran
                        last edited by

                        This worked for me:

                        1_1510282504647_yellow_s.jpg
                        0_1510282504647_black_s.jpg

                        1 Reply Last reply Reply Quote 1

                        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