Search found 445 matches

by snahmad75
Mon Feb 18, 2019 10:37 pm
Forum: ESP-IDF
Topic: strange behavior with use of cpu=0 for application Tasks
Replies: 4
Views: 6010

strange behavior with use of cpu=0 for application Tasks

Hi,

I was using cpu=0 for both wifi and LWIP
cpu=1 for rest of my threads which are about 4 with same priority=6.

I move my TCP/UDP data process thread from cpu=1 to cpu=0 then I got strange behavior with my LED flashing stop working properly.

Can i use cpu=0 for my application Task?
by snahmad75
Mon Feb 18, 2019 1:41 pm
Forum: ESP-IDF
Topic: Exception was unhandled
Replies: 2
Views: 4249

Exception was unhandled

Hi, Any idea or root cause. Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400965e9 PS : 0x00060730 A0 : 0x800961f7 A1 : 0x3ffbbe40 0x400965e9: uxListRemove at C:/Work/library/esp32/master/esp-idf/components/freertos/list.c:214 A2 : 0x...
by snahmad75
Mon Feb 18, 2019 9:34 am
Forum: ESP-IDF
Topic: overwrite weak function not working always
Replies: 9
Views: 10534

Re: overwrite weak function not working always

ESP_Sprite wrote:
Mon Feb 18, 2019 2:24 am
Erm, you know that you can select panic behaviour in 'make menuconfig'? Restarting quietly is one of the options there.
I cannot see this option.
by snahmad75
Sun Feb 17, 2019 5:16 pm
Forum: ESP-IDF
Topic: overwrite weak function not working always
Replies: 9
Views: 10534

Re: overwrite weak function not working always

So yes, that is the issue you have. .c or .cpp shouldn't matter. Can you see if this solves the issue for you? yes it solve for if define in main.c/main.cpp. not elegant but works. Can i do esp_restart within this override function. I do not want default behavior which is panic handler just stop de...
by snahmad75
Sat Feb 16, 2019 2:36 pm
Forum: ESP-IDF
Topic: overwrite weak function not working always
Replies: 9
Views: 10534

Re: overwrite weak function not working always

Does the overriding function have its own .c/.cpp file? If so, it may be ignored entirely by the linker as it does not contain unresolved symbols. Here is example. Do i need to define in .c file instead of .cpp It is working for when I defined in my C++ main.cpp file as but i define in new file e.g...
by snahmad75
Fri Feb 15, 2019 7:03 pm
Forum: ESP-IDF
Topic: UDP connection get lost when connect to STA
Replies: 1
Views: 2613

UDP connection get lost when connect to STA

Hi, I am using mongoose socket/networking library. I do get UDP disconnect when I join station/client Access point and UDP stop working on my own Access point and if I reconnect UDP port programmatic after gotIP address event. or restart device then It starts working for station/client Access point ...
by snahmad75
Fri Feb 15, 2019 6:49 pm
Forum: ESP-IDF
Topic: Scan AccessPoint list cause station/client disconnect
Replies: 10
Views: 9564

Re: Scan AccessPoint list cause station/client disconnect

Can some one reply. Is there possible solution that we can avoid when scan disconnect from my client/station access point.
by snahmad75
Fri Feb 15, 2019 6:47 pm
Forum: ESP-IDF
Topic: SD card interface high speed mode
Replies: 12
Views: 37784

Re: SD card interface high speed mode

Can some one reply and share your experience.

Why big heap memory allocation when read files using SD card interface. Can we avoid it. Can some one point me out line of which allocate this heap. I am hoping to use stack and read file chunk by chunk.
by snahmad75
Fri Feb 15, 2019 6:45 pm
Forum: ESP-IDF
Topic: overwrite weak function not working always
Replies: 9
Views: 10534

Re: overwrite weak function not working always

Can some one reply and share your experience. I guess there are not many people using gcc and msys32on windows platform.
by snahmad75
Fri Feb 15, 2019 12:24 pm
Forum: ESP-IDF
Topic: overwrite weak function not working always
Replies: 9
Views: 10534

overwrite weak function not working always

Hi, See this thread https://esp32.com/viewtopic.php?f=13&t=7583&p=38611#p38611 When I define my overwrite esp_task_wdt_isr_user_handler in main.cpp it works. but if defined in another files it does not. not 100% reliable make -j and linking on Windows 7 platform which generate .map. I can see in map...