GithubHelp home page GithubHelp logo

Fatal Exception(28) about esp-homekit HOT 8 CLOSED

maximkulkin avatar maximkulkin commented on May 28, 2024
Fatal Exception(28)

from esp-homekit.

Comments (8)

maximkulkin avatar maximkulkin commented on May 28, 2024

It looks like you're using some old version of esp-homekit. You need to update your version and rebuild firmware.

from esp-homekit.

zach-ovic avatar zach-ovic commented on May 28, 2024

I have a clone of this repository and git pull says it's up to date. I even did git submodule update --recursive but nothing. Am I doing something wrong?

from esp-homekit.

carmanuelz avatar carmanuelz commented on May 28, 2024

I have de same error when exect make -C examples/led all :

Fatal exception (28):
epc1=0x4000228b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x000000b5, depc=0x00000000

I did git submodule update --recursive.

from esp-homekit.

maccoylton avatar maccoylton commented on May 28, 2024

Make sure you pull the every latest version of both esp-open-rtos and esp-HomeKit, both have improvements in memory management.

From what I’ve seen above message tends to be running out of heap space or your code trying to access a piece of memory it shouldn’t.

If you are running one of the demo’s unmodified then it will likely be the former.

BTW what chip are you compiling for ?

from esp-homekit.

carmanuelz avatar carmanuelz commented on May 28, 2024

I'm using ESP-8266 on this devkit:
esp_8266

from esp-homekit.

maccoylton avatar maccoylton commented on May 28, 2024

That model only has 1M of Flash according to this:- https://www.aliexpress.com/store/product/Official-DOIT-New-Version-1pcs-ESP-12N-Serial-Wireless-WiFi-Transmission-Module-Fully-Compatible-with-ESP8266/636052_32812237494.html

To build for this, you need to change SPIFLASH_BASE_ADDRESS see discussion here:- maximkulkin/esp-homekit-demo#5

from esp-homekit.

zach-ovic avatar zach-ovic commented on May 28, 2024

Ok, great. I think that we are getting somewhere with the flash size. Is it somehow possible to use some tool (probably esptool.py) to get flash size of currently connected chip? Sorry not to google it my self. But I'm on vacation and internet connection sucks here. But at the same time I don't want this discussion to die :)

from esp-homekit.

carmanuelz avatar carmanuelz commented on May 28, 2024

I solved the problem by adding a flag in the build process:
make -C examples/led all HOMEKIT_SPI_FLASH_BASE_ADDR=0x7A000
and in the make command to flashing
make flash FLASH_MODE=dout FLASH_SIZE=4
now it works correctly.
the model of my devkit is nodemcu 1.0 (esp-12e)
This model has flash size 4M (1M SPIFFS)

from esp-homekit.

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.