Sorry I am not familiar with that board. That verbose setting will not fix it, just better tell us what is going wrong. use the copy button and past the entire block that is given showing the error. Be sure the correct board is selected.
Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
By "Arduino board", I meant the board you are using with Arduino. So now follow the instructions I provided. If seeing "Arduino board" in the instructions causes you some distress or confusion, then simply replace every occurrence of "Arduino board" in the instructions with "NODEMCU ESP8266 Board".
@ptillisch I DID WHATEVER YOU TOLD ME:-
1- WHEN I CONNECTED IT AGAIN I WAS NOT ABLE TO SEE ANY NEW PORT ALL I SAW WAS THE SAME OLD PORTS.HERE IS THE IMAGE:-
Select View > Devices by type from the Device Manager menus.
Open the "View" menu.
If there is a ✓ to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
Take note of the contents of the "Other devices" and "Ports (COM & LPT)" sections of the Device Manager tree.
Connect the Arduino board to your computer with a USB cable.
Select Action > Scan for hardware changes" from the Device Manager menus.
Did you see any new device appear in the Device Manager tree after doing this? If so, please tell us where it is located in the tree and what it is named.
You can repeat steps 5-8 multiple times if you are not sure.
@ptillisch I DID NOT SEE ANY NEW DEVICE IN DEVICE MANAGER. YOU TOLD ME TO CHECK IF A NEW DEVICE APPEARED IN PORTS (COM & LPT) AND OTHER DEVICES BUT THERE WAS NO NEW DEVICE.IMAGE:-
It was already mentioned by @johnerrington in post #7, but you didn't say whether you checked it, so I'll repeat:
Make sure the USB cable is completely plugged into both the Arduino board and the PC.
If that doesn't help, you may have a damaged/defective or charge-only USB cable. Try a different cable.
Either of the above can result in the power connections being made (and thus LEDs lit on the board), but no data connections (and thus no port for the board).
If you have another cable, switch to using the other cable, then check to see whether a new port appears after you connect the ESP8266 NodeMcu board to your computer with that cable.
If you don't have another cable, try connecting some other device to your computer with the current cable. If the computer recognizes that device while it is connected with the cable, then you will know that the cable is working correctly.
@ptillisch As you told me I changed the usb cable and as you asked me to do in post #11 it is showing me a new port in "Ports(Com & Lpt)" and the name is "USB-SERIAL CH340(COM5)". Now what to do next.
The first thing I recommend doing is attaching a label to the other cable that indicates it is a charge-only cable. This will ensure you don't suffer from the same confusion later.
After that, select COM5 from Arduino IDE's Tools > Port menu and try uploading the sketch to your ESP8266 board again. Hopefully everything will work as expected this time.
now here the last statement Hard resetting via RTS pin. is this a sign that the code is uploaded because i dont think so as in my blynk cloud the device is still offline.
Yes. You will also see a "Done uploading." notification that will tell you that the sketch was uploaded. The notification is automatically hidden after a few seconds, but you can see it if you open the "notification center" by clicking the bell icon at the right side of the status bar at the bottom of the Arduino IDE window:
It has some other cause. You can add some Serial.println calls at strategic points in your sketch, then open the Arduino IDE Serial Monitor while the sketch is running. That should give you some idea about what is going wrong.