Get warning: espcomm_sync failed error: espcomm_open failed error: espcomm_uploa

I have spend many hours but I haven't still solved the problem

I'm using a ESP-01 with Arduino Uno and I have Win 7, 64. I have installed the Generic ESP8260 Module, version 2.3.0-rc2 from Boards Manager

When I upload a simple code from a tutorial then I get these errors:
Archiving built core (caching) in: C:\Users\Mypc\AppData\Local\Temp\arduino_cache_902557\core\core_esp8266_esp8266_generic_CpuFrequency_80,FlashFreq_40,FlashMode_dio,UploadSpeed_115200,FlashSize_512K64,ResetMethod_ck,Debug_Disabled,DebugLevel_None_____875870d2b307065ef675216daed8c292.a
Sketch uses 253693 bytes (58%) of program storage space. Maximum is 434160 bytes.
Global variables use 45308 bytes (55%) of dynamic memory, leaving 36612 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_open failed

Connection between Arduino and ESP-01:

What should I do to solve this problem ?

Normally RX-TX TX-RX is correct but you’re trying to use your Arduino as a USB-serial adapter so actually the correct connection is RX-RX, TX-TX.

I recommend you to buy a real USB-serial adapter board (make sure to get one that can be switched to 3.3 V) and use your Arduino as an Arduino. You can get the adapters for around $1 USD w/ free shipping and it’s a very useful tool. They also have USB adapters specifically made for ESP-01 that you can plug it right into.