Page 3 of 4
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 8:57 am
by stefan.erni
Hi Martin
Thanks for the support. I tried, but I always end up with a new error and then I get a little lost. I'll keep trying.
Code: Select all
ERROR: Directory "C:\C#_sourcecode\_#FC11\Tiny_usb\main" does not exist! Please specify a valid component under C:\C#_sourcecode\_#FC11\Tiny_usb or try to use --path
C:\C#_sourcecode\_#FC11\Tiny_usb>ERROR: Directory "C:\C#_sourcecode\_#FC11\Tiny_usb\main" does not exist! Please specify a valid component under C:\C#_sourcecode\_#FC11\Tiny_usb or try to use --path
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 9:21 am
by mnfisher
Something looks awry with the path ?
How (and where) are you creating the flowchart?
Martin
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 9:32 am
by stefan.erni
I made a copy of supplementary.c supplementary.h from the supplementary folder to Tiny_usb
I did not help...

- 2025-12-04_10-28-51.PNG (34.85 KiB) Viewed 1464 times
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 9:39 am
by Steve-Matrix
May also need "main"?
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 9:41 am
by mnfisher
Yes - supplementary.h & .c need to go into tiny_usb (project directory) /main/includes - and add includes to CMakeLists.txt as above.
Martin
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 10:34 am
by stefan.erni
ok I create main and all...
Code: Select all
In file included from C:/Users/Kfs-Forschung/Desktop/esp-idf-2/mtxesp32_s3_sdkconfig/main/esp-project.c:20:
C:\C#_sourcecode\_#FC11\Tiny_usb\tinyusb_test.h:64:10: fatal error: supplementary.h: No such file or directory
Re: ESP32 UART-USB Brige How to use
Posted: Thu Dec 04, 2025 11:13 am
by mnfisher
Odd - the main directory should be created with the project - you could try either pasting the .h and .c files into the supplementary code (instead of the #includes) or give them a fixed address (#include "c:/test/file.h")
Martin
Re: ESP32 UART-USB Brige How to use
Posted: Fri Dec 05, 2025 6:36 pm
by stefan.erni
Hi Martin
I haven't had any success yet.
But I've noticed that when I connect UART0 to pins GPIO43 and GPIO44,
I can no longer flash the ESP32-S3 as easily.
I have to press the boot button and plug in the USB-C, then flash and remove the USB-C again and plug it back in.
But when I deactivate UART0 again, I can flash comfortably with Flowcode.
So something is happening with the built-in UART to USB bridge.

Re: ESP32 UART-USB Brige How to use
Posted: Fri Dec 05, 2025 7:44 pm
by mnfisher
Some progress? Compiling okay now? Does it appear to connect to USB with a new port?
Can you post your code so far?
Martin
Re: ESP32 UART-USB Brige How to use
Posted: Mon Dec 08, 2025 10:36 am
by stefan.erni
Hi Martin
I used another computer. I tested the two UARTs with it and everything is fine.
Later this week, I will perform the same tests on the other computer where I had the problems.
I tried to use the bridge there.
My testfirmware:

- IMG_5381.jpeg (89.88 KiB) Viewed 1238 times
The image shows how UART0 and UART1 work and, incidentally, how UART1 is only slightly delayed and not, as assumed, only when uart0 is finished.

- scope_206.png (33.2 KiB) Viewed 1238 times