ESP8266 The code will not load

Hi all
I read this sample for connect ESP8266 to Arduino

but when I upload code in the board, show this error

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

and I read this sample for solved this problem but it had no effect

Many USB cables are for charging power only and will not transfer data. Does your USB cable transfer data for other purposes? Have you tried some other HIGH quality USB cables?

thank for answer
But I don't think this problem has anything to do with cable because when develop for arduino don't worry
But when upload in arduino connect to ESP8266 there is a problem
I tried other cable but the problem could not be solved

If you are using the same cable successfully for an Arduino but unsuccessfully for ESP8266 then the problem is unlikely to be the cable.

I did not know about the Arduino previously.

I have nothing else, sorry. Good Luck !