Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS A128 mqtt disconneting after inputs action
#6
I connected to Kincony via USB port and am checking the logs through PuTTY. After uploading firmware version 2.2.10 or newer and enabling MQTT, errors start to appear constantly. Below is a snippet of the logs:

edit: I tried changing the power supply. It doesn't matter whether I try with 12V or 24V (around 3A), the problem is the same.

Code:
Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (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:0x3fff0030,len:6656
load:0x40078000,len:15052
load:0x40080400,len:3836
entry 0x4008069c
I (27) boot: ESP-IDF v4.4.7-dirty 2nd stage bootloader
I (27) boot: compile time 12:46:57
I (27) boot: Multicore bootloader
I (31) boot: chip revision: v3.1
I (35) boot.esp32: SPI Speed      : 40MHz
I (39) boot.esp32: SPI Mode       : DIO
I (44) boot.esp32: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 nvs              WiFi data        01 02 00009000 00026000
I (72) boot:  1 phy_init         RF data          01 01 0003f000 00001000
I (80) boot:  2 factory          factory app      00 00 00040000 003b0000
I (87) boot: End of partition table
I (91) esp_image: segment 0: paddr=00040020 vaddr=3f400020 size=100a38h (1051192) map
I (480) esp_image: segment 1: paddr=00140a60 vaddr=3ffb0000 size=0337ch ( 13180) load
I (486) esp_image: segment 2: paddr=00143de4 vaddr=40080000 size=0c234h ( 49716) load
I (507) esp_image: segment 3: paddr=00150020 vaddr=400d0020 size=a4de8h (675304) map
I (751) esp_image: segment 4: paddr=001f4e10 vaddr=4008c234 size=034b0h ( 13488) load
I (765) boot: Loaded app from partition at offset 0x40000
I (765) boot: Disabling RNG early entropy source...
I (777) cpu_start: Multicore app
I (777) cpu_start: Pro cpu up.
I (777) cpu_start: Starting app cpu, entry point is 0x40081248
I (768) cpu_start: App cpu up.
I (797) cpu_start: Pro cpu start user code
I (797) cpu_start: cpu freq: 240000000
I (797) cpu_start: Application information:
I (801) cpu_start: Project name:     kc868-a-serial
I (807) cpu_start: App version:      v2.2.9-1-gab60adf
I (813) cpu_start: Compile time:     Dec 21 2024 15:42:31
I (819) cpu_start: ELF file SHA256:  ba41aed05f772e67...
I (825) cpu_start: ESP-IDF:          v4.4.7-dirty
I (830) cpu_start: Min chip rev:     v0.0
I (835) cpu_start: Max chip rev:     v3.99
I (840) cpu_start: Chip rev:         v3.1
I (845) heap_init: Initializing. RAM available for dynamic allocation:
I (852) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (858) heap_init: At 3FFD1DD0 len 0000E230 (56 KiB): DRAM
I (864) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (870) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (877) heap_init: At 4008F6E4 len 0001091C (66 KiB): IRAM
I (884) spi_flash: detected chip: generic
I (888) spi_flash: flash io: dio
I (893) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (907) main: [APP] Startup..
I (910) main: [APP] Free memory: 171588 bytes
I (915) main: [APP] IDF version: v4.4.7-dirty
I (1313) NVS: init nvs finish.
I (1327) system_api: Base MAC address is not set
I (1327) system_api: read default base MAC address from EFUSE
I (1348) esp_eth.netif.netif_glue: d4:d4:da:e1:1f:ef
I (1348) esp_eth.netif.netif_glue: ethernet attached to netif
I (2849) eth: Ethernet Started
I (2850) eth: Ethernet init
I (2850) wifi station: ESP_WIFI_INIT
I (2851) eth: Ethernet Link Up
I (2854) eth: Ethernet HW Addr d4:d4:da:e1:1f:ef
I (2861) wifi:wifi driver task: 3ffdf3dc, prio:23, stack:6656, core=0
I (2876) wifi:wifi firmware version: 1fd20f4
I (2876) wifi:wifi certification version: v7.0
I (2876) wifi:config NVS flash: enabled
I (2877) wifi:config nano formating: disabled
I (2881) wifi:Init data frame dynamic rx buffer num: 32
I (2886) wifi:Init static rx mgmt buffer num: 5
I (2890) wifi:Init management short buffer num: 32
I (2895) wifi:Init dynamic tx buffer num: 32
I (2899) wifi:Init static rx buffer size: 1600
I (2903) wifi:Init static rx buffer num: 10
I (2907) wifi:Init dynamic rx buffer num: 32
I (2912) wifi_init: rx ba win: 6
I (2915) wifi_init: tcpip mbox: 32
I (2919) wifi_init: udp mbox: 6
I (2922) wifi_init: tcp mbox: 6
I (2926) wifi_init: tcp tx win: 5744
I (2931) wifi_init: tcp rx win: 5744
I (2935) wifi_init: tcp mss: 1440
I (2945) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (3019) wifi:mode : softAP (d4:d4:da:e1:1f:ed)
I (3021) wifi:Total power save buffer number: 16
I (3021) wifi:Init max length of beacon: 752/752
I (3022) wifi:Init max length of beacon: 752/752
I (3027) web_server: Starting HTTP Server on port: '80'
I (3035) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (3042) ntp: tz:UTC+0
I (3043) mqtt: url ==> mqtt://192.168.8.11
I (3051) mqtt: Other event id:7
I (3052) UDP SERVER: Socket created
E (3055) esp-tls: [sock=52] connect() error: Host is unreachable
I (3058) UDP SERVER: Socket bound, port 4001
E (3065) TRANSPORT_BASE: Failed to open a new connection: 32772
E (3075) MQTT_CLIENT: Error transport connect
I (3081) mqtt: MQTT_EVENT_ERROR
E (3084) mqtt: Last error reported from esp-tls: 0x8004
I (3090) mqtt: Last errno string (Success)
I (3095) mqtt: MQTT_EVENT_DISCONNECTED
I (3102) pcf857x: pcf857x init.
eFuse Two Point: NOT supported
eFuse Vref: Supported
I (3108) analog: ---->adc1 thresholdd : 0
I (3113) analog: ---->adc2 thresholdd : 0
I (3117) analog: ---->adc3 thresholdd : 0
I (3122) analog: ---->adc4 thresholdd : 0
I (3131) analog: adc 0 monitor items : 0
I (3131) analog: adc 1 monitor items : 0
I (3136) analog: adc 2 monitor items : 0
I (3141) analog: adc 3 monitor items : 0
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4008d8be  PS      : 0x00060f33  A0      : 0x8008e0ab  A1      : 0x3fff2e20
A2      : 0x3ffe4364  A3      : 0x00001405  A4      : 0x00000000  A5      : 0x3ffb0b00
A6      : 0x3ffb11b4  A7      : 0x00000001  A8      : 0x3fff3104  A9      : 0x00000000
A10     : 0xaf217188  A11     : 0x6f222c7c  A12     : 0x3fff310c  A13     : 0xfffffffc
A14     : 0x3fff4508  A15     : 0x3ffe43b8  SAR     : 0x0000001c  EXCCAUSE: 0x0000001d
EXCVADDR: 0xaf217188  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0x00000000


Backtrace: 0x4008d8bb:0x3fff2e20 0x4008e0a8:0x3fff2e40 0x40081f45:0x3fff2e60 0x4008e459:0x3fff2e80 0x400dfd8d:0x3fff2ea0 0x400dfdc3:0x3fff2f00 0x400e084c:0x3fff2f20




ELF file SHA256: ba41aed05f772e67

Rebooting...
Reply


Messages In This Thread
RE: KCS A128 mqtt disconneting after inputs action - by gitbejbe - Yesterday, 06:01 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)