Hello.
H2 model has in-package 2/4MB flash memory.
Can i read and write it from firmware or i only can connect externally via “SPI pins”.?
I want to :
1. Receive data from BT and store it in SiP flash.
2. Read data from SiP flash and send via BT.
Thank you.
[ESP32H2]Write/read SiP flash from firmware.
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: [ESP32H2]Write/read SiP flash from firmware.
You can. The cleanest way is to create a custom partition table with a partition for the data, then either use the partition API to access the data 'raw', or put any of the available filesystems (fat, spiffs, littlefs) on it to access the data as files.
-
- Posts: 1692
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: [ESP32H2]Write/read SiP flash from firmware.
Or use the NVS API if you only need to store a bunch of (configuration,...) values.
Who is online
Users browsing this forum: No registered users and 114 guests