espcomm_upload_mem Failed
If anyone has used an ESP8266 you may have come accross this error before:
warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed I’ve come to realize the problem here is of two things:
The ESP is not in upload mode. There is not enough power to the ESP. Usually you upload code to the ESP and will try to upload again, but it is no longer in flash mode.