Esptool.py error wile uploading code

I get following error while uploading code:
"A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header"

if anyone knows please help me out.
i have changed the port, cable and even system, if there is any other possiblity please mention

I moved your topic to an appropriate forum category @irfan24.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.