| 전자부품 데이터시트 검색엔진 |
|
AN2540 데이터시트(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2540 데이터시트(HTML) 17 Page - STMicroelectronics |
|
17 / 25 page ![]() AN2540 - Application note Implementing the EEPROM emulation 17/25 Figure 7. 2nd method: WriteVariable flowchart 3.3.2.1 Key features of the 2nd method – User-configured emulated EEPROM size. – Increased Flash memory endurance: Sector erased only once it is full. – Non-volatile data variables can be updated infrequently – No need to perform a write operation if the updated value is the same. – Interrupt servicing during program/erase is possible. 3.4 Program execution Independently of the implementation scheme, the STR91xFxx internal Flash memory offers the ability to update a bank while code is executed from the other bank. Therefore, there is no need to transfer Flash memory operations (Program/Erase) to RAM. However when the CPU frequency is higher then 25 MHZ it is recommended to copy some routines into RAM This means that before erasing and programming, a few software routines have to be copied from the Flash memory into the on-chip RAM. Should be copied at least the routines used for the erase and program operations, and the routines that run while the erase or program operation is ongoing. Add element request full current active sector Add new element at the 1st empty element place in the current active sector Erase previous active sector End End Change the active sector Find Valid sector Yes No FindValidSector() WriteVerifyVariableFull() Copy all current elements by reading the active sector from the bottom, taking into account the new updated element. EepromSectorTransfer() ReadVariable() Function call ai14091 Check value same different End |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |