Search found 19 matches

by davidzuhn
Mon Jan 19, 2026 7:00 pm
Forum: IDEs for ESP-IDF
Topic: install/manage multiple versions of ESP-IDF in Linux
Replies: 3
Views: 1071

Re: install/manage multiple versions of ESP-IDF in Linux

Since there's no central registry for applications on your Linux box, whatever you do for one version of the IDF you can do with another version in a different directory. When selecting a version of the IDF to use, just use the one in the directory that corresponds with your choice.

I have $HOME ...
by davidzuhn
Wed Mar 26, 2025 5:30 am
Forum: ESP-IDF
Topic: using the usb serial / jtag interface with esp-idf
Replies: 13
Views: 2422

Re: using the usb serial / jtag interface with esp-idf


I know exactly what the problem is. Dev boards include a little usb to uart chip that drives the boot and EN pins using its RTS and CTS outputs. This configuration is known as "default_reset" in the toolchain, and as the name suggests, all the command lines generated by the toolchain include ...
by davidzuhn
Tue Nov 01, 2022 10:01 pm
Forum: General Discussion
Topic: how to effectively use ESP timer interrupt callback.
Replies: 1
Views: 5897

Re: how to effectively use ESP timer interrupt callback.

My thoughts are that the HW timers should be used when dealing with either very short repeat cycles or when dealing with specific hardware peripherals. Things like "update the cloud every so often" don't need to resolution available with the HW timers (the latency with the network will throw off the ...
by davidzuhn
Thu Sep 29, 2022 10:10 pm
Forum: Hardware
Topic: What's the best way to differentiate between two custom ESP32 boards?
Replies: 9
Views: 7080

Re: What's the best way to differentiate between two custom ESP32 boards?

If you have a point where you know by external means which board it is, you can set a fuse with that ID and then refer to it later. Perhaps a device unique factory app and then you update to a common app via OTA.
by davidzuhn
Fri Jul 08, 2022 9:45 pm
Forum: ESP-IDF
Topic: CMake error: The C compiler is not able to compile a simple test program.
Replies: 8
Views: 11531

Re: CMake error: The C compiler is not able to compile a simple test program.

mdns has moved to be a separate component now.

Run 'idf.py add-dependency espressif/mdns==1.0.3' in your project and then build. You'll end up with a 'dependencies.lock' file that you should add to your version control.
by davidzuhn
Wed Jun 15, 2022 11:32 pm
Forum: Hardware
Topic: ESP32S3 PCB design with 2 USB-C
Replies: 5
Views: 10770

Re: ESP32S3 PCB design with 2 USB-C

An extension of my previous answer -- USB C host ports will generally default to providing NO power. Adding pulldowns for CC1 and CC2 will indicate to the host what level of power should be provided. It won't matter if you're connecting to a Type A port (using Type-A to USB-C cable), since there's ...
by davidzuhn
Wed Jun 15, 2022 8:12 pm
Forum: Hardware
Topic: ESP32S3 PCB design with 2 USB-C
Replies: 5
Views: 10770

Re: ESP32S3 PCB design with 2 USB-C

It's my understanding that you do need the CC pulldown's for the USB-JTAG connector as well, if you're using the USB connector as a possible power source (which your schematic indicates you are).

But I'm curious as to why you will be using 2 USB C connections for this. You _can_ use the USB-JTAG ...
by davidzuhn
Sat Apr 16, 2022 3:14 am
Forum: ESP-IDF
Topic: esp-idf sample code for efuse fails for esp32-s3
Replies: 1
Views: 2490

esp-idf sample code for efuse fails for esp32-s3

Using the master branch of esp-idf (specifically, v5.0-dev-2483-g3aeb80acb6), I can't show the fuse table for the example code in examples/system/efuse when I'm building for esp32-s3. From a clean unmodified checked out tree, I run the following:


$ idf.py set-target esp32s3
....
$ idf.py show ...
by davidzuhn
Mon Feb 07, 2022 2:35 pm
Forum: ESP-IDF
Topic: ESP32-S3 USB serial controller as first class interface?
Replies: 5
Views: 7131

Re: ESP32-S3 USB serial controller as first class interface?

The system/console_usb example is using USB managed by the main CPU and not the new-to-the-ESP32-{C3,S3} USB/JTAG controller. It is also hardcoded to the ESP32-S2 (see the sdkconfig.defaults file). Removing that entry and attempting to build for the ESP32-S3 results in this:


/Users/zoo/esp32/esp ...
by davidzuhn
Mon Feb 07, 2022 4:19 am
Forum: ESP-IDF
Topic: ESP32-S3 USB serial controller as first class interface?
Replies: 5
Views: 7131

ESP32-S3 USB serial controller as first class interface?

I would very much like to see the USB/JTAG controller serial interface be a full replacement for a UART interface, allowing me to remove the CP2102 from my design and simplifying the BOM.

When I try to use this interface the way that I use the UART interface, it seems like the USB serial is a ...

Go to advanced search