Search found 10 matches

by Stellershime
Thu Mar 04, 2021 6:25 pm
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

Will do
by Stellershime
Thu Mar 04, 2021 6:51 am
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

I think the problem with the test.txt file has nothing to do with your code, but rather how it's just writing several blocks of empty data, since it is just the default test example that came with the SD_test example. Maybe there's some incorrect memory handling in the function. Chances are if I jus...
by Stellershime
Wed Mar 03, 2021 3:24 am
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

So I've played around with the code and noticed the following behavior(windows 10): 1. It really hates it when test.txt gets deleted. a.The file doesn't delete properly. Deleting it makes it disappear until you return to the PC directory and click on the Drive directory again, where you can see the ...
by Stellershime
Mon Feb 22, 2021 10:06 pm
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

Hello, After trying out the tinyusb library that has been uploaded to the library manager. I ran in this error. 16:59:52.672 -> MSC lun 1 begin 16:59:52.672 -> SD Card Type: SDHC 16:59:52.672 -> SD Card Size: 15193MB 16:59:52.672 -> Listing directory: / 16:59:52.706 -> FILE: /test.txt SIZE: 1048576 ...
by Stellershime
Fri Feb 19, 2021 8:08 pm
Forum: ESP32 Arduino
Topic: Difficulty getting ESP32 S2 Timer interrupt to run.
Replies: 1
Views: 5100

Re: Difficulty getting ESP32 S2 Timer interrupt to run.

For any one interested, I've managed to create a working(?) timer interrupt example using esp-idf API for the arduino esp32 s2 using the V4.2 branch. Do note that this is a very unprofessional work, you can use it as you like, and whatever nonsense I need to say so that nobody gets into trouble with...
by Stellershime
Thu Feb 18, 2021 3:02 am
Forum: ESP32 Arduino
Topic: Difficulty getting ESP32 S2 Timer interrupt to run.
Replies: 1
Views: 5100

Difficulty getting ESP32 S2 Timer interrupt to run.

/* Repeat timer example This example shows how to use hardware timer in ESP32. The timer calls onTimer function every second. The timer can be stopped with button attached to PIN 0 (IO0). This example code is in the public domain. */ // Stop button is attached to PIN 0 (IO0) #define BTN_STOP_ALARM ...
by Stellershime
Sat Feb 06, 2021 2:25 am
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

C:\Program Files (x86)\Arduino\libraries\EspTinyUSB\src\classes\web\webusb.cpp: At global scope: C:\Program Files (x86)\Arduino\libraries\EspTinyUSB\src\classes\web\webusb.cpp:217:10: error: conflicting declaration of 'bool tud_vendor_control_request_cb(uint8_t, const tusb_control_request_t*)' with...
by Stellershime
Fri Feb 05, 2021 11:31 pm
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

I'll check when I get back home today. Sorry for the long post, couldn't figure out how to make it scrolling. But I'm fairly confident it is UART0 bc I've never used USB as serial before. I see that there was also of "conflict with c linkage" errors and alot of the messages seems to reference webusb...
by Stellershime
Fri Feb 05, 2021 8:56 pm
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

Thanks for Posting the sample code! But I'm getting this error message when I tried to compile the SD_MSC example. Arduino: 1.8.13 (Windows 10), Board: "ESP32S2 Dev Module, UART0, Disabled, Default 4MB with ffat (1.2MB APP/1.5MB FATFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None" In file in...
by Stellershime
Thu Feb 04, 2021 9:11 pm
Forum: Sample Code
Topic: esp32 s2 tinyUSB
Replies: 38
Views: 140606

Re: esp32 s2 tinyUSB

Today i would like to share good news. I have first on the world (or maybe not) working ESP32 S2 pendrive that can read SD card over SPI. Code is working with a bit changed arduino-esp32 and my library. Its not super speed, i would say it slow, yet, but it is working and can be read/write by OS (te...