(RTOS 1.4) Spiffs address alignment
-
- Posts: 1
- Joined: Thu Aug 11, 2016 1:30 am
(RTOS 1.4) Spiffs address alignment
Postby scottlangendyk » Thu Aug 11, 2016 1:33 am
I've been trying to figure out how to get spiffs working, and having a hard time. Looking through the source, I see that the SPI addresses are being aligned based on a FLASH_UNIT_SIZE declaration. Why is this?
Re: (RTOS 1.4) Spiffs address alignment
Postby pratik » Fri Aug 12, 2016 10:52 am
Hello,
Flash devices may only allow access to word-boundary aligned addresses only. For this reason, flash accesses are aligned.
As for access to primary flash memory of ESP8266 - that definitely needs word-boundary aligned access because of the architecture of the ESP8266.
Flash devices may only allow access to word-boundary aligned addresses only. For this reason, flash accesses are aligned.
As for access to primary flash memory of ESP8266 - that definitely needs word-boundary aligned access because of the architecture of the ESP8266.
Who is online
Users browsing this forum: No registered users and 13 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.