Hi Martin
My Uart program works again on both PCs.
There are no more problems with pressing the reset button.
But I can't compile the tiny program.
Do you know how I can add it to the Flowcode menu config ?
Are there any C code commands like for CPU speed setup? Then I wouldn't have to change the menu.
missing settings:
ESP32 UART-USB Brige How to use
-
stefan.erni
- Valued Contributor
- Posts: 1198
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
-
mnfisher
- Valued Contributor
- Posts: 1882
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 154 times
- Been thanked: 887 times
Re: ESP32 UART-USB Brige How to use
Hi Stefan,
Sorry - I'm away from home at the moment - and no access to anything to test...
What are you getting in the menuconfig ? I think you need a fullclean / rebuild (or change another menu setting, rebuild) after adding the tinyusb library before it shows up?
Martin
Sorry - I'm away from home at the moment - and no access to anything to test...
What are you getting in the menuconfig ? I think you need a fullclean / rebuild (or change another menu setting, rebuild) after adding the tinyusb library before it shows up?
Martin
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
Hi Martin, Hi Ben
I've already made some progress.
Instead of the ESP3S3 in general, I'll try just the ESP3S3 Mini first. The pin layout is clearer on that chip.
I took a closer look at the ESP32S3-Mini, and the pins for RX/TX are :
UART0 mapped to GPIO 43 (TX) and GPIO 44 (RX).
But I'm still having trouble with the configuration menu. I can't add the USB Tiny option in config-menue from Flowcode.
https://flowcode.co.uk/forums/viewtopi ... 71#p21971
I've already made some progress.
Instead of the ESP3S3 in general, I'll try just the ESP3S3 Mini first. The pin layout is clearer on that chip.
I took a closer look at the ESP32S3-Mini, and the pins for RX/TX are :
UART0 mapped to GPIO 43 (TX) and GPIO 44 (RX).
But I'm still having trouble with the configuration menu. I can't add the USB Tiny option in config-menue from Flowcode.
https://flowcode.co.uk/forums/viewtopi ... 71#p21971
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
Hi Martin, Hi Ben
For a test; How can I insert these lines into the file so that it isn't overwritten?
CONFIG_TINYUSB_USE_INTERNAL_PHY = y
CONFIG_TINYUSB_INTERNAL_PHY_D+ = GPIO20
CONFIG_TINYUSB_INTERNAL_PHY_D- = GPIO19
sdkconfig file for esp32s3
For a test; How can I insert these lines into the file so that it isn't overwritten?
CONFIG_TINYUSB_USE_INTERNAL_PHY = y
CONFIG_TINYUSB_INTERNAL_PHY_D+ = GPIO20
CONFIG_TINYUSB_INTERNAL_PHY_D- = GPIO19
sdkconfig file for esp32s3
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
Hi Martin, Hi Ben
When I add the green line to the S3 menuconfig batch file, “TinyUSB” appears in the menu
When I add the green line to the S3 menuconfig batch file, “TinyUSB” appears in the menu
@CALL "C:\Users\Kfs-Forschung\Desktop\esp-idf-2\export.bat"
python "C:\Users\Kfs-Forschung\Desktop\esp-idf-2\tools\idf.py" add-dependency esp_tinyusb
python "C:\Users\Kfs-Forschung\Desktop\esp-idf-2\tools\idf.py" menuconfig -DIDF_TARGET=esp32s3
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
Hi Martin
First, the good news. The code compiles and all the others functions still works fine.
But:
No, no data yet.
I still have one more thing to do.
In Flowcode esp32s3, there are only two COM ports. However, the S3 has three UARTs, and UART0 must be connected to this pin.
I'm not sure whether UART1 or UART0 is used in the Flowcode.
With channel1 there is no data output ....
First, the good news. The code compiles and all the others functions still works fine.
But:
No, no data yet.
I still have one more thing to do.
In Flowcode esp32s3, there are only two COM ports. However, the S3 has three UARTs, and UART0 must be connected to this pin.
I'm not sure whether UART1 or UART0 is used in the Flowcode.
With channel1 there is no data output ....
UART0 is mapped to GPIO 43 (TX) and GPIO 44 (RX).
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
and here is a problem
if I choose (X) USB Serial/JTAG Controller I get a lot in the consoleComponent config → ESP System Settings → Channel for console output
(X) Default: UART0
( ) USB CDC
( ) USB Serial/JTAG Controller
( ) Custom UART
( ) None
-
stefan.erni
- Valued Contributor
- Posts: 1198
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 222 times
- Been thanked: 240 times
Re: ESP32 UART-USB Brige How to use
When I select that option, a different COM port number appears after flashing.
I can connect, but I don't receive any data.
If I want to reflash, I now have to select “Boot” and “Reset.” So the normal COM port number reappears.
I can connect, but I don't receive any data.
If I want to reflash, I now have to select “Boot” and “Reset.” So the normal COM port number reappears.
( ) Default: UART0
(X) USB CDC
( ) USB Serial/JTAG Controller
( ) Custom UART
( ) None