Skip to content
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

Cyclic "TG1WDT_SYS_RESET" (rst:0x8) after starting timelapse... #21

Open
dl9sec opened this issue May 2, 2023 · 4 comments
Open

Cyclic "TG1WDT_SYS_RESET" (rst:0x8) after starting timelapse... #21

dl9sec opened this issue May 2, 2023 · 4 comments

Comments

@dl9sec
Copy link

dl9sec commented May 2, 2023

Hi,

I built the code with the latest Arduino ESP32 BSP (2.0.8).
The browser UI and the camera stream works well so far. My 8GB SDHC was detected correctly.

As soon, as I started the timelapse recording, a new directory was added ("\lapseNNN") but then the ESP32 suddenly resets:

:
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
:

This was cyclically done (within a few seconds).

I couldn't find a programmatic solution for this.
The only workaround so far (thanks to bitluni for pointing me to the right direction) was to install version 1.0.6 of the ESP32 BSP.
It seems that later BSP-versions (>= 2.0.0) broke the correct function of the code.

Regards, Thorsten

@Aztec-C
Copy link

Aztec-C commented Jun 11, 2023

The actual fix is to add a "return ESP_OK;" to the startLapseHandler and stopLapseHandler routines in app_httpd.cpp.

@dl9sec
Copy link
Author

dl9sec commented Jun 12, 2023

Thank you very much for that hint, I will try it...

Regards, Thorsten

@dl9sec
Copy link
Author

dl9sec commented Jun 13, 2023

Great stuff! No unwanted resets anymore :-)
Thanks a million...

(Maybe bitluni could put those two lines into the source file...)

Regards, Thorsten

gorlitzer added a commit to gorlitzer/ESP32CamTimeLapse that referenced this issue Oct 13, 2023
@Grey-Lancaster
Copy link

Grey-Lancaster commented Feb 24, 2024

@dl9sec @Aztec-C
exactly what is the code for this The actual fix is to add a "return ESP_OK;" to the startLapseHandler and stopLapseHandler routines in app_httpd.cpp.
Thanks,
Grey

okay found it in 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants