{"id":4751,"date":"2021-11-29T07:00:00","date_gmt":"2021-11-29T01:30:00","guid":{"rendered":"https:\/\/selfimagination.in\/tips\/?p=4751"},"modified":"2022-07-19T16:05:35","modified_gmt":"2022-07-19T10:35:35","slug":"nodemcu-failed-to-connect-to-esp8266-timed-out-waiting-for-packet-header","status":"publish","type":"post","link":"https:\/\/selfimagination.in\/tips\/nodemcu-failed-to-connect-to-esp8266-timed-out-waiting-for-packet-header\/","title":{"rendered":"NodeMcu : Failed to connect to ESP8266: Timed out waiting for packet header"},"content":{"rendered":"\n<p><strong>NodeMcu : Failed to connect to ESP8266: Timed out waiting for packet header<\/strong><\/p>\n\n\n\n<p>\u092f\u0926\u093f \u0906\u092a NodeMcu \u092a\u0930 \u0915\u094b\u0908 \u092d\u0940 IOT \u092c\u0928\u093e \u0930\u0939\u0947 \u0939\u0948\u0902 \u0924\u094b \u0939\u094b \u0938\u0915\u0924\u093e \u0939\u0948 \u0906\u092a\u0915\u094b Program \u0915\u094b Borad \u092e\u0947 Upload \u0915\u0930\u0924\u0947 \u0938\u092e\u092f \u0915\u0941\u091b \u0907\u0938 \u092a\u094d\u0930\u0915\u093e\u0930 \u0938\u0947 Error message \u0926\u093f\u0916\u093e\u0908 \u0926\u0947\u0928\u0947 \u0932\u0917\u0947 \u0964 <\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"314\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-28.png?resize=640%2C314&#038;ssl=1\" alt=\"\" class=\"wp-image-4752\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-28.png?resize=1024%2C502&amp;ssl=1 1024w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-28.png?resize=300%2C147&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-28.png?resize=768%2C377&amp;ssl=1 768w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-28.png?w=1115&amp;ssl=1 1115w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>Arduino: 1.8.8 (Windows 10), Board: &#8220;NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM\/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200&#8221;<\/p>\n\n\n\n<p>WARNING: Category &#8216;Network&#8217; in library lwIP_PPP is not valid. Setting to &#8216;Uncategorized&#8217;<br>WARNING: Category &#8216;Network&#8217; in library lwIP_enc28j60 is not valid. Setting to &#8216;Uncategorized&#8217;<br>WARNING: Category &#8216;Network&#8217; in library lwIP_w5500 is not valid. Setting to &#8216;Uncategorized&#8217;<br>WARNING: Category &#8216;Network&#8217; in library lwIP_w5500 is not valid. Setting to &#8216;Uncategorized&#8217;<br>Executable segment sizes:<\/p>\n\n\n\n<p>ICACHE : 32768 &#8211; flash instruction cache<\/p>\n\n\n\n<p>IROM : 250300 &#8211; code in flash (default or ICACHE_FLASH_ATTR)<\/p>\n\n\n\n<p>IRAM : 27309 \/ 32768 &#8211; code in IRAM (IRAM_ATTR, ISRs\u2026)<\/p>\n\n\n\n<p>DATA : 1520 ) &#8211; initialized variables (global, static) in RAM\/HEAP<\/p>\n\n\n\n<p>RODATA : 1120 ) \/ 81920 &#8211; constants (global, static) in RAM\/HEAP<\/p>\n\n\n\n<p>BSS : 30320 ) &#8211; zeroed variables (global, static) in RAM\/HEAP<\/p>\n\n\n\n<p>Sketch uses 280249 bytes (26%) of program storage space. Maximum is 1044464 bytes.<br>Global variables use 32960 bytes (40%) of dynamic memory, leaving 48960 bytes for local variables. Maximum is 81920 bytes.<br>esptool.py v3.0<br>Serial port COM1<br>Connecting\u2026\u2026..<strong><em><strong>\u2026..<\/strong><\/em><\/strong>\u2026..<strong><em><strong>\u2026..<\/strong><\/em><\/strong>\u2026..<strong><em><strong>\u2026..<\/strong><\/em><\/strong>\u2026..____Traceback (most recent call last):<br>File &#8220;C:\\Users\\&#8230;&#8230;&#8230;.\\hardware\\esp8266\\3.0.0\/tools\/upload.py&#8221;, line 66, in esptool.main(cmdline)<br>File &#8220;C:\/Users\/ &#8230;&#8230;&#8230;. \/esp8266\/hardware\/esp8266\/3.0.0\/tools\/esptool\\esptool.py&#8221;, line 3552, in main<br>esp.connect(args.before, args.connect_attempts)<br>File &#8220;C:\/Users\/ &#8230;&#8230;&#8230;. \/esp8266\/hardware\/esp8266\/3.0.0\/tools\/esptool\\esptool.py&#8221;, line 529, in connect<br>raise FatalError(&#8216;Failed to connect to %s: %s&#8217; % (self.CHIP_NAME, last_error))<br>esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header<br>esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header<\/p>\n\n\n\n<p>_<\/p>\n\n\n\n<p>This report would have more information with<br>&#8220;Show verbose output during compilation&#8221;<br>option enabled in File -&gt; Preferences.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution for NodeMcu Failed to connect to ESP8266: Timed out waiting for packet header<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Change Cabel<\/h3>\n\n\n\n<p><strong>\u092f\u0926\u093f \u0906\u092a\u0915\u094b \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 Error Appear \u0939\u094b \u0930\u0939\u0940 \u0939\u0948 \u0924\u094b \u0906\u092a  \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 Cable \u091a\u0947\u0915 \u0915\u0930\u0947 \u092f\u093e \u0915\u094b\u0908 \u0926\u0942\u0938\u0930\u0940 cabel \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947 <\/strong><\/p>\n\n\n\n<p>\u092e\u0947\u0930\u0947 \u0938\u093e\u0925 \u092d\u0940 \u092f\u0939\u0940 \u092a\u094d\u0930\u0949\u092c\u094d\u0932\u0947\u092e \u092f\u093e \u0930\u0939\u0940 \u0925\u0940 \u0913\u0930 \u092e\u093e\u0928\u093e \u0907\u0902\u091f\u0930\u0928\u0947\u091f \u0915\u0947 \u092c\u0939\u0941\u0924 \u0938\u0947 article Search \u0915\u0930 \u091c\u094b &#8211; \u091c\u094b \u092d\u0940 \u0909\u0928\u0915\u0947 \u0926\u094d\u0935\u093e\u0930\u093e \u092c\u0924\u093e\u092f\u093e \u0917\u092f\u093e \u0925\u093e \u0938\u092c \u0915\u093f\u092f\u093e \u0932\u0947\u0915\u093f\u0928 \u092b\u093f\u0930 \u092d\u0940 same Problem \u092f\u093e \u0930\u0939\u0940 \u0925\u0940 \u0964 <\/p>\n\n\n\n<p>\u091c\u092c \u0905\u0902\u0924 \u092e\u0947 \u092e\u0948\u0902\u0928\u0947 NodeMcu \u092e\u0947 \u0938\u0947 Cabel \u0915\u094b \u0928\u093f\u0915\u0932\u0940 \u0913\u0930 \u092b\u093f\u0930 \u0938\u0947 Program \u0915\u094b Upload \u0915\u093f\u092f\u093e \u0924\u094b \u092b\u093f\u0930 \u092d\u0940 Same \u0939\u0940 Error Apprear \u0939\u0941\u092f\u0940 \u0909\u0938\u0915\u0947 \u092c\u093e\u0926 \u092e\u0941\u091d\u0947 \u0938\u092e\u091d \u092e\u0947 \u0906\u092f\u093e \u0915\u0940 cabel \u0932\u0917\u093e\u0928\u0947 \u0913\u0930 \u0928 \u0932\u0917\u093e\u0928\u0947 \u092a\u0930 \u090f\u0915 \u0939\u0940 error \u0906 \u0930\u0939\u0940 \u0939\u0948\u0902 \u092f\u093e\u0928\u093f \u0915\u0940 \u0915\u0947\u092c\u0932 Connect \u0928\u0939\u0940\u0902 \u0939\u094b \u0930\u0939\u0940 \u0964 <\/p>\n\n\n\n<p>\u092f\u0926\u093f \u0906\u092a \u0910\u0938\u093e \u092e\u093e\u0928\u0924\u0947 \u0939\u0948 \u0915\u0940 Cabel \u0938\u0947 Mobile Charge \u0939\u094b \u0930\u0939\u093e \u0939\u0948\u0902 \u0924\u094b Cabel \u0938\u0939\u0940 \u0939\u094b\u0917\u0940 \u0910\u0938\u093e \u0928\u0939\u0940\u0902 \u0939\u0948\u0902 , Mobile Chargeing \u0915\u0947 \u0932\u093f\u090f \u0915\u0947\u0935\u0932 2 \u092a\u0949\u0907\u0902\u091f \u0915\u093e \u0939\u0940 \u0909\u092a\u092f\u094b\u0917 \u0939\u094b\u0924\u093e \u0939\u0948\u0902 , \u091c\u092c\u0915\u093f \u0939\u092e\u0947 Data Cabel \u0915\u0947 \u0932\u093f\u090f 4 Point \u0932\u0917\u0924\u0947 \u0939\u0948\u0902 , <\/p>\n\n\n\n<p>\u0907\u0938\u0932\u093f\u090f \u0906\u092a \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 Cabel \u0915\u094b \u0939\u0940 \u092c\u0926\u0932 \u0915\u0930 \u0926\u0947\u0916\u0947 <\/p>\n\n\n\n<p>\u092f\u0926\u093f \u0909\u0938\u0915\u0947 \u092c\u093e\u0926 \u092d\u0940 \u0928 \u0939\u094b \u0924\u094b Internet \u092a\u0930 Driver \u0938\u0947 \u0938\u0902\u092c\u0902\u0927\u093f\u0924 \u092c\u0939\u0941\u0924 \u0938\u0947 Article \u0913\u0930 Video \u0939\u0948\u0902 \u0909\u0928\u0938\u0947 \u0906\u092a\u0915\u093e \u0915\u093e\u092e \u0939\u094b \u091c\u093e\u090f\u0917\u093e\u0964 <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0939\u092e-\u0930-\u0905\u0928-\u092f-\u0906\u0930-\u091f-\u0915\u0932\"><strong>\u0939\u092e\u093e\u0930\u0947 \u0905\u0928\u094d\u092f \u0906\u0930\u094d\u091f\u093f\u0915\u0932<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-function\/\">MySQL Function<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-stored-procedure\/\">MySQL Stored Procedure<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/get-post-method\/\">PHP Get \/Post Method \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-math-function\/\">PHP Math Function \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/learn-cpp-from-c\/\">C \u0938\u0947 C ++ \u0938\u0940\u0916\u0947 \u0938\u0930\u0932 \u0936\u092c\u094d\u0926\u094b\u0902 \u092e\u0947\u0902<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-variables\/\">PHP Variable \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u091c\u093e\u0928\u0947<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/arduino-control-structure\/\">Arduino Control Structure<\/a>\u00a0<\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/c-union\/\">Union in C<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/c-pointer\/\">Declaration of Pointer in C<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/search-jquery\/\">jQuery Search Filter<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-table-create-alter-drop\/\">MySQL Create Table | Alter Table | Drop Table<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/api-using-node-react-express-mysql\/\">API Using NODE REACT EXPRESS MYSQL SEQUELIZE (For Backend OR Server Side)<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/cpanel\/\">CPANEL In Hindi<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>NodeMcu : Failed to connect to ESP8266: Timed out waiting for packet header \u092f\u0926\u093f \u0906\u092a NodeMcu \u092a\u0930 \u0915\u094b\u0908 \u092d\u0940 IOT \u092c\u0928\u093e \u0930\u0939\u0947 \u0939\u0948\u0902 \u0924\u094b \u0939\u094b \u0938\u0915\u0924\u093e \u0939\u0948 \u0906\u092a\u0915\u094b Program \u0915\u094b Borad \u092e\u0947 Upload \u0915\u0930\u0924\u0947 \u0938\u092e\u092f \u0915\u0941\u091b \u0907\u0938 \u092a\u094d\u0930\u0915\u093e\u0930 \u0938\u0947 Error message \u0926\u093f\u0916\u093e\u0908 \u0926\u0947\u0928\u0947 \u0932\u0917\u0947 \u0964 Arduino: 1.8.8 (Windows 10), Board: &#8220;NodeMCU 1.0 (ESP-12E Module), 80 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4757,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-4751","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/arduino-nodemcu-failed-to-connect-timeout.jpg?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/comments?post=4751"}],"version-history":[{"count":7,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4751\/revisions"}],"predecessor-version":[{"id":8733,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4751\/revisions\/8733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media\/4757"}],"wp:attachment":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media?parent=4751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/categories?post=4751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/tags?post=4751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}