Search found 41 matches

by lesept
Mon Dec 30, 2024 11:52 pm
Forum: ESP32 Arduino
Topic: Need help for XiP
Replies: 4
Views: 751

Re: Need help for XiP

Thanks, that's what I meant: the overall execution time. My code is an AI inference code that executes blocks of instructions which are very similar: load arrays, perform operations. These operations are made of several levels of for loops, with array multiplication - addition inside. I think they a...
by lesept
Mon Dec 30, 2024 11:08 pm
Forum: ESP32 Arduino
Topic: Need help for XiP
Replies: 4
Views: 751

Re: Need help for XiP

Thanks for your answer.
If I tag a specific function to be in IRAM, will it be executed faster than if it was not tagged?
by lesept
Mon Dec 30, 2024 1:47 pm
Forum: ESP32 Arduino
Topic: Need help for XiP
Replies: 4
Views: 751

Need help for XiP

Hi,
I'd like to know more about XiP. Is it available with the Arduino IDE?
by lesept
Fri Aug 02, 2024 11:04 am
Forum: ESP32 Arduino
Topic: ESP32S3 Memory problem [solved]
Replies: 5
Views: 2512

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: 2512

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: 2512

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: 2512

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: 2512

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: 2538

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: 2538

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...