Search found 6 matches

by yoko911
Sat May 06, 2023 6:08 am
Forum: ESP-IDF
Topic: xQueue between cores takes long time
Replies: 10
Views: 4628

Re: xQueue between cores takes long time

Changed notification method to

Code: Select all

xTaskGenericNotify
but still getting 10ms between sending the notification and receiving it on the other core :/ also, increased tick frequency from 100Hz to 1000Hz,

:(
by yoko911
Sat May 06, 2023 3:04 am
Forum: ESP-IDF
Topic: xQueue between cores takes long time
Replies: 10
Views: 4628

Re: xQueue between cores takes long time

I have tried adding the timestamp to the message, but still seems slow, now I get 7ms from when sending the message up to Core1, and starting the DarkChannel process there is a difference of 20ms: I (25178) dehaze: Sending message, Core 0 ts: 23521941 micro-seconds W (25188) Mat_offload: message rec...
by yoko911
Fri May 05, 2023 3:41 pm
Forum: ESP-IDF
Topic: xQueue between cores takes long time
Replies: 10
Views: 4628

Re: xQueue between cores takes long time

it is pretty straight forward, as you will see, both cores are calling DarkChannel() , so the other thing I was thinking is that maybe memory collision? here are the main snippets: From main() main() { mat_split_task_handle = xTaskCreateStaticPinnedToCore(dehaze_task, // Function Ptr "Task", // Name...
by yoko911
Fri May 05, 2023 5:37 am
Forum: ESP-IDF
Topic: xQueue between cores takes long time
Replies: 10
Views: 4628

xQueue between cores takes long time

I have a heavy processing function (DSP) that I want to perform in parallel, so I have pinned a 'task' task to Core0 and 'offload' task to Core1, The processing is on a buffer in memory of 300k Bytes, so I am sending a pointer to the center of the buffer using xQueueSend, so that the offload task in...
by yoko911
Fri Apr 07, 2023 5:16 am
Forum: ESP-IDF
Topic: Watchdog triggered in CPU1,
Replies: 2
Views: 1474

Watchdog triggered in CPU1,

I have been doing some test code in ESP32, I took an sample code, so I am not using RTOS, I know that main is invoked from a RTOS task underline in esp32-idf. My main program is now running long at 30k ticks I get a Task watchdog trigger: E (30232) task_wdt: Task watchdog got triggered. The followin...
by yoko911
Sat Feb 25, 2023 5:24 am
Forum: ESP-IDF
Topic: VSCode JTAG debugging in macOs error
Replies: 1
Views: 1318

VSCode JTAG debugging in macOs error

Hello, I am trying to debug a project in VSCode, I am using the Wrover Kit v4.1, this on macOs, this is what I am doing: Opening OpenOCD with: openocd -f board/esp32-wrover-kit-3.3v.cfg openocd -f board/esp32-wrover-kit-3.3v.cfg Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48) License...