user52814: I have uploaded the BasicOTA sketch in Esp8266-12e. 
I am written one program, when i try to upload it first time in Esp using the OTA port it gets uploaded successfully, but when i try to upload any sketch after that it does not work.
The console responds with No Answer.
After searching on internet many people have asked to check the sketch size. To check if size matters or not i tried with blinking sketch, and same issue happens there too.
The sketch only gets uploaded in first time.
Can anyone guide me resolving this issue.

user4143: Things to check:

Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads.
Partition arrangement selected. You have to make sure that the partition arrangement you have chose supports OTA uploads.
You have to reset the ESP8266 manually after your USB upload. You can only do an OTA update to a sketch that has booted in "run" mode, not "boot" mode. 
You have the right IP address / hostname selected? (I don't know how that is handled in the Arduino IDE...)
You must upload an OTA-enabled sketch for OTA to continue working.


52814: <p>I have uploaded the BasicOTA sketch in Esp8266-12e. 
I am written one program, when i try to upload it first time in Esp using the OTA port it gets uploaded successfully, but when i try to upload any sketch after that it does not work.
The console responds with <code>No Answer</code>.</p>

<p>After searching on internet many people have asked to check the sketch size. To check if size matters or not i tried with blinking sketch, and same issue happens there too.</p>

<p>The sketch only gets uploaded in first time.</p>

<p>Can anyone guide me resolving this issue.</p>
 4143: <p>Things to check:</p>

<ol>
<li>Partition arrangement selected. You have to make sure to keep the same partition arrangement between uploads.</li>
<li>Partition arrangement selected. You have to make sure that the partition arrangement you have chose supports OTA uploads.</li>
<li>You have to reset the ESP8266 manually after your USB upload. You can only do an OTA update to a sketch that has booted in "run" mode, not "boot" mode. </li>
<li>You have the right IP address / hostname selected? (I don't know how that is handled in the Arduino IDE...)</li>
<li>You must upload an OTA-enabled sketch for OTA to continue working.</li>
</ol>
