Search found 296 matches

by urbanze
Wed May 22, 2019 4:04 pm
Forum: General Discussion
Topic: ESP32 BUG cause software brick
Replies: 6
Views: 7472

Re: ESP32 BUG cause software brick

Damn. Maybe it's not related to core dump then, I was just going on the last log message before it froze. I don't know of anything in particular with this commit, but this is the problem with "Development" versions (-dev) - they have had some basic automated testing but they're not comprehensively ...
by urbanze
Wed May 22, 2019 1:43 am
Forum: General Discussion
Topic: ESP32 BUG cause software brick
Replies: 6
Views: 7472

Re: ESP32 BUG cause software brick

Got it, thanks. If you now do "esptool.py erase_region 0x3a6000 0x32000", without changing anything else, does the firmware finish booting correctly? No, I deleted that partition with its specific size and at the first boot, an error message appeared while loading the partition table, but as soon a...
by urbanze
Tue May 21, 2019 4:02 pm
Forum: General Discussion
Topic: ESP32 BUG cause software brick
Replies: 6
Views: 7472

Re: ESP32 BUG cause software brick

It looks like maybe there is some problem with the core dump partition in flash? Is there any chance you could dump this partition with "esptool.py read_flash" and then send it to me? BTW, you say you ran the code for more than 1 year but it looks like you've more recently rebuilt the project with ...
by urbanze
Tue May 21, 2019 1:50 am
Forum: General Discussion
Topic: ESP32 BUG cause software brick
Replies: 6
Views: 7472

ESP32 BUG cause software brick

Hi guys, something crazy happen with my esp32 product... I was testing our product in my home (I brought it from work) and turned on the power, everything working normally. I removed and inserted the power a few more times to hear the sweet noise of the beating relays (soon at the beginning of the c...
by urbanze
Thu May 16, 2019 2:26 pm
Forum: ESP-IDF
Topic: task watchdog user handler
Replies: 6
Views: 8985

Re: task watchdog user handler

Not really... usually, when a stack overflow happens, it is detected after the fact and random data from other tasks or the OS already has been overwritten. This means the stability of the system can't be relied upon anymore and it would not be a smart idea to do complicated stuff like uploading lo...
by urbanze
Wed May 15, 2019 1:16 pm
Forum: ESP-IDF
Topic: task watchdog user handler
Replies: 6
Views: 8985

Re: task watchdog user handler

It's because c/cpp files will be left out entirely if they don't contain any symbols that are unresolved, and the linker sees the availability of a 'weak' function as 'resolved'. Solution is to create a symbol in the c file somehow (e.g. void wdt_handler_dummy_symbol { }) and then add ing a linker ...
by urbanze
Tue May 14, 2019 5:05 pm
Forum: ESP-IDF
Topic: task watchdog user handler
Replies: 6
Views: 8985

Re: task watchdog user handler

Well, I using .cpp file in main esp32, then, weak function will not work without 'extern "C"'

this work's nicelly:

Code: Select all

extern "C" void esp_task_wdt_isr_user_handler(void)
	{
		ets_printf("lol\r\n");
	}
But, how can I get task name that not-feed task wdt in this handler()?
by urbanze
Mon May 13, 2019 9:37 pm
Forum: General Discussion
Topic: ESP32 BUG with Battery backed & BOD + RTC ON
Replies: 1
Views: 3141

ESP32 BUG with Battery backed & BOD + RTC ON

Hi little guys! I found bad notices about esp32 with power supplied by (old) litio battery. I keep esp32 powered by battery until battery die (~2.1V) just to test, but sometimes, esp32 not turn on even I put power supply (providing to battery & circuit)... Putting esp32 in serial debug to view ROM i...
by urbanze
Wed Apr 24, 2019 8:41 pm
Forum: ESP-IDF
Topic: Is it safe to read and write UART from different tasks?
Replies: 2
Views: 5709

Re: Is it safe to read and write UART from different tasks?

Looking just at uart.c, apparently YES, but anyone can really confirm if all uart tx are safe?
by urbanze
Fri Apr 12, 2019 1:16 pm
Forum: General Discussion
Topic: Trying to understand the biggest excpetion ever
Replies: 0
Views: 2467

Trying to understand the biggest excpetion ever

Hi guys, I doing some automated test with my product (esp32 wroom) and after 3 days of massive tests which c onsist of an relay turning power supply ON/OFF (both states in random times) , rarely some debug excpetion occur (not fatal because RTC WDT reset board) and its very "insane/big". I just want...