Some bug in the SDK? #2339
Replies: 1 comment 12 replies
-
UPDATE: Initial investigation would point out to the WDT, which should being reset every second. While it might be a missed reset, it also might be a blocked call to |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've recently finished porting the H4Plugins framework into running RP2040, and I'll be having a topic here soon announcing that.
In an application, everything compiles and runs perfectly, but after ~30-50 minutes, an exception/abort happens.
The code runs AsyncWebserver and MQTT. Publishing to MQTT server some simple data periodically alongwith 13kB of data every 3 seconds, and that all works well, thanks to the developed networking libraries.
An error happens after a while in a call to
rp2040.getFreeHeap()
. Have tested with two different debug flags, and I insert some information that might assist in discovering the issue.The source code runs this with complete PlatformIO setup is availalbe in H4Plugins Environment for Pico.
Any glance?
Debug Information
FIRST:
debug_build_flags = -O0 -ggdb3 -g3
CALL STACK:
__malloc_update_mallinfo:
REGISTERS:
SECOND:
debug_build_flags = -Og -ggdb3 -g3
CALL STACK:
__malloc_update_mallinfo:
REGISTERS:
Beta Was this translation helpful? Give feedback.
All reactions