Flashing through USB in ESP32S3
Posted: Mon Jun 13, 2022 9:58 am
Hi,
I have a device based on ESP32S3. I'm able to see a COM port when the device is connected to a PC via USB even without having any code inside it or even with firmware that doesn't contain any USB functionalities.
So I'm able to flash the code directly via that COM port using the flash download tool.
But when I'm enabling USB MSC and CDC functionalities the COM port is getting changed and now I'm unable to program the device via the available COM port.
I have tried this: Deleted the USB MSC and CDC tasks once I'm done using them. But now I'm getting a notification from my PC saying the USB device is not recognized.
NOTE:
1. The device had different PID and VID for the firmware that has USB functionalities like MSC and CDC compared to the firmware without having USB functionalities or even without any firmware.
Thanks & Regards,
Kowshik.
I have a device based on ESP32S3. I'm able to see a COM port when the device is connected to a PC via USB even without having any code inside it or even with firmware that doesn't contain any USB functionalities.
So I'm able to flash the code directly via that COM port using the flash download tool.
But when I'm enabling USB MSC and CDC functionalities the COM port is getting changed and now I'm unable to program the device via the available COM port.
I have tried this: Deleted the USB MSC and CDC tasks once I'm done using them. But now I'm getting a notification from my PC saying the USB device is not recognized.
NOTE:
1. The device had different PID and VID for the firmware that has USB functionalities like MSC and CDC compared to the firmware without having USB functionalities or even without any firmware.
Thanks & Regards,
Kowshik.