Search found 47 matches

by chrismerck
Thu Sep 05, 2019 5:49 pm
Forum: General Discussion
Topic: RTOS running on one core only
Replies: 32
Views: 3360

Re: RTOS running on one core only

temporarily enable interrupts again on core 1 At which time you introduce potential delays into the code executing on core 1. The code sniplet you posted in your original message seems to suggest that you disable and enable interrupts with each iteration of your busywait loop on core 1. Our require...
by chrismerck
Thu Sep 05, 2019 4:16 pm
Forum: General Discussion
Topic: RTOS running on one core only
Replies: 32
Views: 3360

Re: RTOS running on one core only

only for brief moments Thanks for the quick reply! The minimum duration of those brief moments is dictated by the design of ESP-IDF. I'm not sure what Espressif's design latency is, but empirical testing on our end makes it seem greater than our requirement of <12uS, because we are missing deadline...
by chrismerck
Thu Sep 05, 2019 12:32 pm
Forum: General Discussion
Topic: RTOS running on one core only
Replies: 32
Views: 3360

Re: RTOS running on one core only

Hey AP, in fact, we have run into a similar issue here. If you read in the ESP-IDF version of FreeRTOS code, you will see conditional compilation in many places like this: #if !CONFIG_FREERTOS_UNICORE You will often see while loops used to spinlock waiting for the other core to release some resource...
by chrismerck
Thu Aug 22, 2019 2:00 pm
Forum: ESP32 IDF
Topic: [SOLVED] bootloop using v3.2 bootloader with v3.3-rc app
Replies: 4
Views: 201

Re: bootloop using v3.2 bootloader with v3.3-rc app

Thanks Angus! So, was my mistake to use the tag v3.3-rc rather than the latest on the branch.

WiFive: see the beta forum post here: https://forum.bondhome.io/t/bond-v2-platform/466 The units with serials starting ZZ are ESP32-based.
by chrismerck
Wed Aug 21, 2019 7:40 pm
Forum: ESP32 IDF
Topic: [SOLVED] bootloop using v3.2 bootloader with v3.3-rc app
Replies: 4
Views: 201

[SOLVED] bootloop using v3.2 bootloader with v3.3-rc app

We get a crash in the v3.1 (or v3.2) bootloader when attempting to jump to the v3.3-rc application. Note that if I upgrade the bootloader to v3.3-rc, it works fine. Is there any known incompatibility here? I can try reproducing with a minimal example if that helps. Rebooting... I (29) boot: ESP-IDF ...
by chrismerck
Tue Aug 20, 2019 6:47 pm
Forum: ESP32 IDF
Topic: [SOLVED] Google WiFi Compatibility
Replies: 2
Views: 321

Re: Google WiFi Compatibility

Good news! IDF v3.3-rc *seems* to fix the issue. It is hard to tell, as this is an intermittent issue, but my trials so far are very promising.

Thank you Espressif for the incredible work in maintaining ESP-IDF. It's mindblowing how well you support this platform...
by chrismerck
Tue Aug 20, 2019 5:31 pm
Forum: ESP32 IDF
Topic: [SOLVED] Google WiFi Compatibility
Replies: 2
Views: 321

Re: Google WiFi Compatibility

The problem persists. Not all Google Wifi users are effected, but now the issue has occurred at our offices so I was able to get a packet capture. We have 2x Google Wifi units on software version 11895.108.11. Now using ESP-IDF v3.2. The one thing that looks NOT RIGHT to me is, the ESP32 initial tri...
by chrismerck
Thu Jun 06, 2019 1:42 pm
Forum: ESP32 IDF
Topic: [SOLVED] Boot Different Partition from Application
Replies: 7
Views: 2016

Re: [SOLVED] Boot Different Partition from Application

Hi Jerome, So I'm late, but better late than never? Those two defines are arbitrary values you decided to use ? Yes, they are essentially arbitrary. Values to avoid are 0x0, 0xFFFFFFFF, 0xCCCCCCCC, and 0x55555555, since those may be default conditions. The 1/2BADBABE is chosen because it is immediat...
by chrismerck
Wed May 01, 2019 3:26 pm
Forum: General Discussion
Topic: 40 kHz GPIO interrupt
Replies: 6
Views: 793

Re: 40 kHz GPIO interrupt

@WiFive: THANK YOU! HelWeb's work is just what we needed to see. It's amazing how well you know the ESP community. -- Will update when we have a full solution to our issue, and describe what we learned.
by chrismerck
Wed May 01, 2019 3:23 pm
Forum: General Discussion
Topic: RTOS running on one core only
Replies: 32
Views: 3360

Re: RTOS running on one core only

@HelWeb:

Just want to thank you for posting your technique for running without RTOS on Core1. This is extremely useful information to my team here to work around interrupt performance issues on Core0. We will let you know our results!

Merci vielmal!

Go to advanced search