Coder Social home page Coder Social logo

Unable to boot my esp32. about ems-esp32 HOT 10 CLOSED

emsesp avatar emsesp commented on May 26, 2024
Unable to boot my esp32.

from ems-esp32.

Comments (10)

DeepCoreSystem avatar DeepCoreSystem commented on May 26, 2024

Hi, I had the same problem yesterday!

Unpacked a brand new D1 mini ESP32 with WROOM-32 and tried to flash the 2.2.0 firmware with the esptool. I thought I bricked it, because I got also the message in a loop you posted above!

My solution was to use the ESP Home Flasher tool ...
After this I had a working ESM-ESP 2.2.0 !!

from ems-esp32.

proddy avatar proddy commented on May 26, 2024

@crocchietta using esptool.py is tricky with the ESP32. I just copied what PlatformIO does. This is my script:

esptool.py --chip esp32 --port "COM3" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader_dio_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 EMS-ESP-2_2_0-esp32.bin

The files bootloader_dio_40m.bin, partitions.bin and boot_app0.bin can be found in the scripts folder.

It's great that you're using the ESP32. This is definitely the way forward. I'm working on 2.3 now which will be exclusive to the ESP32 and have a lot more features, like the ability to control the thermostat and boiler settings from the WebUI.

from ems-esp32.

crocchietta avatar crocchietta commented on May 26, 2024

@DeepCoreSystem : Thanks, I didn't know about this esphome project.

@proddy : thanks, it is working fine now.
It is therefore not possible to use what the documentation indicates in the "Via USB" part: https://emsesp.github.io/docs/#/Uploading-firmware
For a beginner with ESP, it is very misleading and confusing !

I have the idea later to modify the firmware to no longer use a wifi connection but rather wired. Do you think this is achievable with an ESP32? And turn off the wifi?
Or should we instead use something else (arduino, etc.)?

from ems-esp32.

proddy avatar proddy commented on May 26, 2024

Agree, I will update the documentation on how to upgrade. BBQKees has some pretty good notes on this too.

Adding Ethernet is on the to-do list of ESP32. I've been doing some testing using an Olimex board.

from ems-esp32.

DeepCoreSystem avatar DeepCoreSystem commented on May 26, 2024

@crocchietta : I learned about ESP Home Flasher Tool because of the WLED project and the problems I had there with esptool.py also.

from ems-esp32.

crocchietta avatar crocchietta commented on May 26, 2024

@ DeepCoreSystem : I haven't fully understood the usefulness of ESP Home yet. I'll have to read the documentation.
@ proddy : That's great. Is this card type: ESP32-POE?
I have an ELM Leblanc Mégalis (Heatronics3) with FR100 condensing boiler. I haven't tried ESP-EMs with it yet, hope it will work fine.

from ems-esp32.

bbqkees avatar bbqkees commented on May 26, 2024

@crocchietta Do NOT use any non-isolated POE board with the EMS bus!
48V POE is not so safe to use if you don't take precautions.
Also lot's of cheap Ethernet boards do not have sufficient filtering which might interfere with the bus as well.

from ems-esp32.

crocchietta avatar crocchietta commented on May 26, 2024

Ok, i take note of that.

I am trying to connect the ESP32 with the EMS interface boards v1. For TX and RX connections (interface card side), I wonder if I should use the ESP32 pins identified Txd and Rxd or other GPIO pins ?

from ems-esp32.

bbqkees avatar bbqkees commented on May 26, 2024

EMS-ESP for the ESP32 is pre set to:
TX: GPIO 5
RX: GPIO 23
Dallas: GPIO 18.

Depending on your board these might have different pin numbers.
You can also change the GPIO pins in the EMS-ESP setting menu.

from ems-esp32.

proddy avatar proddy commented on May 26, 2024

please re-open if you're still having issues.

from ems-esp32.

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.