Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

General • Re: Writing data into flash memory on PICO2

$
0
0
That means, upon user command to store settings, it might freeze or not.
while writing to flash, all XIP access must be halted, so you need to ensure the functions for writing to flash are held in ram, and that the other cpu core isnt accessing flash, and no interrupts occur while writing

i believe the stock functions deal with keeping that code in ram and irq's
so you just need to stop the other core before every write, and resume it after every write, functions already exist to handle that, but you need to initialize things

Statistics: Posted by cleverca22 — Wed Aug 06, 2025 12:16 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles