Search found 38 matches

by lesept
Fri Aug 02, 2024 11:04 am
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 1681

Re: ESP32S3 Memory problem

I finally found the solution, related to some compiler attriubtes not taken into account by the Arduino IDE.
by lesept
Wed Jul 31, 2024 10:44 am
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 1681

Re: ESP32S3 Memory problem

Here is the only output on the serial monitor when I uncomment the last layer: Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3818,len:0x508 load:0x403c9700,len:0x4 load:0x403c9704,len:0xad0 load:0x403cc700,len:0x29e4 entry 0x403c9880 N...
by lesept
Wed Jul 31, 2024 8:27 am
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 1681

Re: ESP32S3 Memory problem

Hi, thank you for your answer. There is no specific framework, only C functions, and they do not return error results. Using PSRAM would be my next step. I think that if my arrays are too big for the SRAM, I would store them in PSRAM. But so far, this example does not seem to use arrays that do not ...
by lesept
Tue Jul 30, 2024 6:37 pm
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 1681

Re: ESP32S3 Memory problem

Some additional information: Chip Info: ------------------------------------------ Model : ESP32-S3 Package : 0 Revision : 2 Cores : 2 CPU Frequency : 240 MHz XTAL Frequency : 40 MHz Embedded Flash : No Embedded PSRAM : No 2.4GHz WiFi : Yes Classic BT : No BT Low Energy : Yes IEEE 802.15.4 : No ----...
by lesept
Tue Jul 30, 2024 6:32 pm
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 1681

ESP32S3 Memory problem [solved]

Hi I'm running an AI code on an ESP32S3 board equipped with 8MB PSRAM and 16MB Flash. The code is doing the inference, and all the parameters and the input data are in separate .h files. The AI network is made of several layers, and the code works correctly and gives the correct results up to the la...
by lesept
Wed Jun 26, 2024 6:58 pm
Forum: ESP32 Arduino
Topic: Managing RAM for large arrays
Replies: 2
Views: 1831

Re: Managing RAM for large arrays

Thanks for your answer. I actually got an ESP32 S3 N16R8 which arrived today and I tried it: it behaves much better. I can go up to N = 1000000 float arrays on my test sketch.
by lesept
Wed Jun 26, 2024 9:43 am
Forum: ESP32 Arduino
Topic: Managing RAM for large arrays
Replies: 2
Views: 1831

Managing RAM for large arrays

Hi I want to use large float arrays in a code, related to AI. So before that I want to test how much of such arrays I can load in RAM. I wrote a code to test but I'm quite disappointed in the results. Here is the code : it dynamically allocates a temporary array to place it in flash memory, using Pr...
by lesept
Mon Dec 27, 2021 4:14 pm
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 8068

Re: Directly read n-th line in a file in SPIFFS

Thanks. Which library does this? LittleFS, SPIFFS?

Edit: Never mind, it seems it exists in both...
Thanks again, and Happy New Year! :D
by lesept
Sun Dec 26, 2021 11:20 pm
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 8068

Re: Directly read n-th line in a file in SPIFFS

Thanks for your answer. I think this is exactly my case.
My file would be made of several lines (around 2000) each of which is made of 197 bytes.
So it's easy to know the exact place of each lines.

How can I then access for example the 200th line?
by lesept
Sun Dec 26, 2021 12:17 am
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 8068

Directly read n-th line in a file in SPIFFS

Hi
Is it possible to access directly a given line of a file stored in SPIFFS, I mean without reading all the lines before from the beginning of the file ? Thanks