Search found 48 matches

by axellin
Sat Nov 10, 2018 1:24 am
Forum: General Discussion
Topic: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 8
Views: 4080

Re: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

My application has both bt & wifi enabled. After calling esp_ble_gap_start_scanning() in ESP_GAP_BLE_SCAN_PARAM_SET_COMPLETE_EVT, the BLE handler only copy the scan result to a buffer (in memory). BTW, today I cannot reproduce the previous "ASSERT_PARAM(10 9), in lld_pdu.c at line 519" but I hit ano...
by axellin
Wed Nov 07, 2018 2:33 pm
Forum: General Discussion
Topic: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 8
Views: 4080

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

Hi, I'm using current git master tree. I hit bellow assertion, but I don't find lld_pdu.c in esp-idf. Any idea bout this panic issue? ASSERT_PARAM(10 9), in lld_pdu.c at line 519 Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) Core 0 register dump: PC : 0x400845fd PS : 0x00060...
by axellin
Tue Nov 06, 2018 10:17 am
Forum: General Discussion
Topic: How to make application compile with different ESP-IDF versions
Replies: 0
Views: 511

How to make application compile with different ESP-IDF versions

Hi, My application can be compiled with current git master tree. However, when I try to compile with v3.1.1 esp-idf, I got compile errors. e.g. In master tree: struct gattc_search_cmpl_evt_param { esp_gatt_status_t status; /*!< Operation status */ uint16_t conn_id; /*!< Connection id */ esp_service_...
by axellin
Fri Nov 02, 2018 2:02 pm
Forum: General Discussion
Topic: How to get "CPU load" and "Memory Usage"
Replies: 16
Views: 14187

Re: How to get "CPU load" and "Memory Usage"

vTaskGetRunTimeStats output looks wrong (after running for 6 hours):
e.g.
IDLE0 3975459304 241%
IDLE1 819548835 49%
tiT 95644729 5%
Tmr Svc 49 <1%
....

How can IDLE0 reach 241%?
by axellin
Wed Oct 31, 2018 6:23 am
Forum: General Discussion
Topic: tcp_server example not able to reconnect the server after disconnect
Replies: 25
Views: 6883

Re: tcp_server example not able to reconnect the server after disconnect

Hi mikemoy,
It looks fine now after apply the changes you mentioned.
Thanks a lot.
by axellin
Wed Oct 31, 2018 12:56 am
Forum: General Discussion
Topic: tcp_server example not able to reconnect the server after disconnect
Replies: 25
Views: 6883

Re: tcp_server example not able to reconnect the server after disconnect

Actually, I already tried setting SO_REUSEADDR, but still got the same error. I'm sure LWIP_SO_REUSE=y. I also tried adding below code to enable SO_REUSEADDR: #if SO_REUSE int opt = 1; err = setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)); if (err != 0) { ESP_LOGE(TAG, "Socket u...
by axellin
Mon Oct 29, 2018 6:32 am
Forum: General Discussion
Topic: tcp_server example not able to reconnect the server after disconnect
Replies: 25
Views: 6883

Re: tcp_server example not able to reconnect the server after disconnect

Remove shutdown(sock, 0); line does not work.
I still got E (8967) example: Socket unable to bind: errno 112
by axellin
Thu Oct 25, 2018 7:49 am
Forum: General Discussion
Topic: tcp_server example not able to reconnect the server after disconnect
Replies: 25
Views: 6883

tcp_server example not able to reconnect the server after disconnect

Testing with esp-idf master tree. The test steps: 1. Connect to tcp server, send some characters then disconnect. 2. Try connect again always fails. (bind : errno 112) Something wrong with the example code? I (5188) event: sta ip: 192.168.0.100, mask: 255.255.255.0, gw: 192.168.0.1 I (5188) example:...

Go to advanced search