having Problem to uploading a code ESP32D (backside -ESP32 S)

when i uploading a code in ESP32D its giving Error like

esptool.py v2.6
Serial port COM8
Connecting......................................_____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

i was changed all the possible things like UPLoding Speed and board librires

plz Answer