Search found 67 matches

by rtborg
Mon Nov 21, 2022 8:16 am
Forum: General Discussion
Topic: Guru Meditation Error at uxListRemove
Replies: 7
Views: 2614

Re: Guru Meditation Error at uxListRemove

Found the culprit - one of the static queues was initialized like this:

Code: Select all

static event_t queue_storage[10 + sizeof(event_t)];
:lol:

Thanks for pointing me in the right direction, @ESP_Sprite
by rtborg
Sun Nov 20, 2022 9:38 pm
Forum: General Discussion
Topic: Guru Meditation Error at uxListRemove
Replies: 7
Views: 2614

Re: Guru Meditation Error at uxListRemove

Below is a queue initialization code. I have two of these at the moment, each with separate control block and buffer. typedef struct { uint16_t type; union { /* different payloads for each event */ } } event_t; static event_t queue_storage[10 * sizeof(event_t)]; static StaticQueue_t queue_cb; static...
by rtborg
Sun Nov 20, 2022 7:34 am
Forum: General Discussion
Topic: Guru Meditation Error at uxListRemove
Replies: 7
Views: 2614

Re: Guru Meditation Error at uxListRemove

Yes, the queues are properly initialized and I am using them to pass structs by value, so no ownership problems should occur. When changing the tasks and queues from static to dynamically allocated, the problem disappears. The error happens when the scheduler unblocks a task which is waiting on a qu...
by rtborg
Fri Nov 18, 2022 2:53 pm
Forum: General Discussion
Topic: Guru Meditation Error at uxListRemove
Replies: 7
Views: 2614

Guru Meditation Error at uxListRemove

I have an application which creates two static queues, and some static tasks which are waiting on said queues. When I try pushing an item onto a queue, I get the following error: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4037d76b P...
by rtborg
Wed Oct 26, 2022 8:01 pm
Forum: ESP-IDF
Topic: ESP32-C3 USB Console
Replies: 2
Views: 1475

Re: ESP32-C3 USB Console

From what I gather so far, the way to go is to install a VFS driver for the USB-JTAG peripheral and run a low--priority task which consumes bytes by calling fgetc. However I can't find how to change the USB descriptor. The output of lsusb is below; is there a way to change the iProduct string? Devic...
by rtborg
Tue Oct 25, 2022 8:25 pm
Forum: ESP-IDF
Topic: ESP32-C3 USB Console
Replies: 2
Views: 1475

ESP32-C3 USB Console

Hi,

What would be the steps for using the USB peripheral for implementing a custom (binary) protocol? I need a USB link to a PC, and tried to trace the execution of the basic console example, but I find it a bit convoluted, so I'll appreciate some guidance.

Thanks
by rtborg
Thu Oct 06, 2022 8:31 pm
Forum: Hardware
Topic: ESP32-S3 current consumption with radio disabled
Replies: 2
Views: 1670

ESP32-S3 current consumption with radio disabled

Hello,

I want to use ESP32-S3 for a device which makes no use of WiFi ad Bluetooth, so I'll keep them disabled. My question is what would be the expected current draw with the radio disabled? Trying to figure out my power supply requirements.

Thaks
by rtborg
Thu Jul 21, 2022 7:33 am
Forum: ESP-IDF
Topic: Trouble starting mDNS
Replies: 1
Views: 1229

Re: Trouble starting mDNS

Anyone facing the same problem?
by rtborg
Sat Jul 09, 2022 12:45 pm
Forum: ESP-IDF
Topic: Trouble starting mDNS
Replies: 1
Views: 1229

Trouble starting mDNS

The official example works fine, however I am unable to add mDNS to an existing project. Here's my initialization function: static void mdns_initialize(const char *hostname, const char *instance) { ESP_ERROR_CHECK( mdns_init() ); ESP_ERROR_CHECK( mdns_hostname_set(hostname) ); ESP_ERROR_CHECK( mdns_...