error: espcomm_upload_mem failed Let's Start Coding Spark Fun ESP8266 Thing

When I try to upload a project to my Let’s Start Coding SparkFun

ESP8266 Thing board, it gives me this:
Picture is in attachments

It was just a test, so the code is fairly simple, here it is without the stupid screenshot hard to see-ness:

//random arduino test
void setup(){
pinMode(12,OUTPUT);
}


void loop(){
digitalWrite(12,HIGH);
delay(2000);

digitalWrite(12,LOW);
delay(2000);
}

If it matters, I am working on a 2017 Surface Pro with an i5-7300U with Intel HD 620 and 8GB of RAM. I have a 256GB Toshiba SSD with Windows 10 Pro.

Before this, I was using the Let’s Start Coding software. It worked fine, should I just stick to that? It said LSC boards were Arduino compatible?

what if you unplug it and plug it in again... does it still fail the next time?

You will find some information on this error here:
https://arduino-esp8266.readthedocs.io/en/latest/faq/a01-espcomm_sync-failed.html

It might be helpful for us to have the full error output, rather than the small fragment visible in your screenshot. Please do this:

  • File > Preferences
  • Uncheck the box next to Show verbose output during: > compilation.
  • Check the box next to Show verbose output during: > upload
  • Click “OK”.
  • Sketch > Upload
  • After the upload fails you’ll see a button on the right side of the orange bar “Copy error messages”. Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).

Your error msg is a sign that your module is either not connected or not is 'flash' mode or that you do not have the proper board settings in the IDE.

How do I turn on Flash mode?

Deva_Rishi:
Your error msg is a sign that your module is either not connected or not is 'flash' mode or that you do not have the proper board settings in the IDE.

I just realized that the SparkFun ESP8266 Thing or Thing Dev is not the correct board. In Visual Studio Code, it detected it as that, but they look nowhere near the same. I have contacted the people who work at LSC, thank you for your time.