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.
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.