gravitymon icon indicating copy to clipboard operation
gravitymon copied to clipboard

Firmware for ESP32lite (FLOATY) does not work

Open EroshKA opened this issue 9 months ago • 7 comments

Firmware for ESP32lite (FLOATY) does not work. The latest working release is 1.4.1

EroshKA avatar Mar 22 '25 13:03 EroshKA

You need to give some more information, for example log output or similar. I dont have a device to test with so i can really see what is wrong.

mp-se avatar Mar 22 '25 13:03 mp-se

After flashing the latest release the access point is missing. The logs show the following:

ELF file SHA256: a56a11c556268429

E (708) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac

assert failed: void OneWireNg_ArduinoIdfESP32::initDtaGpio(unsigned int, bool) OneWireNg_ArduinoIdfESP32.cpp:155 (GPIO_IS_VALID_GPIO((int)pin) && GPIO_IS_VALID_OUTPUT_GPIO((int)pin))


Backtrace: 0x40084309:0x3ffe3a00 0x40097461:0x3ffe3a20 0x4009d1dd:0x3ffe3a40 0x400f2f23:0x3ffe3b70 0x400db3a4:0x3ffe3bb0 0x4011896b:0x3ffe3bd0 0x40083a1d:0x3ffe3c00 0x40079237:0x3ffe3c40 |<-CORRUPTED

EroshKA avatar Mar 22 '25 14:03 EroshKA

Ok, some crash in the onewire. Will need to build up a hardware setup and troubleshoot then. Will take some time to find this one

mp-se avatar Mar 22 '25 20:03 mp-se

I couldnt find my esp32 lite board but tested with an esp32 dev kit. It looks like the pin i selected for the temp sensors was not valid and thats the reason for the crash. I have chosen another pin so it looks like it starts now. I should probably disable all the onewire code for the lite build since its not used.

I have submitted a new build in the dev branch you can test out. I've doing some major refactoring to merge the code base with another project I'm working on so I have not tested it yet. But if this works I can see if I can create a patch for the latest release

mp-se avatar Mar 23 '25 08:03 mp-se

Thank you. Everything worked. I will try to test it in the next few days. I will report the results.

EroshKA avatar Mar 23 '25 15:03 EroshKA

You can find a fix of the 2.1 release here https://github.com/mp-se/gravitymon/tree/211/bin

mp-se avatar Mar 23 '25 19:03 mp-se

I have submitted a new build in the dev branch you can test out.

everything works great

EroshKA avatar Mar 25 '25 14:03 EroshKA