Open YaswanthKumarSaravanaKumar opened 1 year ago
Hi, Team is there any update on this topic?
Hi @YaswanthKumarSaravanaKumar,
Thank you for the report. Could you provide more information about your project?
your_project.map
file.set(EXCLUDE_COMPONENTS freemodbus)
to your CMakeLists.txt file (an example), then add the component manifest file to the main folder of your project. Once completed please clean the build and rebuild your project again.The issue happens when Modbus Slave server task tries to accept connection from your Master and then error happens in xMBTCPPortAcceptConnection()
. This should be indicated by Fail to accept connection for client #
error message in your log. This is usually related to incorrect configuration of Modbus network netif interface.
Please follow the steps above to proceed. Thank you.
Thanks Guys for your feedback. We'll update you as soon as possible.
Hi @alisitsyn It's been long time ,The actually the issue is from our side , we are using the modified rtu and tcp library not the updated one , after removing the modbus tcp to rtu bridge everything works fine.
@alisitsyn We are currently working on implementing the modbus tcp to rtu bridge is there any api function or source code available from the esp end .
@YaswanthKumarSaravanaKumar , thank you for the respond and sorry for the delays with answer. Unfortunately, currently I can not provide the complete and tested example of the bridge for now. I added it to my plan to provide the simple way for the bridge functionality in the stack and examples.
Thanks for the update @alisitsyn if there is any update please let me know , and if the poc has been completed please share the link with us .
Answers checklist.
IDF version.
v4.4.1
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP-32Wrover B|custom board
Power Supply used.
USB
What is the expected behavior?
Hi team actually we have been running the code to poll data for the desired configuration at specific intervals via modbus tcp , and also parallel the wifi AP+STA mode , STA mode used for network connection and also we use ap mode to configure some of the parameters via web server mode. the polling via modbus tcp is conducted at continuous 1sec intervals in long run device gets panic . I also track it down via core dump not able to find what is the root cause for this issue.
What is the actual behavior?
what is actually behavior expecting is continuous polling via modbus tcp at a 1sec interval without the device get panic. And we use modbus rtu to read the certain register and send those values to the web server. can you help in figuring out this issue?
Steps to reproduce.
My core dump log goes like :
[ERR ] [rooftopd_control.c:570 ] Unable to read inputs, skipping control loop Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump: PC : 0x40093fe8 PS : 0x00060a33 A0 : 0x80094a34 A1 : 0x3ffedf80 0x40093fe8: remove_free_block at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:214 (inlined by) block_locate_free at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:448 (inlined by) tlsf_malloc at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:757
A2 : 0x3ffe4364 A3 : 0x00000108 A4 : 0x3ffb3d08 A5 : 0x00060a23 A6 : 0x00060a20 A7 : 0x00000001 A8 : 0x3fff80c4 A9 : 0x0000001b A10 : 0x83fe0300 A11 : 0x00000004 A12 : 0x3ffe4364 A13 : 0x3ffd0d50 A14 : 0x007aefcc A15 : 0x003fffff SAR : 0x0000001d EXCCAUSE: 0x0000001d EXCVADDR: 0x83fe0308 LBEG : 0x4008bb31 LEND : 0x4008bb41 LCOUNT : 0xfffffffc 0x4008bb31: strlen at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strlen.S:84
0x4008bb41: strlen at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strlen.S:96
Backtrace:0x40093fe5:0x3ffedf800x40094a31:0x3ffedfa0 0x40081ba1:0x3ffedfc0 0x40081bc9:0x3ffedfe0 0x40081bf5:0x3ffee000 0x400961c6:0x3ffee020 0x400961e8:0x3ffee040 0x400ef3c0:0x3ffee060 0x4009251a:0x3ffee0a0 0x40093fe5: remove_free_block at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:212 (inlined by) block_locate_free at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:448 (inlined by) tlsf_malloc at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:757
0x40094a31: multi_heap_malloc_impl at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/multi_heap.c:197
0x40081ba1: heap_caps_malloc_base at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:147
0x40081bc9: heap_caps_malloc at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:167
0x40081bf5: heap_caps_malloc_default at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:192
0x400961c6: _calloc_r at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:65
0x400961e8: calloc at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:29
0x400ef3c0: vMBTCPPortServerTask at D:\code\FW_ZMX\build/../components/mfreemodbus/tcp_slave/port/port_tcp_slave.c:508
0x4009251a: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
ELF file SHA256: 441db8bf02b24219
Core dump started (further output muted) Received 54 kB... Core dump finished! espcoredump.py v0.4-dev
==================== ESP32 CORE DUMP START ====================
Crashed task handle: 0x3ffee128, name: 'tcp_server_task', GDB name: 'process 1073668392'
================== CURRENT THREAD REGISTERS =================== exccause 0x1d (StoreProhibitedCause) excvaddr 0x83fe0308 epc1 0x401031fb epc2 0x0 epc3 0x0 epc4 0x0 epc5 0x0 epc6 0x0 eps2 0x0 eps3 0x0 eps4 0x0 eps5 0x0 eps6 0x0 pc 0x40093fe8 0x40093fe8 <tlsf_malloc+300> lbeg 0x4008bb31 1074314033 lend 0x4008bb41 1074314049 lcount 0xfffffffc 4294967292 sar 0x1d 29 ps 0x60a23 395811 threadptr
br
scompare1
acclo
acchi
m0
m1
m2
m3
expstate
f64r_lo
f64r_hi
f64s
fcr
fsr
a0 0x80094a34 -2146874828
a1 0x3ffedf80 1073667968
a2 0x3ffe4364 1073628004
a3 0x108 264
a4 0x3ffb3d08 1073429768
a5 0x60a23 395811
a6 0x60a20 395808
a7 0x1 1
a8 0x3fff80c4 1073709252
a9 0x1b 27
a10 0x83fe0300 -2080505088
a11 0x4 4
a12 0x3ffe4364 1073628004
a13 0x3ffd0d50 1073548624
a14 0x7aefcc 8056780
a15 0x3fffff 4194303
==================== CURRENT THREAD STACK =====================
0 remove_free_block (sl=27, fl=4, block=, control=0x3ffe4364) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:214
1 block_locate_free (size=, control=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:448
2 tlsf_malloc (tlsf=0x3ffe4364, size=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:757
3 0x40094a34 in multi_heap_malloc_impl (heap=0x3ffe4350, size=263) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/multi_heap.c:197
4 0x40081ba4 in heap_caps_malloc_base (size=263, caps=6144) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:147
5 0x40081bcc in heap_caps_malloc (size=263, caps=6144) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:167
6 0x40081bf8 in heap_caps_malloc_default (size=263) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:192
7 0x400961c9 in _calloc_r (r=, nmemb=, size=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:65
8 0x400961eb in calloc (n=263, size=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:29
9 0x400ef3c3 in vMBTCPPortServerTask (pvParameters=) at ../components/mfreemodbus/tcp_slave/port/port_tcp_slave.c:508
10 0x4009251d in vPortTaskWrapper (pxCode=0x400ef248, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
======================== THREADS INFO ========================= Id Target Id Frame
==================== THREAD 1 (TCB: 0x3ffee128, name: 'tcp_server_task') =====================
0 remove_free_block (sl=27, fl=4, block=, control=0x3ffe4364) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:214
1 block_locate_free (size=, control=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:448
2 tlsf_malloc (tlsf=0x3ffe4364, size=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_tlsf.c:757
3 0x40094a34 in multi_heap_malloc_impl (heap=0x3ffe4350, size=263) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/multi_heap.c:197
4 0x40081ba4 in heap_caps_malloc_base (size=263, caps=6144) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:147
5 0x40081bcc in heap_caps_malloc (size=263, caps=6144) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:167
6 0x40081bf8 in heap_caps_malloc_default (size=263) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/heap/heap_caps.c:192
7 0x400961c9 in _calloc_r (r=, nmemb=, size=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:65
8 0x400961eb in calloc (n=263, size=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/newlib/heap.c:29
9 0x400ef3c3 in vMBTCPPortServerTask (pvParameters=) at ../components/mfreemodbus/tcp_slave/port/port_tcp_slave.c:508
10 0x4009251d in vPortTaskWrapper (pxCode=0x400ef248, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 2 (TCB: 0x3ffc6670, name: 'Tmr Svc') =====================
0 xQueueGenericSend (xQueue=0x3ffdf3d8, pvItemToQueue=0x0, xTicksToWait=0, xCopyPosition=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/queue.c:821
1 0x400fc3fa in uart_read_bytes (uart_num=, buf=0x3ffbff10 , length=80, ticks_to_wait=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/driver/uart.c:1305
2 0x400f0ff0 in shared_uart_receive (config=0x3ffc1204 <shared_uart_config+112>, resp=0x3ffbff10 \"\") at ../components/shared_uart/shared_uart.c:354
3 0x400f12bb in shared_uart_send_and_receive (shared_uart_num=1, req=, req_len=, resp=0x3ffbff10 \"\") at ../components/shared_uart/shared_uart.c:490
4 0x400dcb79 in modbus_rtu_master_send_and_receive (request=0x3ffc75b0 \"\001\004\320\033\", request_len=, response=0x3ffbff10 \"\", response_length=0x0) at ../main/mb_client_api/modbus_rtu_master.c:277
5 0x400dce5f in modbus_rtu_master_read_input_register (slave_id=1 '\001', reg_addr=, value=0x3ffc75fa \"\") at ../main/mb_client_api/modbus_rtu_master.c:592
6 0x400e256a in _read_inputs (inputs=0x3ffb8a74) at ../main/rooftopd/rooftopd_control.c:114
7 0x400e2a85 in rooftopd_control_loop () at ../main/rooftopd/rooftopd_control.c:567
8 0x400e3016 in rooftop_control_timer_task (rooftop_control_timer_task_handle=0x3ffcff2c) at ../main/rooftopd/rooftopd_control.c:835
9 0x4009231f in prvProcessReceivedCommands () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/timers.c:852
10 0x400923d6 in prvTimerTask (pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/timers.c:600
11 0x4009251d in vPortTaskWrapper (pxCode=0x400923c4, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 3 (TCB: 0x3ffc51b0, name: 'IDLE') =====================
0 0x4018f31a in esp_pm_impl_waiti () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:183
1 0x400d36e1 in esp_vApplicationIdleHook () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/freertos_hooks.c:63
2 0x400901ec in prvIdleTask (pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/tasks.c:3973
3 0x4009251d in vPortTaskWrapper (pxCode=0x400901e0, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 4 (TCB: 0x3ffc5c10, name: 'IDLE') =====================
0 0x4018f31a in esp_pm_impl_waiti () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:183
1 0x400d36e1 in esp_vApplicationIdleHook () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/freertos_hooks.c:63
2 0x400901ec in prvIdleTask (pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/tasks.c:3973
3 0x4009251d in vPortTaskWrapper (pxCode=0x400901e0, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 5 (TCB: 0x3ffd26a4, name: 'tiT') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffd17c8, pvBuffer=0x3ffd25e0, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x4011f822 in sys_arch_mbox_fetch (mbox=, msg=0x3ffd25e0, timeout=30) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/port/esp32/freertos/sys_arch.c:330
4 0x4010bceb in tcpip_timeouts_mbox_fetch (mbox=0x3fbe0b6c, msg=0x3ffd25e0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/lwip/src/api/tcpip.c:110
5 0x4010bd9e in tcpip_thread (arg=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/lwip/src/api/tcpip.c:148
6 0x4009251d in vPortTaskWrapper (pxCode=0x4010bd84, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 6 (TCB: 0x3ffc5054, name: 'main') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4009128c in vTaskDelay (xTicksToDelay=10) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400db9c4 in os_delay (ms=) at ../main/os_utils/os_utils.c:7
4 0x400db715 in app_main () at ../main/app_main.c:534
5 0x40194730 in main_task (args=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/port_common.c:129
6 0x4009251d in vPortTaskWrapper (pxCode=0x401946d4, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 7 (TCB: 0x3ffd63e8, name: 'mqtt_task') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4008f8dc in xQueueSemaphoreTake (xQueue=0x3ffd76d4, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x4011f742 in sys_arch_sem_wait (sem=0x3fbe4468, timeout=1000) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/port/esp32/freertos/sys_arch.c:188
3 0x4010b706 in lwip_select (maxfdp1=49, readset=0x3ffea408, writeset=0x0, exceptset=0x3ffea410, timeout=0x3ffea400) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/lwip/src/api/sockets.c:2153
4 0x400d4d56 in esp_vfs_select (nfds=49, readfds=0x3ffea408, writefds=0x0, errorfds=0x3ffea410, timeout=0x3ffea400) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/vfs/vfs.c:1005
5 0x40127e9b in base_poll_read (t=0x3ffdfe44, timeout_ms=1000) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/tcp_transport/transport_ssl.c:156
6 0x40190d2c in esp_transport_poll_read (t=0x3ffdfe44, timeout_ms=1000) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/tcp_transport/transport.c:206
7 0x400f3964 in esp_mqtt_task (pv=0x3ffdfc44) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/mqtt/esp-mqtt/mqtt_client.c:1507
8 0x4009251d in vPortTaskWrapper (pxCode=0x400f3630, pvParameters=0x3ffdfc44) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 8 (TCB: 0x3ffe3788, name: 'main_service') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4009128c in vTaskDelay (xTicksToDelay=35) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x400db9c4 in os_delay (ms=) at ../main/os_utils/os_utils.c:7
3 0x400dd9d1 in mbc_handle_attach_command () at ../main/mb_client_api/mb_client_api.c:636
4 0x400df74f in mbc_service_non_blocking (arg=) at ../main/mb_client_api/mb_client_api.c:683
5 0x400dab8f in main_service (arg=0x0) at ../main/app_main.c:169
6 0x4009251d in vPortTaskWrapper (pxCode=0x400dab0c, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 9 (TCB: 0x3fff1c3c, name: 'live_data_servi') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4009128c in vTaskDelay (xTicksToDelay=500) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400dabc1 in zn_live_data_create (arg=0x0) at ../main/app_main.c:186
4 0x4009251d in vPortTaskWrapper (pxCode=0x400dabb8, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 10 (TCB: 0x3ffe362c, name: 'rooftopd') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4009128c in vTaskDelay (xTicksToDelay=500) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x400db9c4 in os_delay (ms=) at ../main/os_utils/os_utils.c:7
3 0x400e1d87 in rooftopd_service (arg=) at ../main/rooftopd/rooftopd.c:285
4 0x4009251d in vPortTaskWrapper (pxCode=0x400e1b7c, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 11 (TCB: 0x3ffd37dc, name: 'ws_timer_task') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x40090fe8 in vTaskSuspend (xTaskToSuspend=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x400ebe15 in webserver_stop_task (arg=0x0) at ../main/webserver_api/webserver_api.c:863
3 0x4009251d in vPortTaskWrapper (pxCode=0x400ebe0c, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 12 (TCB: 0x3ffd7548, name: 'MQTT') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffe4bbc, pvBuffer=0x3ffbac3c, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400e5bb6 in mqtt_handle_message_task (arg=) at ../main/mqtt_api/mqtt_api.c:239
4 0x4009251d in vPortTaskWrapper (pxCode=0x400e5ba4, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 13 (TCB: 0x3ffef400, name: 'Modbus TCP Serv') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x40091da5 in xEventGroupWaitBits (xEventGroup=0x3ffe3a60, uxBitsToWaitFor=123, xClearOnExit=1, xWaitForAllBits=0, xTicksToWait=4294967295) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39#3 0x400ee1d0 in mbc_tcp_slave_check_event (group=(MB_EVENT_HOLDING_REG_WR | MB_EVENT_HOLDING_REG_RD | MB_EVENT_INPUT_REG_RD | MB_EVENT_COILS_WR | MB_EVENT_COILS_RD | MB_EVENT_DISCRETE_RD)) at ../components/mfreemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.c:130
4 0x400eda28 in mbc_slave_check_event (group=(MB_EVENT_HOLDING_REG_WR | MB_EVENT_HOLDING_REG_RD | MB_EVENT_INPUT_REG_RD | MB_EVENT_COILS_WR | MB_EVENT_COILS_RD | MB_EVENT_DISCRETE_RD)) at ../components/mfreemodbus/common/esp_modbus_slave.c:180
5 0x400ed1bd in mb_tcp_server_task (arg=) at ../main/mb_tcp_api/mb_tcp_server.c:70
6 0x4009251d in vPortTaskWrapper (pxCode=0x400ed1b4, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 14 (TCB: 0x3fff0734, name: 'OTA') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffd7854, pvBuffer=0x3fff0550, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400e9ec0 in ota_api_flash_task (arg=) at ../main/ota_api/ota_api.c:121
4 0x4009251d in vPortTaskWrapper (pxCode=0x400e9eb0, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 15 (TCB: 0x3fff1894, name: 'EOL') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffdf318, pvBuffer=0x3fff16b0, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400ea0b0 in eol_api_flash_task (arg=) at ../main/ota_api/ota_api.c:186
4 0x4009251d in vPortTaskWrapper (pxCode=0x400ea0a0, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 16 (TCB: 0x3fff2690, name: 'nw_reinit_task') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x40090fe8 in vTaskSuspend (xTaskToSuspend=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x400ea368 in reinit_NW (arg=0x0) at ../main/webserver_api/webserver_api.c:847
3 0x4009251d in vPortTaskWrapper (pxCode=0x400ea360, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 17 (TCB: 0x3fff7d90, name: 'nw_reinit_task') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x40090fe8 in vTaskSuspend (xTaskToSuspend=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400ea368 in reinit_NW (arg=0x0) at ../main/webserver_api/webserver_api.c:847
4 0x4009251d in vPortTaskWrapper (pxCode=0x400ea360, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 18 (TCB: 0x3ffd14ec, name: 'httpd') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4008f8dc in xQueueSemaphoreTake (xQueue=0x3fff23c8, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x4011f728 in sys_arch_sem_wait (sem=0x3fbfb5a0, timeout=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/port/esp32/freertos/sys_arch.c:184
3 0x4010b706 in lwip_select (maxfdp1=53, readset=0x3fff6980, writeset=0x0, exceptset=0x0, timeout=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/lwip/lwip/src/api/sockets.c:2153
4 0x400d4d56 in esp_vfs_select (nfds=53, readfds=0x3fff6980, writefds=0x0, errorfds=0x0, timeout=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/vfs/vfs.c:1005
5 0x401294a0 in httpd_server (hd=0x3ffd0e80) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_http_server/src/httpd_main.c:205
6 0x40129531 in httpd_thread (arg=0x3ffd0e80) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_http_server/src/httpd_main.c:250
7 0x4009251d in vPortTaskWrapper (pxCode=0x40129520, pvParameters=0x3ffd0e80) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 19 (TCB: 0x3fff7b2c, name: 'nw_reinit_task') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x40090fe8 in vTaskSuspend (xTaskToSuspend=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400ea368 in reinit_NW (arg=0x0) at ../main/webserver_api/webserver_api.c:847
4 0x4009251d in vPortTaskWrapper (pxCode=0x400ea360, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 20 (TCB: 0x3ffd3680, name: 'sys_evt') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4008f73d in xQueueReceive (xQueue=0x3ffd28cc, pvBuffer=0x3ffd3590, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x40193cb1 in esp_event_loop_run (event_loop=0x3ffd28b0, ticks_to_run=4294967295) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_event/esp_event.c:632
3 0x40193cc8 in esp_event_loop_run_task (args=0x3ffd28b0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_event/esp_event.c:115
4 0x4009251d in vPortTaskWrapper (pxCode=0x40193cbc, pvParameters=0x3ffd28b0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 21 (TCB: 0x3ffafb24, name: 'ipc0') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f8dc in xQueueSemaphoreTake (xQueue=0x3ffaf6c8, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400852f3 in ipc_task (arg=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_ipc/src/esp_ipc.c:54
4 0x4009251d in vPortTaskWrapper (pxCode=0x400852c4, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 22 (TCB: 0x3ffe3ccc, name: 'modbus_tcp_slav') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffee38c, pvBuffer=0x3ffed040, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x400ee90b in xMBPortEventGet (peEvent=0x3ffed040) at ../components/mfreemodbus/port/portevent.c:117
4 0x400ee4b0 in eMBPoll () at ../components/mfreemodbus/modbus/mb.c:355
5 0x400ee2c6 in modbus_tcp_slave_task (pvParameters=) at ../components/mfreemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.c:49
6 0x4009251d in vPortTaskWrapper (pxCode=0x400ee298, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 23 (TCB: 0x3ffafd88, name: 'ipc1') =====================
0 0x40087428 in esp_crosscore_int_send_yield (core_id=1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
1 0x4008f8dc in xQueueSemaphoreTake (xQueue=0x3ffafd30, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
2 0x400852f3 in ipc_task (arg=0x1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_ipc/src/esp_ipc.c:54
3 0x4009251d in vPortTaskWrapper (pxCode=0x400852c4, pvParameters=0x1) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 24 (TCB: 0x3ffc34c4, name: 'esp_timer') =====================
0 0x4000bff0 in ?? ()
1 0x400927bd in vPortClearInterruptMaskFromISR (prev_level=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/include/freertos/portmacro.h:571
2 vPortExitCritical (mux=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:319
3 0x40091849 in ulTaskGenericNotifyTake (uxIndexToWait=0, xClearCountOnExit=1, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/tasks.c:5387
4 0x400da3a7 in timer_task (arg=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_timer/src/esp_timer.c:384
5 0x4009251d in vPortTaskWrapper (pxCode=0x400da398, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
==================== THREAD 25 (TCB: 0x3ffda268, name: 'wifi') =====================
0 0x40087416 in esp_crosscore_int_send (core_id=, reason_mask=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:127
1 0x40087428 in esp_crosscore_int_send_yield (core_id=0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/crosscore_int.c:144
2 0x4008f73d in xQueueReceive (xQueue=0x3ffd8174, pvBuffer=0x3ffda1b0, xTicksToWait=) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/hal/esp32/include/hal/cpu_ll.h:39
3 0x40108528 in queue_recv_wrapper (queue=0x3ffd8174, item=0x3ffda1b0, block_time_tick=4294967295) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_wifi/esp32/esp_adapter.c:373
4 0x4009794c in ppTask () at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/freertos_hooks.c:39
5 0x4009251d in vPortTaskWrapper (pxCode=0x40097920, pvParameters=0x0) at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/port.c:131
======================= ALL MEMORY REGIONS ======================== Name Address Size Attrs .rtc.text 0x400c0000 0x0 RW .rtc.dummy 0x3ff80000 0x0 RW .rtc.force_fast 0x3ff80000 0x0 RW .rtc.data 0x50000000 0x10 RW A .rtc_noinit 0x50000010 0x0 RW .rtc.force_slow 0x50000010 0x0 RW .iram0.vectors 0x40080000 0x403 R XA .iram0.text 0x40080404 0x1b13f R XAException in thread Thread-1: Traceback (most recent call last): File "threading.py", line 932, in _bootstrap_inner File "threading.py", line 870, in run File "subprocess.py", line 1366, in _readerthread OSError: [Errno 22] Invalid argument WARNING: Attempt to terminate the GDB process failed, because it is already terminated. Skip
.dram0.data 0x3ffb0000 0x3b70 RW A .ext_ram_noinit 0x3f800000 0x0 RW .noinit 0x3ffb3b70 0x0 RW .flash.appdesc 0x3f400020 0x100 R A .flash.rodata 0x3f400120 0x1d9f90 RW A .flash.text 0x400d0020 0xc4a57 R XA .phyiram.20 0x40194a78 0x61 R XA .phyiram.18 0x40194adc 0x10e R XA .phyiram.19 0x40194bec 0x90 R XA .phyiram.17 0x40194c7c 0x2d7 R XA .phyiram.0 0x40194f54 0x2b R XA .phyiram.1 0x40194f80 0x7d R XA .phyiram.2 0x40195000 0x21e R XA .phyiram.3 0x40195220 0xab R XA .phyiram.4 0x401952cc 0xff R XA .phyiram.6 0x401953cc 0x83 R XA .phyiram.7 0x40195450 0x1ff R XA .phyiram.8 0x40195650 0x177 R XA .phyiram.9 0x401957c8 0x8e R XA .phyiram.13 0x40195858 0xba R XA .phyiram.12 0x40195914 0xeb R XA .phyiram.14 0x40195a00 0x1cb R XA .phyiram.16 0x40195bcc 0x72 R XA .phyiram.11 0x40195c40 0x78 R XA .phyiram.15 0x40195cb8 0xba R XA .phyiram.21 0x40195d74 0x4a R XA .phyiram.22 0x40195dc0 0x31 R XA .phyiram.23 0x40195df4 0x103 R XA .phyiram.24 0x40195ef8 0x87 R XA .iram0.data 0x4009b544 0x0 RW .iram0.bss 0x4009b544 0x0 RW .dram0.heap_start 0x3ffc1850 0x0 RW .coredump.tasks.data 0x3ffee128 0x158 RW .coredump.tasks.data 0x3ffedec0 0x260 RW .coredump.tasks.data 0x3ffc6670 0x158 RW .coredump.tasks.data 0x3ffc73e0 0x3e8 RW .coredump.tasks.data 0x3ffc51b0 0x158 RW .coredump.tasks.data 0x3ffc5a60 0x1a8 RW .coredump.tasks.data 0x3ffc5c10 0x158 RW .coredump.tasks.data 0x3ffc64c0 0x1a8 RW .coredump.tasks.data 0x3ffd26a4 0x158 RW .coredump.tasks.data 0x3ffd2450 0x24c RW .coredump.tasks.data 0x3ffc5054 0x158 RW .coredump.tasks.data 0x3ffc4c50 0x3fc RW .coredump.tasks.data 0x3ffd63e8 0x158 RW .coredump.tasks.data 0x3ffea1c0 0x350 RW .coredump.tasks.data 0x3ffe3788 0x158 RW .coredump.tasks.data 0x3ffebe50 0x2c8 RW .coredump.tasks.data 0x3fff1c3c 0x158 RW .coredump.tasks.data 0x3fff4890 0x1cc RW .coredump.tasks.data 0x3ffe362c 0x158 RW .coredump.tasks.data 0x3ffeaf10 0x204 RW .coredump.tasks.data 0x3ffd37dc 0x158 RW .coredump.tasks.data 0x3ffdfa90 0x1ac RW .coredump.tasks.data 0x3ffd7548 0x158 RW .coredump.tasks.data 0x3ffd7320 0x220 RW .coredump.tasks.data 0x3ffef400 0x158 RW .coredump.tasks.data 0x3ffef170 0x288 RW .coredump.tasks.data 0x3fff0734 0x158 RW .coredump.tasks.data 0x3fff0410 0x31c RW .coredump.tasks.data 0x3fff1894 0x158 RW .coredump.tasks.data 0x3fff1570 0x31c RW .coredump.tasks.data 0x3fff2690 0x158 RW .coredump.tasks.data 0x3fff78c0 0x1a4 RW .coredump.tasks.data 0x3fff7d90 0x158 RW .coredump.tasks.data 0x3fff96d0 0x1c0 RW .coredump.tasks.data 0x3ffd14ec 0x158 RW .coredump.tasks.data 0x3fff6740 0x320 RW .coredump.tasks.data 0x3fff7b2c 0x158 RW .coredump.tasks.data 0x3fffa6d0 0x1c4 RW .coredump.tasks.data 0x3ffd3680 0x158 RW .coredump.tasks.data 0x3ffd3470 0x208 RW .coredump.tasks.data 0x3ffafb24 0x158 RW .coredump.tasks.data 0x3ffaf930 0x1ec RW .coredump.tasks.data 0x3ffe3ccc 0x158 RW .coredump.tasks.data 0x3ffecee0 0x23c RW .coredump.tasks.data 0x3ffafd88 0x158 RW .coredump.tasks.data 0x3ffc22f0 0x1c8 RW .coredump.tasks.data 0x3ffc34c4 0x158 RW .coredump.tasks.data 0x3ffc3300 0x1bc RW .coredump.tasks.data 0x3ffda268 0x158 RW .coredump.tasks.data 0x3ffda050 0x210 RW
===================== ESP32 CORE DUMP END =====================
Done! Coredump checksum='539e0e5d' Rebooting... ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:6036 load:0x40078000,len:16748 load:0x40080000,len:5424 0x40080000: _WindowOverflow4 at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/xtensa_vectors.S:1736
entry 0x400802a0 0x400802a0: _DebugExceptionVector at ??:?
[ERR ] [mb_store_api.c:595 ] Validate data fail! [ERR ] [mb_store_api.c:549 ] Write default error 0xffffffff reg 0x6736 [hw_version] [INFO] [app_main.c:255 ] modbus nvs storage init successful! [INFO] [app_main.c:300 ] Run on ~~ NORMAL VERSION ~~ [1.0.0.0] [INFO] [app_main.c:315 ] shared uart init successful! [ERR ] [hw_api.c:149 ] KX122 accelerometer sensor init error -1 [INFO] [app_main.c:328 ] on board hardware init successfull! [INFO] [app_main.c:338 ] add on board hardware init successful! [INFO] [production_api.c:120 ] ----------------- {"device_id":"GKC-A848FA879CF0","timestamp":1680273041,"fw_ver":"1.0.0","hw_ver":"1.0.0","hw_status":{"production":1,"nvs":1,"tps2299x":1,"m41t65":1,"sdp800":1,"kx122":0,"pcf8591":1,"aob":1}} -----------------
[INFO] [mb_client_api.c:1248 ] >> add device type 0, modbus address 00, numbs reg 2 [INFO] [mb_client_api.c:1269 ] - reg id 00: address d001 flag 0200 polling interval 00000 [fan_target_speed] [INFO] [mb_client_api.c:1269 ] - reg id 06: address d102 flag 0200 polling interval 00000 [fan_direction][INFO] [modbus_rtu_master.c:345 ] modbus_rtu_master_start() successful [INFO] [app_main.c:353 ] modbus master init successful! [INFO] [app_main.c:379 ] D112 read fail [INFO] [app_main.c:388 ] mb_storage_write d112 done V3 __ mb_storage_read d112 0[INFO] [app_main.c:400 ] rtc/wdog 123 2 31 14 30 41 [INFO] [network_api.c:310 ] ethernet_config.enable 0 [INFO] [network_api.c:311 ] ethernet_config.dhcp_enable 1 [INFO] [network_api.c:322 ] wifi_config.dhcp_enable 1 [INFO] [network_api.c:333 ] Start STA ssid Suresh_AP, password 12345678 [INFO] [network_api.c:336 ] Set Hostname: IG_AIR [PRI ] [network_api.c:480 ] Line 480 Setting Ethernet configurations [INFO] [eth_lib.c:200 ] Config mac addr a8:48:fa:87:9c:f0 [INFO] [eth_lib.c:215 ] Ethernet is initialized [INFO] [network_api.c:284 ] **** ETH DHCP Enable 1 IP 0.0.0.0 [INFO] [network_api.c:285 ] Mask 0.0.0.0 GW 0.0.0.0 [INFO] [eth_lib.c:122 ] Setting Ethernet adapter in DHCP mode [INFO] [eth_lib.c:131 ] DHCP Client started [INFO] [wifi_lib.c:286 ] Switch to Wifi AP_STA [INFO] [network_api.c:184 ] Wifi Started [PRI ] [network_api.c:117 ] Ethernet Stopped [PRI ] [network_api.c:454 ] - TIME2: 72000000000
[INFO] [device.c:229 ] WifiSTA MAC: a8:48:fa:87:9c:f0 [INFO] [device.c:235 ] SoftAP MAC: a8:48:fa:87:9c:f1 [INFO] [device.c:241 ] BT MAC: a8:48:fa:87:9c:f2 [INFO] [device.c:247 ] Ethernet MAC: a8:48:fa:87:9c:f3 [INFO] [device.c:252 ] Netif MAC: a8:48:fa:87:9c:f0 [INFO] [rooftopd.c:357 ] (re)init fan operation mode 2 [= 0] [PRI ] [rooftopd_fan_config.c:62 ] -> Config fan 001[INFO] [network_api.c:191 ] Wifi station is connected
[ERR ] [rooftopd_fan_config.c:69 ] modbus_rtu_master_write_holding_register() failed slave: 1 [PRI ] [network_api.c:255 ] **** STA Got IP Address [PRI ] [network_api.c:256 ] **** STAIP: 192.168.137.149 [PRI ] [network_api.c:257 ] **** STAMASK:255.255.255.0 [PRI ] [network_api.c:258 ] **** STAGW: 192.168.137.1 [PRI ] [network_api.c:259 ] **** DNS: 192.168.137.1 [ERR ] [rooftopd_fan_config.c:69 ] modbus_rtu_master_write_holding_register() failed slave: 1 [ERR ] [rooftopd_fan_config.c:69 ] modbus_rtu_master_write_holding_register() failed slave: 1 [ERR ] [rooftopd_fan_config.c:69 ] modbus_rtu_master_write_holding_register() failed slave: 1 [ERR ] [rooftopd_fan_config.c:69 ] modbus_rtu_master_write_holding_register() failed slave: 1 [INFO] [rooftopd.c:174 ] Operating mode 1: 1 [INFO] [rooftopd.c:177 ] Presure: min-max [0-0] step 0 [INFO] [rooftopd.c:179 ] Factor: p,i,k [0, 1, 0]
Debug Logs.
No response
More Information.
No response