Search found 12 matches

by Emanuel Martins
Wed Jun 18, 2025 2:38 pm
Forum: General Discussion
Topic: ESP32-S3 stack leak with variables (VSCode, ESP-IDF)
Replies: 5
Views: 177

Re: ESP32-S3 stack leak with variables (VSCode, ESP-IDF)

Hi, Microntroller.

OK, that is a good explanation.
Thank you!

Nevertheless, we saw the number decrease -> increase > decrease. So probably is not that simple as a High Watermark.
by Emanuel Martins
Fri Jun 13, 2025 7:23 am
Forum: General Discussion
Topic: ESP32-S3 stack leak with variables (VSCode, ESP-IDF)
Replies: 5
Views: 177

Re: ESP32-S3 stack leak with variables (VSCode, ESP-IDF)

Hi "Microcontroller".

The free number of bytes it what the function vTaskList() return in string relating to all tasks.
So task main() passes from 5248 free bytes to 4912 free bytes, loosing 336 bytes.
This is ONLY an example of much larger problem that we detected.

It is normal that the ...
by Emanuel Martins
Thu Jun 12, 2025 4:01 pm
Forum: General Discussion
Topic: ESP32-S3 stack leak with variables (VSCode, ESP-IDF)
Replies: 5
Views: 177

ESP32-S3 stack leak with variables (VSCode, ESP-IDF)

We detected a stack leak in something that was not supposed.

It only occurs in the first call to a function, not in the following calls.

We reduced the problem to a simpler example that everyone can test:

Example 1:
Calling this function in task in task main

void test_main() {
char test ...
by Emanuel Martins
Fri Apr 08, 2022 2:29 pm
Forum: ESP-ADF
Topic: I cannot play "mp4" and "m4a" files
Replies: 3
Views: 6807

Re: I cannot play "mp4" and "m4a" files

My code has several differences from the example "pipeline_sdcard_mp3_control":
- It reads USB pens instead of SD cards
- It reads mp3, aac and wav files, instead of only mp3 files
- It used a I2S DAC instead of a codec IC

The behavior is similar if I apply a mp3 decoder in a wav file. Error is ...
by Emanuel Martins
Tue Mar 29, 2022 3:32 pm
Forum: ESP-ADF
Topic: I cannot play "mp4" and "m4a" files
Replies: 3
Views: 6807

I cannot play "mp4" and "m4a" files

I am using a code altered by me from example pipeline_sdcard_mp3_control (https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_sdcard_mp3_control) and from example cli (https://github.com/espressif/esp-adf/tree/master/examples/cli) with changes to work with USB (form example msc ...
by Emanuel Martins
Fri Mar 18, 2022 5:30 pm
Forum: ESP-ADF
Topic: Get artist a music name from MP3 file
Replies: 1
Views: 3867

Get artist a music name from MP3 file

While playing music using pipeline of audio decoding of ESP-ADF I need to get information about the mp3 music that is paying.

Example of code: https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_http_select_decoder

It is not clear for me that ESP-ADP libraries can easily read ...
by Emanuel Martins
Mon Mar 07, 2022 4:40 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 10493

Re: Example "msc": crash HUB: Short device descriptor transfer failed

I invested my time with ADF examples I needed to try.
I retried to compile msc example from the master branch ESP-IDF v4.4.
Now the example compiles and runs correctly.

I have no explanation. Problem aparently solved.
by Emanuel Martins
Wed Mar 02, 2022 3:52 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 10493

Re: Example "msc": crash HUB: Short device descriptor transfer failed

I redeleted the git folder and copied the original v4.4 that I made a backup "just in case". My salvation!!!!

My ESP32 code now compiles again.
"msc" example became more condemned because now has new errors. Miss of files in v4.4 ... what an example.

I'll return to this problem again in a few ...
by Emanuel Martins
Wed Mar 02, 2022 1:56 pm
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 10493

Re: Example "msc": crash HUB: Short device descriptor transfer failed

Hi ESP_Dazz.

I've had a lot of problems installing the IDE.
I started with VSCode + ESP-IDF for ESP32 (suggested on internet). The first uses were ok and I could develop for sometime, waiting the ESP-PROG arrival (12 days later).
I had difficulty putting ESP-PROG to debug and I went to the net and ...
by Emanuel Martins
Wed Mar 02, 2022 10:23 am
Forum: ESP-IDF
Topic: Example "msc": crash HUB: Short device descriptor transfer failed
Replies: 12
Views: 10493

Re: Example "msc": crash HUB: Short device descriptor transfer failed

Thank you again @ESP_Dazz

I've followed your suggestion. ESP-IDF now seems updated. I do not have yet experience with git, only svn.

Unfortunately, the msc example still does not compile because of a Python error:
...
File "C:/Users/emartins/ESP-IDF/tools/ldgen/ldgen.py", line 16, in <module ...

Go to advanced search