Hello.
I would like to install an SD card memory in my project. The ItsyBitsy M4 Express has an internal SPI flash. But I can't find any way to write about the program on it or to read from it. Using an SD card extension, you can create a text file on an SD card and write content there or read from it. I would like to do that with the M4 SPI flash memory, but I can't find a way.
I often get an error in the Arduino IDE that it doesn't work with the ATSAMD51.
Is there a way to access (read / write) the internal flash memory via a running Arduino program?
Do I still have to move SPI ports somewhere? If how?
Thank you in advance.
M4 internal SPI Flash - write/read
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: M4 internal SPI Flash - write/read
The SAMD51 microcontroller used in the ItsyBitsy M4 has an internal Flash array, and the board has a separate 2MB Flash chip to store data for CircuitPython.
Reading and writing data to the 2MB external Flash chip is done through the ‘storage’ module in CircuitPython:
https://circuitpython.readthedocs.io/en ... index.html
https://learn.adafruit.com/introducing- ... on-storage
Reading and writing data to the 2MB external Flash chip is done through the ‘storage’ module in CircuitPython:
https://circuitpython.readthedocs.io/en ... index.html
https://learn.adafruit.com/introducing- ... on-storage
Please be positive and constructive with your questions and comments.