Search found 182 matches

by urbanze
Sun Aug 12, 2018 9:08 pm
Forum: General Discussion
Topic: Slow ramping voltage hangs esp32 / BOR - Brownout misbehavior or not ?
Replies: 5
Views: 423

Re: Slow ramping voltage hangs esp32 / BOR - Brownout misbehavior or not ?

Same experience here. When I raise the voltage slowly, with or without BOD, mcu is locked and never initializes until the restart is forced. What is this, why does it occur and how do I fix it?
by urbanze
Wed Aug 08, 2018 11:03 pm
Forum: ESP32 IDF
Topic: Measuring estimated CPU utilization
Replies: 4
Views: 114

Re: Measuring estimated CPU utilization

Yes, you can use FreeRTOS statitcs, just enable this option in menuconfig-component-freertos and its free use.
by urbanze
Mon Aug 06, 2018 7:58 pm
Forum: General Discussion
Topic: PSRAM as Flash
Replies: 14
Views: 318

Re: PSRAM as Flash

Is it possible to use PSRAM instead of flash chip? I mean executing code from PSRAM mapped on 0x400C2000 area. From datasheets, it seems that read instruction codes are matching. Of course there has to be a way to load code into PSRAM. This leads to my second question. Is it possible to boot code f...
by urbanze
Thu Aug 02, 2018 4:44 pm
Forum: ESP32 IDF
Topic: ESP32 How to turn off automatic log of system output
Replies: 3
Views: 479

Re: ESP32 How to turn off automatic log of system output

2. Disabling 2nd stage bootloader output: make menuconfig, go to "Bootloader config" and set "Bootloader log verbosity" to "No output" How to disable ONLY 2nd stage output? Setting "no output" in menuconfig disable all output, including my code. I tried to se...
by urbanze
Fri Jul 20, 2018 5:24 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1261

Re: ESP32 not ready for production

esp8266 is a toy inferior to the esp32 and yet is rather used commercially as the famous sonoff and etc. I am also using esp32 for commercial products in the industrial sector and I am betting my chips in this great mcu, even with some inconveniences.
by urbanze
Tue Jul 17, 2018 8:05 pm
Forum: General Discussion
Topic: Wrong ULP Consumption ?
Replies: 9
Views: 522

Re: Wrong ULP Consumption ?

After some time, I returned to test this... This code below generate 320uA, 2x more than spectate. Where 150uA? extern const uint8_t ulp_main_bin_start[] asm("_binary_ulp_main_bin_start"); extern const uint8_t ulp_main_bin_end[] asm("_binary_ulp_main_bin_end"); extern "C&quo...
by urbanze
Sun Jul 15, 2018 7:05 pm
Forum: General Discussion
Topic: Pinning tasks to Core for ISR
Replies: 3
Views: 283

Re: Pinning tasks to Core for ISR

It means that the interrupt will be allocated to which ever core the allocation API was running on at the time. This becomes a problem when doing so from an unpinned task because the interrupt can be allocated to any core. Interrupt de-allocation must be called on the same core to which the interru...
by urbanze
Fri Jul 13, 2018 12:21 pm
Forum: ESP32 IDF
Topic: Accurate reset reason
Replies: 0
Views: 121

Accurate reset reason

I need an more accurate reset reason in idf, how can I do this? See: Cause ::: Reset reason Interrupt wdt ::: 12 (SW_CPU_RST) Task wdt ::: 12 (SW_CPU_RST) ESP_RESTART() ::: 12 (SW_CPU_RST) and etc... Can I accurate this? I need to log when is task wdt or interrupt wdt (never occur but necessary), bu...
by urbanze
Fri Jul 13, 2018 10:59 am
Forum: General Discussion
Topic: Global boolean vs EventGroup bit
Replies: 4
Views: 189

Re: Global boolean vs EventGroup bit

and dont forget event group special spec, ALL tasks waiting for X bit, will wake up when X bit arrive (leave blocked state to ready). Queue and Semaphr wake up only most priority task or the oldest (if tasks has same prio).
by urbanze
Fri Jul 13, 2018 10:56 am
Forum: ESP32 IDF
Topic: Using two CPU Cores
Replies: 2
Views: 213

Re: Using two CPU Cores

1. Yes, call portYIELD() or portYIELD_FROM_ISR() to force context switch. If you use queue or semaphore or etc from ISR, freertos implements ...FROM_ISR functions (ISR SAFE) that maybe force context switch, see later on freertos page. 2. Yes to separate functions (I never used simulink ), but I thin...

Go to advanced search