Search found 308 matches

by ESP_Dazz
Mon Jul 17, 2023 10:57 am
Forum: ESP-IDF
Topic: xQueueReceive Assert Failed
Replies: 12
Views: 5916

Re: xQueueReceive Assert Failed

Could you provide the backtrace log?
by ESP_Dazz
Mon Jul 17, 2023 10:35 am
Forum: ESP-IDF
Topic: xQueueReceive Assert Failed
Replies: 12
Views: 5916

Re: xQueueReceive Assert Failed

QueueHandle_t red_line_queue; This simply declares a Queue handle, and does not create a queue. Before attempting use "red_line_queue" in any queue function, you need to ensure that the queue is created. You can do this by calling `xQueueCreate()` which creates a queue and returns a handle to the c...
by ESP_Dazz
Mon Jul 17, 2023 9:27 am
Forum: ESP-IDF
Topic: xQueueReceive Assert Failed
Replies: 12
Views: 5916

Re: xQueueReceive Assert Failed

Where do you call xQueueCreate() to actually create the queue?
by ESP_Dazz
Sun Jun 18, 2023 4:41 am
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 21
Views: 12105

Re: ESP32-S3 USB OTG - USB Hub support?

Hub support is still on our todo list. See the USB Host Library documentation for more details.
by ESP_Dazz
Mon May 15, 2023 7:02 am
Forum: ESP-IDF
Topic: Size of tasks control blocks (TCB)
Replies: 2
Views: 1632

Re: Size of tasks control blocks (TCB)

The size of the TCB depends on configuration, so use `sizeof(StaticTask_t)` to get the TCB size at compile/run time
by ESP_Dazz
Wed Feb 15, 2023 3:54 am
Forum: ESP-IDF 中文讨论版
Topic: 如何更改twai通信接收缓冲区大小
Replies: 1
Views: 1370

Re: 如何更改twai通信接收缓冲区大小

TWAI 所有收到的包都会写进去一个 RX Queue 里, 而且所有发出的包都会先写进一个 TX Queue。RX Queue 和 TX Queue 的大小都可以通过 twai_general_config_t 的 tx_queue_len 和 rx_queue_len 配的。
by ESP_Dazz
Fri Jan 06, 2023 6:47 am
Forum: ESP-IDF
Topic: FreeRTOS SMP
Replies: 1
Views: 2428

Re: FreeRTOS SMP

That setting enables Amazon SMP FreeRTOS, an SMP version of FreeRTOS written by Amazon themselves (see docs). If disabled, then IDF FreeRTOS is run instead, this is a modified version of FreeRTOS written by us that also supports SMP.
by ESP_Dazz
Tue Dec 13, 2022 4:00 pm
Forum: Hardware
Topic: ESP devkitc v3 vs v4 and CAN network
Replies: 1
Views: 1026

Re: ESP devkitc v3 vs v4 and CAN network

The the chip revision of the ESP32 chip on each board the same (i.e., what ECO version are the ESP32's)?
by ESP_Dazz
Mon Nov 21, 2022 9:03 am
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3633

Re: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

@marbalon In theory we could add this workaround, but the way I would prefer implementing this as follows: Integrate this workaround into the hub driver (i.e., where enumeration is handled) so that users don't need to handle this in their class drivers Make it an optional workaround via menuconfig H...
by ESP_Dazz
Thu Nov 17, 2022 8:18 am
Forum: ESP-IDF
Topic: Usb host unstable
Replies: 7
Views: 2311

Re: Usb host unstable

From what I can see, the "hcd_var == 2" means that it's currently set to the value of "URB_HCD_STATE_INFLIGHT". The "URB_HCD_STATE_INFLIGHT" state means that the URB has already been filled into one of the HCD's DMA lists. So the URB could either be: Already transmitting on the USB bus, but can get ...