Closed malachib closed 4 weeks ago
@malachib Hi, can you provide an example that reproduces this issue? And contains the corresponding sdkconfig file. Thanks
Yes definitely - I am on the road will be back in a couple days and set it up
Here's a capture. Be sure to set CONFIG_ESP_SLEEP_POWER_DOWN_FLASH on: 23APR24.PGESP-49-2.tar.gz
Let me know if you need the example cut down more. I think it's succinct enough to clearly understand the issue.
@malachib bugfix_patch.zip After decompression, you will get the bugfix.patch file. Put the patch file into the idf (v5.1.3 commit e7771c75bd1dbbfb7b3c5381be7e063b197c9734) root directory. run "git apply bugfix.patch" My local test has passed. The final fix code awaits the release of the new version 5.1. Thanks.
My local test has passed. The final fix code awaits the release of the new version 5.1. Thanks.
Thank you for this! Will try it shortly
UPDATE
Works great! Thank you!
The final fix code awaits the release of the new version 5.1. Thanks.
@zhaoweiliang2021 Is this fixed in esp-idf ? If yes, please share the commit of the fix.
@AxelLin bugfix commits for this issue on version v5.1.4 : commit (12dca8d0866bc3276d69c9280841522a321b65fa) and commit (54a15b81f98692bafc062c729dd5b73fa98e51c2)
Answers checklist.
General issue report
While attempting BLE Advertise while using NimBLE, PM + Modem Sleep I run into problems. I'm following the lead of examples/bluetooth/nimble/power_save (which flashes and runs without incident)
When specifying advertising intervals other than 0 and CONFIG_ESP_SLEEP_POWER_DOWN_FLASH is set, I get a reset right after begin advertise:
If I turn off all the watchdogs, it changes to: