Search found 15 matches

by zilizii
Thu Sep 19, 2024 8:32 pm
Forum: ESP-IDF
Topic: Strange error
Replies: 2
Views: 699

Re: Strange error

Hello I changed to the Wifi task back to CORE 0, I used battery instead of a small DC-DC converter to supply I got the following: pins: 001 l->tm_mday, l->tm_mon, l->tm_wday19 9 4 DLS : 1 stored DLS : 1 Wake Up by Timer : 0 app_main starting Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibit...
by zilizii
Tue Sep 17, 2024 3:11 pm
Forum: ESP-IDF
Topic: Strange error
Replies: 2
Views: 699

Re: Strange error

right after the full restart : pins: 001 SPIFF Init donl->tm_mday, l->tm_mon, l->tm_wday20 10 1 DLS : 1 stored DLS : 1 Wake Up by Timer : 0 app_main starting Connect to RTC_MS Starting web server Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled. Core 0 register...
by zilizii
Tue Sep 17, 2024 3:06 pm
Forum: ESP-IDF
Topic: Strange error
Replies: 2
Views: 699

Strange error

Hello I use a V5.1 Release Path of the ESP-IDF I put only the Core1 the Wifi handler only, my application runnning on the Core 0. Sometimes work flawlessly 1+ times and when this happens random error can cause. I see this error: Starting web server Guru Meditation Error: Core 1 panic'ed (IllegalInst...
by zilizii
Thu Jan 24, 2019 6:04 pm
Forum: Report Bugs
Topic: Suspicious Memory leak when using esp-mqtt
Replies: 3
Views: 8298

Re: Suspicious Memory leak when using esp-mqtt

Thank you for your explanation, good to know. I will read those documents to increase my knowledge.
by zilizii
Wed Jan 23, 2019 8:38 pm
Forum: Report Bugs
Topic: Suspicious Memory leak when using esp-mqtt
Replies: 3
Views: 8298

Re: Suspicious Memory leak when using esp-mqtt

After a day running seems oscillating

currently the low point the low (82292367) NextionMQTTBridge: [APP] Free memory: 213064 bytes
which is far way from the top:
I (84432367) NextionMQTTBridge: [APP] Free memory: 214876 bytes

And the same "static" code running. I do not except this difference
by zilizii
Tue Jan 22, 2019 9:51 pm
Forum: Report Bugs
Topic: Suspicious Memory leak when using esp-mqtt
Replies: 3
Views: 8298

Suspicious Memory leak when using esp-mqtt

Hello, I tries to make a small Home Automation project with a Nextion display. I use Eclipse and C++ with the ESP-IDF together. I made the first single test with the following code: void mqtt_app_start(void * parameters) { esp_mqtt_client_config_t mqtt_cfg = { .event_handle = mqtt_event_handler, .ho...
by zilizii
Tue Oct 31, 2017 8:43 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 17
Views: 23610

Re: error message ledc_isr_register()

I made a mistake
LEDC_DUTY_CHNG_END_HSCHn_INT_ST|LEDC_HSTIMER0_OVF_INT_ST was incorrect
LEDC_DUTY_CHNG_END_HSCHn_INT_RAW|LEDC_HSTIMER0_OVF_INT_RAW should be correct.....
by zilizii
Tue Oct 31, 2017 8:32 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 17
Views: 23610

Re: error message ledc_isr_register()

Hello last time I used the following part of code to catch the interrupt. I guessing I am doing something wrong / not understand the concept or missunderstand between the ESP-IDF documentation and my mind. Any help is a welcome.... I got 257 decimal value 151 times before the ESP32 reset itself.... ...
by zilizii
Tue Oct 31, 2017 7:59 pm
Forum: Report Bugs
Topic: DIV by zero in ledc.c -> ledc_set_fade_with_step() fnc in case of scale =0
Replies: 1
Views: 4791

DIV by zero in ledc.c -> ledc_set_fade_with_step() fnc in case of scale =0

Hello, I started to investigate about a strange behaviour. In case of decrease of the duty the scale used for division without to check scale is not 0. Please update. The problematic part step_num = (duty_cur - target_duty) / scale ; esp_err_t ledc_set_fade_with_step(ledc_mode_t speed_mode, ledc_cha...
by zilizii
Tue Oct 31, 2017 3:21 pm
Forum: ESP-IDF
Topic: error message ledc_isr_register()
Replies: 17
Views: 23610

Re: error message ledc_isr_register()

Hello,

In the technical documentation there is a small part:

LEDC_DUTY_CHNG_END_HSCHn_INT in the Chapter 13.2.4 Interrupts.
How I am able to invoke ISR function when this event happens?

I guess the ledc_isr_register() fnc may be the answer....