MQTT连接失败?不是flash太小了? ESP-01 貌似只有1M flash ?-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1751|回复: 2

[已解答] MQTT连接失败?不是flash太小了? ESP-01 貌似只有1M flash ?

[复制链接]
发表于 2021-2-9 21:27 | 显示全部楼层 |阅读模式
esp-idf soc 模式 。 。。 终于编译成功,烧写完成,运行也没报错,但貌似MQTT连接失败了?

ets Jan  8 2013,rst cause:2, boot mode3,6)

load 0x40100000, len 7168, room 16
tail 0
chksum 0xc0
load 0x3ffe8408, len 24, room 8
tail 0
chksum 0x29
load 0x3ffe8420, len 3548, room 8
tail 4
chksum 0x6d
I (43) boot: ESP-IDF v3.3-39-geb0047a5-dirty 2nd stage bootloader
I (43) boot: compile time 21:16:10
I (43) qio_mode: Enabling default flash chip QIO
I (52) boot: SPI Speed      : 40MHz
I (58) boot: SPI Mode       : QIO
I (64) boot: SPI Flash Size : 4MB
I (70) boot: Partition Table:
I (76) boot: ## Label            Usage          Type ST Offset   Length
I (87) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (99) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (110) boot:  2 factory          factory app      00 00 00010000 00200000
I (122) boot:  3 storage          Unknown data     01 82 00210000 00070000
I (133) boot: End of partition table
I (140) esp_image: segment 0: paddr=0x00010010 vaddr=0x40210010 size=0x88858 (559192) map
0x40210010: _stext at ??:?

I (341) esp_image: segment 1: paddr=0x00098870 vaddr=0x40298868 size=0x15910 ( 88336) map
I (372) esp_image: segment 2: paddr=0x000ae188 vaddr=0x3ffe8000 size=0x00694 (  1684) load
I (373) esp_image: segment 3: paddr=0x000ae824 vaddr=0x40100000 size=0x00a30 (  2608) load
I (383) esp_image: segment 4: paddr=0x000af25c vaddr=0x40100a30 size=0x059dc ( 23004) load
I (404) boot: Loaded app from partition at offset 0x10000
I (423) system_api: Base MAC address is not set, read default base MAC address from EFUSE
I (428) system_api: Base MAC address is not set, read default base MAC address from EFUSE
phy_version: 1163.0, 665d56c, Jun 24 2020, 10:00:08, RTOS new
I (489) phy_init: phy ver: 1163_0
I (492) reset_reason: RTC reset 2 wakeup 0 store 0, reason is 2
I (496) BlinkerApi: new widgets: btn-abc, _wCount_str: 1
I (506) BlinkerApi: Free memory: 90484 bytes
========================================================

__       __                __
/\ \     /\ \    __        /\ \              v0.1.0
\ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
  \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-freertos

    BLINKER_WIFI device init

========================================================
before btn init, heap: 90484
I (606) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:3
after btn init, heap: 89972
I (623) BlinkerApi: KEY: e530138*****
I (648) BlinkerMQTT: wifi_config: W***
I (652) BlinkerMQTT: esp_wifi_connect.
I (705) BlinkerApi: tap cb (PUSH), heap: 62572

I (778) wifi: state: 0 -> 2 (b0)
I (815) wifi: state: 2 -> 3 (0)
I (845) wifi: state: 3 -> 5 (10)
I (847) wifi: pm start, type: 1
I (6993) wifi: state: 5 -> 2 (fc0)
I (6995) wifi: pm stop
I (6997) BlinkerMQTT: Disconnect reason : 15
I (6999) BlinkerMQTT: initialise_wifi
I (7003) wifi: state: 2 -> 0 (0)
I (7009) BlinkerMQTT: Disconnect reason : 202
SC version: V2.8.2
I (10556) BlinkerMQTT: SC_STATUS_FINDING_CHANNEL

发表于 2021-2-10 09:17 | 显示全部楼层
不清楚是不是flash原因,但我们默认都使用4MB的8266,不建议使用1MB的
 楼主| 发表于 2021-2-10 09:48 | 显示全部楼层
奈何col 发表于 2021-2-10 09:17
不清楚是不是flash原因,但我们默认都使用4MB的8266,不建议使用1MB的

感谢回复,是我wifi配置错 。。 现在 BlinkerMQTT 能连上了。。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 15:57 , Processed in 0.070798 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表