Search found 18 matches

by copych
Thu Oct 10, 2024 8:13 pm
Forum: ESP32 Arduino
Topic: ESP32S3 N16R8 LittleFS sketch data uploading fails
Replies: 5
Views: 1107

Re: ESP32S3 N16R8 LittleFS sketch data uploading fails

This must have been my corrupted setup. Reinstalled plugin, rebooted, and it worked.
by copych
Wed Oct 09, 2024 1:03 pm
Forum: ESP32 Arduino
Topic: ESP32S3 N16R8 LittleFS sketch data uploading fails
Replies: 5
Views: 1107

Re: ESP32S3 N16R8 LittleFS sketch data uploading fails

What partition scheme are you using? I tried almost every one that would fit the files. Which one should I choose? It feels like there's not a lot 16MB schemes, is it? About the errors, as I can remember, on start the example app was telling about wrong directory pair or tuple or whatever {0,1} som...
by copych
Tue Oct 08, 2024 9:18 pm
Forum: ESP32 Arduino
Topic: ESP32S3 N16R8 LittleFS sketch data uploading fails
Replies: 5
Views: 1107

Re: ESP32S3 N16R8 LittleFS sketch data uploading fails

Thanks for your reply, I've already tried that example, and it works fine as well as my app, when it comes to operating with LittleFS from within an app. But when I upload files thru the IDE, they just won't be there and the apps don't see the FS. So I wonder if it's just my corrupted setup, or the ...
by copych
Tue Oct 08, 2024 7:25 pm
Forum: ESP32 Arduino
Topic: ESP32S3 N16R8 LittleFS sketch data uploading fails
Replies: 5
Views: 1107

ESP32S3 N16R8 LittleFS sketch data uploading fails

Within an Arduino project I have a 'data' folder, and if I use ESP32 board, 'data' contents is freely uploading to the flash memory via 'Tools'->'ESP sketch data upload'. But when I use ESP32S3 board, this same tool doesn't do the job. It shows that it's ok, and progress goes from 0% to 100% and the...
by copych
Thu Sep 05, 2024 6:48 am
Forum: ESP32 Arduino
Topic: ESP32-S3 USB Port uploads but serial comms are not working.
Replies: 5
Views: 2496

Re: ESP32-S3 USB Port uploads but serial comms are not working.

Hello, I also get confused when dealing with COM ports of S3. I use these ports with MIDI library, and I haven't yet made it clear nor found a universal solution for different versions of ESP Arduino core. But here's what I've found for now: Core 2.0.17 When a board doesn't have a dedicated UART chi...
by copych
Fri Mar 22, 2024 8:01 am
Forum: ESP32 Arduino
Topic: Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')
Replies: 3
Views: 1896

Re: Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')

The ESP32's RAM is somewhat 'segmented' in hardware (see e.g. here ); there's Instruction RAM (IRAM) and Data RAM (DRAM), where 192kb of IRAM are not available as general data storage, and there's a limit of 160kb for static allocations according to https://docs.espressif.com/projects/esp-idf/en/st...
by copych
Thu Mar 21, 2024 12:44 pm
Forum: ESP32 Arduino
Topic: Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')
Replies: 3
Views: 1896

Re: Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')

Ok... for those interested. I still wonder how I can change the size of memory segments in Arduino (if possible at all). The solution for me right now is declaring members of a class as pointer types instead of typed variables, and then initializing them in runtime with new or malloc() etc. Some are...
by copych
Thu Mar 21, 2024 6:39 am
Forum: ESP32 Arduino
Topic: Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')
Replies: 3
Views: 1896

Different memory mapping for ESP32 and ESP32S3 (section `.dram0.bss' will not fit in region `dram0_0_seg')

I have a project that is compiled and run with no problems when target is ESP32S3, but won't compile when I set ESP32. It sais c:/users/x/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/l...
by copych
Tue Mar 05, 2024 4:27 pm
Forum: ESP32 Arduino
Topic: PSRAM caching, CPU / DMA etc.
Replies: 4
Views: 1922

Re: PSRAM caching, CPU / DMA etc.

I allocate buffers using malloc(), but only once per global init, so I doubt this to be an issue. After that I use pointer arithmetic to access these arrays. The matter is when I use heap_caps_malloc( BUF_SIZE_BYTES , MALLOC_CAP_INTERNAL) then it works fast enough, but this obviously limits the size...
by copych
Tue Mar 05, 2024 10:03 am
Forum: ESP32 Arduino
Topic: PSRAM caching, CPU / DMA etc.
Replies: 4
Views: 1922

PSRAM caching, CPU / DMA etc.

I use ESP32-S3 for audio processing, and wonder if I can improve performance. As I can figure out, the bottleneck now is caching mechanism for PSRAM. Am I able of doing something around it within Arduino? Can I turn caching off, and do all the memory stuff in-app, cause actually I operate block-wise...