Search found 1378 matches

by chegewara
Wed Feb 24, 2021 12:21 pm
Forum: ESP32 Arduino
Topic: ESP32-S2 USB-CDC Flashing (Arduino)
Replies: 18
Views: 804

Re: ESP32-S2 USB-CDC Flashing (Arduino)

OK, I have understood. So, what about "Serial connected to:" option of Arduino IDE? Is it another feature of ESP32 Arduino Core? As far as I understood, the released library of yours and that option are different alternatives, right? Thats right. My library is alternative for espressif library in a...
by chegewara
Wed Feb 24, 2021 6:36 am
Forum: ESP32 Arduino
Topic: ESP32-S2 USB-CDC Flashing (Arduino)
Replies: 18
Views: 804

Re: ESP32-S2 USB-CDC Flashing (Arduino)

ozgbostan wrote: Thanks for your support and contribution. Now, after uploading the example sketch just one time, the CDC flashing will be always available for the upcoming upload procedures, right?
CDC flashing will available as long as CDC is running on device, so you have to add it to your code each time.
by chegewara
Wed Feb 24, 2021 5:54 am
Forum: ESP32 Arduino
Topic: ESP32-S2 USB-CDC Flashing (Arduino)
Replies: 18
Views: 804

Re: ESP32-S2 USB-CDC Flashing (Arduino)

I just added persist reboot to my library, which allows to flash without using buttons to enable download mode. My version has small issue, but i think it is better to have it working this way than not having it at all.
by chegewara
Tue Feb 23, 2021 8:11 am
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 30
Views: 12601

Re: esp32 s2 tinyUSB

Its hard to say if its problem with cable or with OS. I am working on ubuntu, so sd card example works fine, pretty slow, but works. In other hand i tested yesterday on windows 10 virtualbox VM and there was issue in OS layer, which was resetting device every few seconds due to slow response (just g...
by chegewara
Tue Feb 23, 2021 8:05 am
Forum: ESP32 Arduino
Topic: ESP32-S2 USB-CDC Flashing (Arduino)
Replies: 18
Views: 804

Re: ESP32-S2 USB-CDC Flashing (Arduino)

By the way, you have just released a library a couple of days ago, does not that library solve the problem that you mentioned about? Yes and no. I am aware that we have issue with tinyusb_init, so i am ignoring return from that function until it wont get fixed in arduino. I also implemented USB per...
by chegewara
Sun Feb 21, 2021 8:08 pm
Forum: ESP32 Arduino
Topic: ESP32-S2 USB-CDC Flashing (Arduino)
Replies: 18
Views: 804

Re: ESP32-S2 USB-CDC Flashing (Arduino)

Thanks for the discussion. You have anything in your mind to recommend as a solution? I investigated it a bit today and there is something changed in tinyusb library which is in idf-release/v4.2, since branch esp32s2 works good, and by works good i mean if you have flashed USBSerial example from br...
by chegewara
Sat Feb 20, 2021 10:11 pm
Forum: General Discussion
Topic: creating custom library
Replies: 4
Views: 258

Re: creating custom library

With properly setup paths i get this (only part of logs): /home/chegewara/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /home/chegewara/demos/esp32s2/forks/UART-test/build/prebuilt/libprebuilt.a: error a...
by chegewara
Sat Feb 20, 2021 8:49 pm
Forum: Hardware
Topic: ESP32 upload failure
Replies: 5
Views: 237

Re: ESP32 upload failure

This should not be needed, but did you try to enter download mode with buttons?
by chegewara
Fri Feb 19, 2021 4:57 pm
Forum: ESP32 Arduino
Topic: tinyUSB library for arduino released
Replies: 0
Views: 81

tinyUSB library for arduino released

USB library is now available from library manager in arduino IDE.
https://github.com/chegewara/EspTinyUSB

Go to advanced search