<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WiFi can&#x27;t connect on 2017.6 basic core (works on Fire)]]></title><description><![CDATA[<p dir="auto">Very minimal sketch:</p>
<pre><code>void setup() {
  M5.begin(true,true,true,true);
  M5.Power.begin();
  WiFi.begin(ssid, password);
  M5.Lcd.println("TODO");
  delay(500);
}

void loop() {
  M5.update();
  delay(1000);
}
</code></pre>
<p dir="auto">Doesn't work on my old Core:</p>
<pre><code>18:35:52.956 -&gt; rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
18:35:52.956 -&gt; configsip: 0, SPIWP:0xee
18:35:52.956 -&gt; clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:35:52.956 -&gt; mode:DIO, clock div:1
18:35:52.956 -&gt; load:0x3fff0018,len:4
18:35:52.956 -&gt; load:0x3fff001c,len:1216
18:35:52.956 -&gt; ho 0 tail 12 room 4
18:35:52.956 -&gt; load:0x40078000,len:10944
18:35:52.956 -&gt; load:0x40080400,len:6388
18:35:52.956 -&gt; entry 0x400806b4
18:35:53.287 -&gt; M5Stack initializing...OK
18:35:53.751 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
18:35:53.751 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
18:35:57.790 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:35:57.790 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:01.862 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:01.862 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:05.901 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:05.901 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:09.941 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:09.941 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:14.014 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:14.014 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:18.053 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:18.053 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
18:36:22.091 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 5 - STA_DISCONNECTED
18:36:22.091 -&gt; [W][WiFiGeneric.cpp:391] _eventCallback(): Reason: 2 - AUTH_EXPIRE
</code></pre>
<p dir="auto">It works on Fire:</p>
<pre><code>18:40:11.811 -&gt; rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
18:40:11.811 -&gt; configsip: 0, SPIWP:0xee
18:40:11.811 -&gt; clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:40:11.811 -&gt; mode:DIO, clock div:1
18:40:11.811 -&gt; load:0x3fff0018,len:4
18:40:11.811 -&gt; load:0x3fff001c,len:1216
18:40:11.811 -&gt; ho 0 tail 12 room 4
18:40:11.811 -&gt; load:0x40078000,len:10944
18:40:11.811 -&gt; load:0x40080400,len:6388
18:40:11.811 -&gt; entry 0x400806b4
18:40:12.142 -&gt; M5Stack initializing...[W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.241 -&gt; [W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.341 -&gt; [W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.473 -&gt; [E][sd_diskio.cpp:194] sdCommand(): Card Failed! cmd: 0x00
18:40:12.473 -&gt; [W][sd_diskio.cpp:505] ff_sd_initialize(): GO_IDLE_STATE failed
18:40:12.473 -&gt; [E][sd_diskio.cpp:775] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
18:40:12.473 -&gt; [W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.539 -&gt; [W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.638 -&gt; [W][sd_diskio.cpp:169] sdCommand(): no token received
18:40:12.738 -&gt; [E][sd_diskio.cpp:194] sdCommand(): Card Failed! cmd: 0x00
18:40:13.069 -&gt; OK
18:40:13.201 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
18:40:13.201 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
18:40:15.353 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 4 - STA_CONNECTED
18:40:15.386 -&gt; [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 7 - STA_GOT_IP
18:40:15.386 -&gt; [D][WiFiGeneric.cpp:419] _eventCallback(): STA IP: 192.168.1.161, MASK: 255.255.255.0, GW: 192.168.1.254
</code></pre>
<p dir="auto">Any clue?</p>
]]></description><link>https://community.m5stack.com/topic/3150/wifi-can-t-connect-on-2017-6-basic-core-works-on-fire</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:39:10 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3150.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Apr 2021 16:37:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WiFi can&#x27;t connect on 2017.6 basic core (works on Fire) on Wed, 07 Apr 2021 06:15:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
Could you please include the imports at the beginning of the code? did you import the proper library?<br />
it seems that it says the SDCard failed, could you run the factory test image on your old core to see if you get any issues?</p>
]]></description><link>https://community.m5stack.com/post/13393</link><guid isPermaLink="true">https://community.m5stack.com/post/13393</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Wed, 07 Apr 2021 06:15:28 GMT</pubDate></item></channel></rss>