Search found 445 matches

by snahmad75
Fri Apr 12, 2019 5:46 pm
Forum: ESP-IDF
Topic: Internal fastfs file gets corrupt some time after re-power.
Replies: 13
Views: 13908

Re: Internal fastfs file gets corrupt some time after re-power.

Sometime fwrite fails. It writes zero bytes so generate emty file.

I am using fopen(, "wb")

Is this correct flags for file write.

I am using few months old master branch of version =3.2

now I downloaded official release of version=3.2
I will try it again.
by snahmad75
Thu Apr 11, 2019 6:45 am
Forum: ESP-IDF
Topic: Is this stack overflow or watch dog trigger
Replies: 2
Views: 4264

Re: Is this stack overflow or watch dog trigger

The task watchdog timer is triggering because some task has not yielded CPU: https://docs.espressif.com/projects/esp-idf/en/stable/api-reference/kconfig.html#envvar-CONFIG_TASK_WDT_PANIC https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/wdts.html ok, thanks. just verifying ...
by snahmad75
Wed Apr 10, 2019 9:05 pm
Forum: ESP-IDF
Topic: heap corruption any idea?
Replies: 9
Views: 11868

Re: heap corruption any idea?

It looks like related with hardware time not stop properly.

I will investigate
by snahmad75
Wed Apr 10, 2019 3:33 pm
Forum: ESP-IDF
Topic: Is this stack overflow or watch dog trigger
Replies: 2
Views: 4264

Is this stack overflow or watch dog trigger

I (1322) W2K: Beginning-Of-Flash Vector: 0x3F400020 -> 0x3F404D10 I (1338) W2K: HardwareTimer::start I (1341) mcast-ipv4: Configured IPV4 Multicast address 224.0.0.251 I (1479) W2K: __builder_init notify I (1480) W2K: __builder_init completed I (1481) W2K: Thread_Application I (1481) W2K: Internal H...
by snahmad75
Wed Apr 10, 2019 2:40 pm
Forum: ESP-IDF
Topic: heap corruption any idea?
Replies: 9
Views: 11868

Re: heap corruption any idea?

Still hardware timer crash. ore 0 register dump: PC : 0x40096645 PS : 0x00060430 A0 : 0x80096253 A1 : 0x3ffbc840 0x40096645: uxListRemove at C:/Work/library/esp32/master/esp-idf/components/freertos/list.c:214 A2 : 0x3ffed928 A3 : 0x00000000 A4 : 0x3ffbb7a0 A5 : 0x00000000 A6 : 0x3ffbb858 A7 : 0x0000...
by snahmad75
Wed Apr 10, 2019 10:34 am
Forum: ESP-IDF
Topic: heap corruption any idea?
Replies: 9
Views: 11868

Re: heap corruption any idea?

This looks to be related with hardware timer I am using hardware timer and start and stop it and delete it. I do stop ARLErrorCode_e HardwareTimer::stop () { ACDTRACEF(ES_NoError, "HardwareTimer::stopping"); std::lock_guard<std::mutex> lock(_observer_mutex_); for (s32 i = 0; i < size_; i++) { observ...
by snahmad75
Wed Apr 10, 2019 9:46 am
Forum: ESP-IDF
Topic: crash using timers
Replies: 8
Views: 12669

Re: crash using timers

Related question is if crash/exception happens during my delete and I did not execute
It gets restart silently.

and esp_restart() does not executed. Does it have impact on OTA. does OTA will fails.
by snahmad75
Tue Apr 09, 2019 6:37 pm
Forum: ESP-IDF
Topic: heap corruption any idea?
Replies: 9
Views: 11868

Re: heap corruption any idea?

Sorry. I am wrong. C++ list remove. getting this error any idea? (63079) W2K: Exit TCPDataEndPoint::close(port=60003) I (63085) W2K: TCPDataEndPoint::~TCPDataEndPoint I (63090) W2K: Enter SocketDataEndPoint::~SocketDataEndPoint(formatter_id_=1) I (63098) W2K: Enter BDTPDeserialiser::~BDTPDeserialise...
by snahmad75
Tue Apr 09, 2019 6:10 pm
Forum: ESP-IDF
Topic: heap corruption any idea?
Replies: 9
Views: 11868

Re: heap corruption any idea?

It looks like related with C++ 11 std::recursive_mutex.

Now I change to std::mutex. It is working now.
by snahmad75
Mon Apr 08, 2019 9:38 pm
Forum: ESP-IDF
Topic: Internal fastfs file gets corrupt some time after re-power.
Replies: 13
Views: 13908

Re: Internal fastfs file gets corrupt some time after re-power.

ESP_igrr wrote:
Sun Apr 07, 2019 12:59 am
You can silence any specific log tag, in this case "RTC_MODULE", as follows:

esp_log_level_set("RTC_MODULE", ESP_LOG_NONE);

(https://docs.espressif.com/projects/esp ... is-library)
This works. thanks.