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

Watchdog task when connecting to WiFi #110

Open
SeijiH3N opened this issue Jun 6, 2024 · 1 comment
Open

Watchdog task when connecting to WiFi #110

SeijiH3N opened this issue Jun 6, 2024 · 1 comment

Comments

@SeijiH3N
Copy link

SeijiH3N commented Jun 6, 2024

The verbose works fine until the moment I connect it to a WiFi (either in STA mode or AP mode). I've tried changing the version of the Espressif and changing the defines configs but nothing seems to work. Could someone help me?

Here are the verbose while connecting:

<Idle|MPos:0.000,0.000,0.000|Bf:100,1023|FS:0,0|Pn:XYZHS>
<Idle|MPos:0.000,0.000,0.000|Bf:100,1023|FS:0,0|Pn:XYZHS>
I (59623) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (59623) wifi:station: 30:05:05:93:f6:c0 join, AID=1, bgn, 40U
[MSG:WIFI AP CONNECTED]
�[0;31mE (63683) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:�[0m
�[0;31mE (63683) task_wdt: - IDLE (CPU 1)�[0m
�[0;31mE (63683) task_wdt: Tasks currently running:�[0m
�[0;31mE (63683) task_wdt: CPU 0: IDLE�[0m
�[0;31mE (63683) task_wdt: CPU 1: tiT�[0m
�[0;31mE (63683) task_wdt: Print CPU 0 (current core) backtrace�[0m
Backtrace:0x4017D7AA:0x3FFB11900x40086ED1:0x3FFB11B0 0x4017F043:0x3FFBFCB0 0x4010B9E2:0x3FFBFCD0 0x4008E305:0x3FFBFCF0 0x40090085:0x3FFBFD10
�[0;31mE (63683) task_wdt: Print CPU 1 backtrace�[0m
Backtrace:0x40085C35:0x3FFB17900x40086ED1:0x3FFB17B0 0x4000BFED:0x3FFC8270 0x4008F169:0x3FFC8280 0x4008D941:0x3FFC82A0 0x40121ACB:0x3FFC82E0 0x4010F24C:0x3FFC8310 0x4010F307:0x3FFC8330 0x40090085:0x3FFC8360

And here are the PlatformIO configurations:

[platformio]
src_dir = main
include_dir = main

[wifi_networking]
build_flags =

[env:mks_dlc32_2_0]
platform = [email protected]
framework = espidf
board = esp32dev
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = dout
build_src_filter =
+<.h> +<.s> +<.S> +<.cpp> +<.c> +<.ino> +
-<.git/> - - -
board_build.partitions = partitions.csv
board_build.cmake_extra_args =
-DWIFI_ENABLE=1
-DSDKCONFIG_DEFAULTS= "sdkconfig.mks_dlc32_2_0"
-DKEYPAD_ENABLE=0
-DmDNS=ON
board_build.embed_files =
main/embedded/favicon.ico
main/embedded/ap_login.html
main/embedded/index.html.gz
build_flags =
-Wimplicit-fallthrough=1
-Wno-missing-field-initializers
-Wno-maybe-uninitialized
-Wno-stringop-truncation
-DBOARD_MKS_DLC32_V2P0=1
;-DWEBUI_INFLASH=1
-DN_AXIS=3
-DWIFI_ENABLE=1
-DN_AXIS=3
-DWEBUI_ENABLE=3
-DSDCARD_ENABLE=1
-DPROBE_ENABLE=1
-DBLUETOOTH_ENABLE=0
-DTELNET_ENABLE=1
-DWIFI_SOFTAP=1
-DSAFETY_DOOR_ENABLE=0
;-DKEYPAD_ENABLE=0
-DMDNS_ENABLE=1
-DDEFAULT_PROBE_SIGNAL_INVERT=1
-DDEFAULT_DIR_SIGNALS_INVERT_MASK=1

monitor_speed=115200

lib_compat_mode = off

@terjeio
Copy link
Contributor

terjeio commented Jun 7, 2024

When I build with IDF v4.4.3 station mode works for me (note that I cannot check the SD card as I only have access to a dev board). A web Builder build with IDF v4.3.2 (platform = espressif32 @ ~4.0.0) also works.

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

2 participants