Search found 171 matches

by ESP_Dazz
Wed Apr 01, 2020 8:25 am
Forum: ESP32 IDF
Topic: vTaskSuspendAll() and vTaskEndScheduler()
Replies: 8
Views: 348

Re: vTaskSuspendAll() and vTaskEndScheduler()

egoncalves wrote: Hi

thanks for the reply.
I have tried that ( I was calling vTaskDelay() ) and it still resets... :(
vTaskDelay() is also a blocking function.
by ESP_Dazz
Mon Mar 30, 2020 11:23 am
Forum: ESP32 IDF
Topic: vTaskSuspendAll() and vTaskEndScheduler()
Replies: 8
Views: 348

Re: vTaskSuspendAll() and vTaskEndScheduler()

Don't call blocking functions (e.g. xQueueReceive()) whilst the scheduler is suspended.
by ESP_Dazz
Sat Mar 14, 2020 3:30 pm
Forum: General Discussion
Topic: mutex and Free RTOS scheduler
Replies: 3
Views: 645

Re: mutex and Free RTOS scheduler

I'm trying to understand the difference (if there is one) between the Free RTOS portMUX_TYPE mutex and the SemaphoreHandle_t mutex. Are they both the same thing 'under the hood'? No they are not. portMUX_TYPE is a spinlock (name is a bit confusing). Spinlocks are a form of hardware mutual exclusion...
by ESP_Dazz
Fri Mar 13, 2020 3:22 pm
Forum: Hardware
Topic: RTC Watchdog Timer
Replies: 3
Views: 913

Re: RTC Watchdog Timer

The registers and features of the RTC WDT are almost identical to the Main System Watchdogs. Use the APIs provided in the RTC WDT driver. Example below: #include <stdlib.h> #include <stdio.h> #include "soc/rtc_wdt.h" void app_main() { rtc_wdt_protect_off(); //Disable RTC WDT write protection //Set s...
by ESP_Dazz
Thu Mar 12, 2020 7:10 pm
Forum: ESP32 Arduino
Topic: Task delay without resetting the watchdog timer?
Replies: 2
Views: 594

Re: Task delay without resetting the watchdog timer?

vTaskDelay() itself does not feed the Task Watchdog. It is the IDLE task that feeds the Task watchdog. When you call vTaskDelay() , your current initSystems() task is put into the blocked state, allowing the operating system to schedule another task. If not other tasks are in the ready state, it wi...
by ESP_Dazz
Sun Feb 23, 2020 11:45 pm
Forum: General Discussion
Topic: Code Performance Analyzer
Replies: 2
Views: 603

Re: Code Performance Analyzer

Checkout Performance Monitors. Basically, the ESP32 CPUs have performance counters to count/time specific CPU related events (e.g., stalls, exceptions, pipeline bubble cycles etc).
by ESP_Dazz
Sun Feb 23, 2020 11:25 pm
Forum: General Discussion
Topic: Starting up esp32
Replies: 1
Views: 598

Re: Starting up esp32

serafisa wrote:I tried installing esp-idf into C:/esp/esp-idf
Could you post the Git command you used to pull the esp-idf repo?
by ESP_Dazz
Sun Feb 23, 2020 11:24 pm
Forum: ESP-IDF 中文讨论版
Topic: 新手ESP32问题
Replies: 1
Views: 1403

Re: 新手ESP32问题

如果是 hex 程序就不行,因为 ISA (指令集架构) 不一样。必须要拿原代码为 ESP32 重编。 Uno r3 使用 AVR 架构, ESP32 使用架构。
by ESP_Dazz
Sun Feb 23, 2020 11:12 pm
Forum: Hardware
Topic: ESP32 Quality Control Experiences.
Replies: 2
Views: 1037

Re: ESP32 Quality Control Experiences.

@NotMyRealName
I suggest you submit an issue via this link
by ESP_Dazz
Sun Feb 23, 2020 10:39 pm
Forum: ESP32 IDF
Topic: Error while running install.sh
Replies: 1
Views: 384

Re: Error while running install.sh

jokm08 wrote: How can I fix this issue. I'm working on a windows 10 system
Why not run install.bat instead? Are you currently running install.sh via MSYS?

Go to advanced search