From 06805842ea8e3c4f973bc6beeeddbbab4b5d2521 Mon Sep 17 00:00:00 2001 From: Dmitry Yakovlev Date: Mon, 24 Jul 2017 08:47:34 +0300 Subject: [PATCH] Some typos corrected in readme. --- components/wear_levelling/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/wear_levelling/README.rst b/components/wear_levelling/README.rst index c9fdd849ba..cd5bd438db 100644 --- a/components/wear_levelling/README.rst +++ b/components/wear_levelling/README.rst @@ -14,13 +14,13 @@ memory mapping data in the external SPI flash through the partition component. I also has higher-level APIs which work with FAT filesystem defined in the :doc:`FAT filesystem `. -The weat levelling componwnt, together with FAT FS component, works with FAT FS sector size 4096 +The weat levelling component, together with FAT FS component, works with FAT FS sector size 4096 bytes which is standard size of the flash devices. In this mode the component has best perfomance, but needs additional memoty in the RAM. To save internal memory the component has two additional modes to work with sector size 512 bytes: Performance and Safety modes. In Performance mode by erase sector operation data will be stored to the RAM, sector will be erased and then data will be stored back to the flash. If by this operation power off situation will occure, the complete 4096 bytes -will be lost. To prevent this the Safety mode was implemented. In dafety mode the data will be first +will be lost. To prevent this the Safety mode was implemented. In safety mode the data will be first stored to the flash and after sector will be erased, will be stored back. If power off situation will occure, after power on, the data will be recovered. By default defined the sector size 512 bytes and Performance mode. To change these values please use -- 2.40.0