-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload Config but Failed to save settings #290
Comments
Can you upload the configuration file to this issue please and I can test on my system. |
HelloStuart, here is my file, but i have a system what habe 3 Controller and all is the same proble but today i mak over the air a update from https://github.com/stuartpittaway/diyBMSv4ESP32/files/14179664/diybms_controller_firmware_experimental_bug276.zip |
Hello Stuart, |
The software from the “stateofhealth” branch then had no problem switching the WLAN on and off? If it's just the range problem, would a small, cheap repeater be a workaround for you? Stuart has also created a pull request from “stateofhealth”, there may be a new release soon. I would also test again, when installing the new software I would use the “erase-all” option for the ESP32. |
Hello, yes also in this version I become a restart from the cpu if it reconnect to wifi or disconnect. Not in all situation and all time. It can run 15 hours without problem or only 3 min. The wifi signal is round about - 70dbm. In Version 27.11.23 I have on the same time all 3 controllers have restarted if I disconnect my wifi repeater for example. At home I test it withe a test controller withe my phone as wifi ap for checking how version is good for me. |
Hi @Michi202020 How are you powering the ESP32 controller boards? I've seen the ESP reboot if the WIFI signal is poor as it pulls a large current from the power supply to try and connect to the access point. The "stateofhealth" version also saves the state of charge into flash memory so after a reboot it will recover the last known value - that should fix your problem of losing SoC after a reboot. Does the configuration restore correctly on the "stateofhealth" version? |
Hy Stuart,
Hello Stuart, i have a step down supply withe max 3a and nominal 1,5a. my meter have a voltage from connecting the wifi round about 15mv diffent from 5,1v. all my supplyer i setup to 5,1v not 5v. i also test it withe my laborsupplyer from 5,1v up to 4,3v and look what make the script but its not a different to the reboot the controller. i need round about 10 pcs from connect and disconnect from my hotspot to generate the error. This error is from 5,1v system. See below. |
The first one! Core 0 register dump: Backtrace: 0x401b8377:0x3ffe0f10 0x401b845c:0x3ffe0f60 ELF file SHA256: 2de7bfb4bfa9abf8 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)` and today!!!!!! I (100365) diybms: CAN STATUS: rx-q:0, tx-q:6, rx-err:0, tx-err:0, arb-lost:0, bus-err:0, state: RUNNING Core 0 register dump: Backtrace: 0x401b8377:0x3ffe0f10 0x401b845c:0x3ffe0f60 ELF file SHA256: 2de7bfb4bfa9abf8 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
| o |) |/| (_ |
Yep, thats the error most people report - another issue for that here... #276 I don't have a solution for that problem at the moment. |
OK I found this in the internet over this problem. Is this a help for you? |
Hello Stuart, i used chat gpt for this error and this is the answere and in my case the the position in the elf file. The error "Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled" on an ESP32 or similar microcontroller often indicates an invalid memory access, such as reading from or writing to an unassigned memory address. Here are some steps you can take to diagnose and resolve the issue:
makefile
Take the address 0x401b8377 and run the following command: Code kopieren
Accessing uninitialized pointers or memory regions. EXCVADDR: 0x00000000 indicates that the exception was caused by accessing address 0x00000000 (NULL pointer). Null Pointer Dereference: Ensure all pointers are initialized and not NULL before use. c void app_main() { Conclusion C:\Users\Admin\Downloads\diyBMSv4ESP32-stateofhealth\diyBMSv4ESP32-stateofhealth\ESPController.pio\build\esp32-devkitc> C:\Users\Admin\Downloads\diyBMSv4ESP32-stateofhealth\diyBMSv4ESP32-stateofhealth\ESPController.pio\build\esp32-devkitc> Is this interesting for you? |
soryy i am not a programmer but i think thats interesting! Based on the detailed analysis, the LoadProhibited error occurs within the handler_execute function, which is called by esp_event_loop_run. Let's focus on ensuring the safety and validity of the event handler operations within these functions. Here are the enhanced steps to troubleshoot and resolve this issue: Steps to Resolve the Issue Add Robust Null Checks: Increase Logging: Example: Adding Null Checks and Logging c
#ifdef CONFIG_ESP_EVENT_LOOP_PROFILING
#endif c
} return ESP_OK; |
Hello Stuart,
i have the problem that i can not restore my backup config. I have upload your last 3 Firmware from 27.12.2023 but in all i can not restore after upload my config. I upload my old config also i check it withe the same config what i store before i install the new firmware. i also check it with chrome, edge and more but all say to the upld file the failed to save settings. Only i save the config and on the same time i restor than he make it. What happen?
Best Regards
Michael .G
The text was updated successfully, but these errors were encountered: