I’m trying to store a buffer of 14000
uint16_t to Flash. I managed to do so, thanks to this great code:
The problem is the following:
each time I want to do something (e.g. read or use that for math operations) on that buffer stored in Flash, the code suggests me to copy the array to the SRAM (that functions simply copy structs from Flash to SRAM and from SRAM to Flash).
But doing so, i will quickly run out of space in SRAM.
So, is there a way to read (and work on) datas from Flash memory without having to copy them to SRAM?
I’m working on SARA AFF N211, so the MCU is the ATSAMD21J18A with 256KB of Flash and 32KB of SRAM.