Search found 23 matches

by marbalon
Tue Apr 02, 2024 12:15 pm
Forum: ESP-IDF
Topic: flashing without the esptool.py
Replies: 5
Views: 4813

Re: flashing without the esptool.py

It is great news that flasher can be built as C app on any MCU, but what about fuse bits programming? I need this also.
by marbalon
Fri Mar 17, 2023 9:12 am
Forum: General Discussion
Topic: ESP32-S3 - turn off USB JTAG/debug unit
Replies: 0
Views: 837

ESP32-S3 - turn off USB JTAG/debug unit

Hi, Is there any option to disable build-in JTAG/debug unit at startup? ESP32-S3 is acting as a custom vendor device. But when I'm plugging it appears as JTAG unit first and for a while and then switches to a new vendor device. For Windows 10 it is a bit problematic because very often Windows USB se...
by marbalon
Tue Feb 14, 2023 1:53 pm
Forum: General Discussion
Topic: ESP32-S3 - Two way USB comunication
Replies: 5
Views: 3774

Re: ESP32-S3 - Two way USB comunication

Thanks for your reply. I will test it later and will let you know if this helps. Edit. Ok, I'm back on this task and I know what was the problem. I always wait for USB_TRANSFER_STATUS_COMPLETED, so only one in transfer is requested then I'm waiting for completion before I send another one. The USB_T...
by marbalon
Mon Jan 16, 2023 1:06 pm
Forum: General Discussion
Topic: ESP32-S3 - Two way USB comunication
Replies: 5
Views: 3774

Re: ESP32-S3 - Two way USB comunication

I've tried to send a read request every 50ms but this gives me a response with 64bytes most of the time, even if the device is not sending anything. In my callback, I always have status == USB_TRANSFER_STATUS_COMPLETED and actual_num_bytes == 64. What I'm doing wrong? Edit. What is more, I sniffed t...
by marbalon
Fri Jan 13, 2023 9:58 am
Forum: General Discussion
Topic: ESP32-S3 - Two way USB comunication
Replies: 5
Views: 3774

ESP32-S3 - Two way USB comunication

Hi, I want to communicate with EPOS printer using ESP32-S3 as a host. Everything is working fine as long I'm sending data to the printer. But this printer have two endpoints IN and OUT. To get information about the status of the printer etc. I need to read data coming from the printer. So my questio...
by marbalon
Tue Nov 22, 2022 9:48 am
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3685

Re: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

@marbalon In theory we could add this workaround, but the way I would prefer implementing this as follows: Integrate this workaround into the hub driver (i.e., where enumeration is handled) so that users don't need to handle this in their class drivers Make it an optional workaround via menuconfig ...
by marbalon
Thu Nov 17, 2022 8:50 am
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3685

Re: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

I tried to do this before but in a different place in function pipe_alloc_check_args(), but then writing 64 bytes each time failed. But now I'm added few lines like below and it is working! Thank your very much! ESP_ERROR_CHECK(usb_host_get_active_config_descriptor(driver_obj->dev_hdl, &config_desc)...
by marbalon
Wed Nov 16, 2022 2:34 pm
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3685

Re: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

@ESP_Dazz, thanks for your response.

Do you think it is an option from the host side to "tell" the device "we are FS only" and thanks to this we can get FS descriptors?

What is strange if you look inside logs from USBTreeView is that this device provides a full list of HS and FS descriptors on PC.
by marbalon
Wed Nov 16, 2022 9:59 am
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3685

Re: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

In the logs above the printer was in the Virtual Com Port mode. Here is the log when the printer is in default USB mode. I (353) CLASS: Registering Client I (823) CLASS: Opening device at address 1 I (823) CLASS: Getting device information I (823) CLASS: Full speed I (823) CLASS: bConfigurationValue...
by marbalon
Tue Nov 15, 2022 3:36 pm
Forum: ESP-IDF
Topic: ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED
Replies: 8
Views: 3685

ESP32-S3, problem with usb_host_interface_claim() - ESP_ERR_NOT_SUPPORTED

Hi, I have a custom board with ESP32-S3. It is working as USB host for USB POS printers. Everything is working fine for most of the printers I used but I have a problem with only one but have node idea why. Everything is working fine, until I'm trying to call usb_host_interface_claim, and this funct...