so i purchased an arduino mega that has modified circuit with esp8266 integrated. it uses ch340 chip for communication with computer. when i connect it to the computer it recieves power but when i upload some code it does not upload and gives error:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Failed uploading: uploading error: exit status 1
plz help
thank you