I am trying to use your library, however I am not be able to succeed in working with that due to the conflict with core libraries of ESP32 Arduino. As the other included libraries integrated within each other, I am gonna try deeply to solve the issues. Or else, if you have any recommendation as a simple solution, I can try that one?chegewara wrote: ↑Thu Feb 25, 2021 11:34 pmI fixed one more thing in my library and now you can also use it as a standard Serial libraryCode: Select all
#define NO_GLOBAL_SERIAL // this will prevent to create instance of HardwareSerial Serial #include "cdcusb.h" CDCusb Serial; void setup() { Serial.begin(); while(!Serial); // wait until USB cable is connected and stack is ready Serial.println("Serial is ready"); } void loop() { delay(1000); Serial.println(millis()); }
ESP32-S2 USB-CDC Flashing (Arduino)
Re: ESP32-S2 USB-CDC Flashing (Arduino)
Re: ESP32-S2 USB-CDC Flashing (Arduino)
Do not use option "Serial connected to: USB".
Re: ESP32-S2 USB-CDC Flashing (Arduino)
Thats very odd, with most recent changes i can update S2 if CDC is included and running in app and board is connected with USB.ozgbostan wrote:Ok, thanks. It's working as you said. However, the CDC flashing is still not working, right?
I could not be able to flash the ESP32-S2 with your TinyUSB library, even with double upload button clicking on IDE.
I am using ubuntu 20.04 for testing and it works. Now i tested with windows 10 VM and there is some problem with it, IDE is sending DTR and RTS signals with different pattern. I will investigate it when i have some time.
Thanks for testing and reporting.
Re: ESP32-S2 USB-CDC Flashing (Arduino)
Thanks to chegewara, the discussion and solution alternatives are going on in the following issue page.chegewara wrote: ↑Tue Mar 02, 2021 9:15 amThats very odd, with most recent changes i can update S2 if CDC is included and running in app and board is connected with USB.
I am using ubuntu 20.04 for testing and it works. Now i tested with windows 10 VM and there is some problem with it, IDE is sending DTR and RTS signals with different pattern. I will investigate it when i have some time.
Thanks for testing and reporting.
https://github.com/chegewara/EspTinyUSB/issues/29
Who is online
Users browsing this forum: No registered users and 75 guests