Please Help: error: espcomm_upload_mem failed

Hello all,

I am having a very frustrating time with my ESP32 (ESP32_Core_Board_V2). I got the esp from hackerboxes. I am also not sure if this is a NodeMCU or an ESP or they go by the same term??? The top of the chip says “ESP-WROOM-32”. I am also fairly new to arduino although being an IT Major, this is still complicated for me. When i try and upload the “Blink” sketch from the examples menu to verify my board is functional, i get this message:

warning: espcomm_send_command: didn’t receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Here is the screenshot of my board settings, i am also using Windows 10:

I want to note i have tried >>>> EVERYTHING:

-checked and changed cable NUMEROUS times
-Uninstalled and reinstalled the chip driver, Arduino IDE, Libraries, Board Configurations in board manager(Also tried different versions)
-I have 2 ESP’s and i get the same error on BOTH
-Tried different upload speeds
-Tried selecting different board types
-Tried every Programmer in the “Programmer” menu under “Tools”
-Tried connecting pin IO0 to GND with jumper
-Tried connecting pin IO0 to GND with resistor
-Tried rebooting my computer

There is also NO working solution for me on the internet anywhere, i have searched to the ends of the earth for weeks and have made absolutely no progress towards a solution. As a last result i am posting here to hopefully see a successful solution i can learn from without having to buy a brand new ESP. I would greatly appreciate any and all help.

Thanks

The Verbose output for the error message is as follows:

Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
Sketch uses 258604 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26696 bytes (32%) of dynamic memory, leaving 55224 bytes for local variables. Maximum is 81920 bytes.

C:\Users\Justin\AppData\Local\Arduino15\packages\esp8266\tools\esptool\2.5.0-3-20ed2b9/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM1 -ca 0x00000 -cf 

C:\Users\Justin\AppData\Local\Temp\arduino_build_360047/Blink.ino.bin 
esptool v0.4.13-1-gf80ae31 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
	setting board to nodemcu
	setting baudrate from 115200 to 115200
	setting port from COM1 to COM1
	setting address from 0x00000000 to 0x00000000
	espcomm_upload_file
	espcomm_upload_mem
	setting serial port timeouts to 1000 ms
opening bootloader
An error occurred while uploading the sketch
resetting board
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	espcomm_send_command: receiving 4 bytes of data
resetting board
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	espcomm_send_command: receiving 4 bytes of data
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
	espcomm_send_command: receiving 4 bytes of data
Uploading 262752 bytes from C:\Users\Justin\AppData\Local\Temp\arduino_build_360047/Blink.ino.bin to flash at 0x00000000
	erasing flash
	size: 040260 address: 000000
	first_sector_index: 0
	total_sector_count: 65
	head_sector_count: 16
	adjusted_sector_count: 49
	erase_size: 031000
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	setting serial port timeouts to 15000 ms
	read 0, requested 1
	setting serial port timeouts to 1000 ms
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
error: espcomm_upload_mem failed

A “NodeMCU 1.0 (ESP-12E Module)” is based on the ESP8266. Try selecting an ESP32 board,

https://dl.espressif.com/dl/package_esp32_index.json

Just tried what you suggested and attempted to upload the “Blink” sketch again using different board settings and no luck

Which ESP32 board did you select?

Load this into your IDE…

Pick this example…

https://examples.blynk.cc/?board=ESP32&shield=ESP32%20WiFi&example=GettingStarted%2FBlynkBlink

Chose this to flash it…

Set up your App…

Have fun learning…

Okay, i know this is and old discussion, but i think there has to be more guidance in setting up ESP32Vroom, cause for many begginers including myself the setup can be frustrating. The steps to setup the ESP32Vroom board correctly are:
1.Go to this repository: https://github.com/espressif/arduino-esp32.
2. Download the repository, and extract it.
3. Go to your arduino library folder(if you dont know where that is click File->Preferences and look at sketch locations).
4. When in libraries directory, create folder named Hardware. In hardware folder create folder named Espressif. Then in Espressif folder create folder Esp32. Copy the repository extracted files to Esp32 folder.
5.While in Esp32 folder go to tools(should be there when you copy repo files) and run file called get. Let it do its thing.
6. After this, run Arduino IDE, go to Tools->Boards and select ESP32 Dev Module.
7. Try uploading any sketch now(should work).

These steps are all from a godsent youtube video that better explains these steps. Heres the link to that video: https://www.youtube.com/watch?v=mJcxnaR08Dg