Search found 11 matches

by Itagaki
Tue Jul 30, 2024 1:12 pm
Forum: ESP-IDF
Topic: How to get ESP-IDF v5.2 (not 5.2.2)
Replies: 4
Views: 792

Re: How to get ESP-IDF v5.2 (not 5.2.2)

Ah, I see. I will tell her to reset to the same commit the team is using or try the 5.2 zip that is being released. Thanks very much!
by Itagaki
Mon Jul 29, 2024 10:34 pm
Forum: ESP-IDF
Topic: How to get ESP-IDF v5.2 (not 5.2.2)
Replies: 4
Views: 792

Re: How to get ESP-IDF v5.2 (not 5.2.2)

Thank you for your comments. I have instructed her to follow the steps exactly, and she has redone it many times, but somehow the installation still results in 5.2.2. It is really strange.
by Itagaki
Mon Jul 29, 2024 6:43 am
Forum: ESP-IDF
Topic: How to get ESP-IDF v5.2 (not 5.2.2)
Replies: 4
Views: 792

How to get ESP-IDF v5.2 (not 5.2.2)

We are developing a product that uses ESP-IDF v5.2. We recently got a new development member and had her install ESP-IDF v5.2, but she can't seem to get v5.2 installed, only v5.2.2. So we cannot get her to join our team. Here are the installation instructions I gave her: Download the Universal Onlin...
by Itagaki
Wed Jun 26, 2024 3:23 am
Forum: ESP-IDF
Topic: http_server\async_handlers is unstable
Replies: 0
Views: 244

http_server\async_handlers is unstable

I have integrated (with some customization) esp-idf-v5.2\examples\protocols\http_server\async_handlers into our ESP32-S3 project. And I have tried to make it work, but with puzzling results. I have tried requesting files via HTTP GET from dozens of other devices (they are also ESP32-S3). It usually ...
by Itagaki
Thu Mar 21, 2024 11:37 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

Solved with short code below.
  1.     usb_serial_jtag_driver_config_t usb_serial_jtag_config = USB_SERIAL_JTAG_DRIVER_CONFIG_DEFAULT();
  2.     usb_serial_jtag_driver_install(&usb_serial_jtag_config);
by Itagaki
Fri Mar 15, 2024 5:43 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

By calling tinyusb_driver_install() and other functions, I can now get the log output flow to the PC as it did before. But that doesn't mean I could revert back to the original state. The new driver is simply working. Before doing usb_host_install(), I need to save all information such as device des...
by Itagaki
Fri Mar 15, 2024 12:11 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

To be able to do "idf.py flash" or "esptool.py write_flash" towards USB-OTG again, "CDC Channel count" should be set to 2, maybe. But this might still not be enough. I still get the error "A serial exception error occurred: Write timeout". Do I have to wake up (or activate) the handler in ROM? Pleas...
by Itagaki
Thu Mar 14, 2024 8:05 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

Okay. I succeed to get COM7 back. I had to set Custom vendor ID, Custom product ID, bcdDevice, Manufacturer name, Product name and Serial string of Component config -> TinyUSB Stack -> Descriptor configuration as same as download mode. This resumes the monitor. But still cannot flash against it. I g...
by Itagaki
Thu Mar 14, 2024 6:34 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

I can now monitor the log output again. But there is still a problem. When I reset with GPIO0 Lo, it appears as COM7 to a PC connected to USB-OTG. I run idf.py -p COM7 flash monitor The write to the flash is successful and the log output appears in the terminal. The program then calls usb_host_insta...
by Itagaki
Thu Mar 14, 2024 3:04 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 1635

Re: How to use USB-OTG as a COM device again after making it a msc host?

Thanks for the reply. But as I wrote in the beginning, I do not want to do that. > to reset and go into download mode while shorting GPIO0 to GND. However, I don't want to do this every time, and this would not allow me to do any monitoring after usb_host_uninstall(). This method does not solve the ...