esp8266 update firmware error and problem while connecting with other routers

Hey there smart people!

I am a newbie and I am working on one of my projects on which I want to Install an esp8266 esp-01 wifi module with Arduino Uno. But, I have to have the latest or 1.5+ (or may be 1.6+) firmware of the esp8266. I watched several tutorials, read various articles about flashing the esp8266 with new firmware. I was trying to update the firmware into Release v2.1.0 · espressif/ESP8266_NONOS_SDK · GitHub this version of firmware using https://www.espressif.com/sites/default/files/tools/flash_download_tools_v3.6.4_0.rar this tool.

I have attached my Arduino Uno on the COM3 port with 115200 Baud rate. I specified all the bins and their respective addresses and the configured the COM3 port in the flash Updater with the baud rate. I had given +3.3V current to the esp8266 with my Arduino board and connected the TX to TX of Arduino and RX to RX of Arduino and also connected the CPIO0 pin to the ground.

But when I click on "Start", I get an error of "COM Failed".
I tried several times by changing some things but nothing positive happened.

Then I removed CPIO0 from the ground and gave a try to AT Commands (this time again with Arduino Uno).

Firstly I gave
AT+CWMODE=3
Then,
AT+CWJAP="my_ssid","mypswd"

So, it got connected with my WiFi but, after 3-4 secconds it showed "Fail Disconnected"

So, i couldn't even use AT+CIUPDATE command to update the firmware.

Please Please Please help me please.
It would be so great and kind of you and I'll always be grateful to you.

READ the following: https://www.allaboutcircuits.com/projects/flashing-the-ESP-01-firmware-to-SDK-v2.0.0-is-easier-now/ ; worked for me

.

Thank you so much for giving your attention.

I've already read this article but, the main problem for me here is I cannot arrange some of the parts used in that tutorial.

Please would you like to tell me about why is my WiFi module immediately disconnects from router or other ap(s) after the connection, also. And any remedy for it.

Any kind of help would be appreciated.

Thank You So Much