GithubHelp home page GithubHelp logo

Comments (5)

Samuel-0-0 avatar Samuel-0-0 commented on June 18, 2024

ERROR Error binary size: Error: ESP has been flashed with wrong flash size. Please choose the correct 'board' option (esp01_1m always works) and then flash over USB.

from phicomm_dc1-esphome.

duchenpaul avatar duchenpaul commented on June 18, 2024

board option 就是 esp01_1m 但还是不行

esphome:
  name: $device_name
  platform: ESP8266
  board: $board_model
  #状态恢复保持
  esp8266_restore_from_flash: yes

#----------------------------------------------------
  #指定编译临时文件存放位置
  build_path: build/$device_name

#--------------------- 只需要改这下面的内容 ---------------------
substitutions:
  #WiFi芯片版本,型号中带B的为csm64f02_b,不带B的为csm64f02
  board_model: esp01_1m
  #设备名称(多个dc1改成不一样的)
  device_name: phicomm_dc1_35132
  #WiFi_SSID名称

from phicomm_dc1-esphome.

duchenpaul avatar duchenpaul commented on June 18, 2024

esphome upload的时候提示

INFO Reading configuration dc1_homeassistant.yaml...
INFO Resolving IP address of phicomm_dc1_35132.local
INFO  -> 192.168.31.138
INFO Uploading build/phicomm_dc1_35132/.pioenvs/phicomm_dc1_35132/firmware.bin (401808 bytes)
ERROR Error binary size: Error: ESP has been flashed with wrong flash size. Please choose the correct 'board' option (esp01_1m always works) and then flash over USB.

dc1 TTL输出:

[C][version.text_sensor:015]:   Icon: 'mdi:information-outline'
[C][ota:029]: Over-The-Air Updates:
[C][ota:030]:   Address: phicomm_dc1_35122.local:8266
[C][ota:032]:   Using Password.
[C][api:095]: API Server:
[C][api:096]:   Address: phicomm_dc1_35122.local:6053
[C][wifi_signal.sensor:009]: WiFi Signal 'phicomm_dc1_35122 wifi_signal'

打开webserver试图从web 上传固件提示出错

[I][web_server_base:028]: OTA Update Start: firmware.bin
[W][web_server_base:021]: OTA Update failed! Error: ERROR[8]: Flash config wrong real: 1048576 IDE: 4194304

from phicomm_dc1-esphome.

Samuel-0-0 avatar Samuel-0-0 commented on June 18, 2024

没有遇到过类似情况,无法复现,希望有此类情况的提交一下log

from phicomm_dc1-esphome.

duchenpaul avatar duchenpaul commented on June 18, 2024

发现问题了 烧写的工具中未设置记忆体大小 默认4M, 用esptool 搞定

from phicomm_dc1-esphome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.