🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    An Even Simpler Fix When Upload Fails

    FAQS
    3
    4
    10.3k
    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.
    • S
      ScottS
      last edited by ScottS

      If you are having trouble uploading your firmware, a low value non polarized capacitor on the RST line might help. I used a 0.068 uF ceramic cap because it was close by, but 0.1 uF is more standard and might be easier to find.

      If you connect one side to RST, the other can be connected to BAT, 3.3V, or GND.

      alt text

      You can't go wrong if you use a non polarized capacitor like shown here, but be super careful if you use a polarized capacitor. The polarity of the capacitor is opposite if you use RST/GND vs (RST/3.3 or RST/BAT). You can ruin the capacitor if you get it backwards. Polarized caps get damaged and become conductive if they are reversed. If you reverse one, best to throw it away.

      It doesn't seem intuitive to connect it to BAT or 3.3 instead of GND, but it basically does the same thing. The reason why I like BAT is because it's close to RST on the connector. I just plug it in, like a jumper whenever I need to program.

      1 Reply Last reply Reply Quote 2
      • m5stackM
        m5stack
        last edited by

        0_1519712214333_coreUploadFails.png

        1 Reply Last reply Reply Quote 1
        • S
          ScottS
          last edited by ScottS

          @m5stack

          You might be missing the point of my post. I did see your solution on the other thread. The reason why I'm avoiding your solution is that it requires some detailed SMT soldering. Many people don't have the ability, equipment, or components to do SMT rework. I do have an air rework station, but I still avoid doing SMT rework whenever I can.

          I'm still using my original solution (plugging a 0.1uF non polarized ceramic capacitor in the connector between RST and BAT) and it's worked perfectly for me. Do you see any problem with what I am doing? You just posted some pictures without text so I don't really know what your point is.

          JJJ 1 Reply Last reply Reply Quote 0
          • JJJ
            JJ @ScottS
            last edited by

            @scotts Hi Scott,

            I'm pretty sure that was just added as another possible fix.... without intending to suggest that there was anything wrong with your solution.... indeed I am about to follow your suggestion and add a ceramic cap to a proto board.

            Here's another approach again... very creative and neat. This is from the highly recommended macsbug website: https://macsbug.wordpress.com/2018/01/09/expansion-connector-of-m5stack/

            0_1519770259436_macsbug__m5_rst_pins_s2.png

            0_1519770304906_macsbug__m5_rsten_pin_s22.png

            1 Reply Last reply Reply Quote 0
            • First post
              Last post