Steffen W
Steffen W
Hi thanks for the tip. I think that this could also be the problem. The buffer size is also not taken into account. My solution idea is the following: ```...
[https://github.com/chegewara/EspTinyUSB/blob/master/src/device/msc/sdcard.cpp#L63-L78](https://github.com/chegewara/EspTinyUSB/blob/master/src/device/msc/sdcard.cpp#L63-L78) The following solution works very well for me. The problem is completely solved with it. ``` int32_t onRead(uint8_t lun, uint32_t lba, uint32_t offset, void *buffer, uint32_t bufsize) { log_v("default...
What is output if you're decoding the exceptions? If you use PlatformIO, add to platformio.ini: monitor_filters = esp32_exception_decoder If you use Arduino IDE: https://github.com/me-no-dev/EspExceptionDecoder
I also have the same phenomenon. My solution was to include "SD.h" in the main. Unfortunately I don't know exactly why this fixed the problem. in main.cpp #include "SD.h"
The simplest solution is probably to add the option to platformio.ini: `lib_ldf_mode = deep+` PlatformIO compiles sdcard.cpp by default even if you don't need it. Unfortunately I don't know the...
Hi thank you for the extremely fast feedback. Unfortunately it makes no difference if I call `USBSerial.flush();` or not. Even if I don't define any callbacks myself the behavior is...
As a small addition: `USBSerial.printf("%c", i);` works very well in the output. There are not even missing characters in the output. The speed is also only about 60000 characters per...
Thank you for the wonderful tip. I will have to find a better solution but it works without errors and lost characters. The speed is about 128000 characters per second....
To prevent others from using my solution you should use the following function instead of `USBSerial.write(c);`: `USBSerial.write(&i, 1);` The function is much safer to use because it checks if a...
Thanks in any case for the help. But there seems to be a problem that I can't output so many characters (more than 4). My actual code also outputs several...