SPRADL4
January 2025
F29H850TU
,
F29H859TU-Q1
1
Abstract
Trademarks
1
Introduction
2
Differences Between EEPROM and On-Chip Flash
3
Overview
3.1
Basic Concepts
3.2
Single-Unit Method
3.3
Ping-Pong Method
3.4
Creating EEPROM Sections (Pages) and Page Identification
4
Software Description
4.1
Software Functionality and Flow
5
Single-Unit Emulation
5.1
User Configuration
5.1.1
EEPROM_Config.h
5.1.2
F29H85x_EEPROM.c
5.2
EEPROM Functions
5.2.1
Initialization and Setup Functions
5.2.1.1
Configure_Device
5.2.1.2
EEPROM_Config_Check
5.2.2
Page Mode Functions
5.2.2.1
EEPROM_GetValidBank
5.2.2.2
EEPROM_UpdateBankStatus
5.2.2.3
EEPROM_UpdatePageStatus
5.2.2.4
EEPROM_UpdatePageData
5.2.2.5
EEPROM_Write_Page
5.2.3
64-Bit Mode Functions
5.2.3.1
EEPROM_64_Bit_Mode_Check_EOS
5.2.3.2
EEPROM_Write_64_Bits
5.2.4
Functions Used in Both Modes
5.2.4.1
EEPROM_Erase
5.2.4.2
EEPROM_Read
5.2.5
Utility Functions
5.2.5.1
EEPROM_Write_Buffer
5.2.5.2
Erase_Bank
5.2.5.3
Set_Protection_Masks
5.2.5.4
Configure_Protection_Masks
5.2.5.5
Fill_Buffer
5.2.5.6
ClearFSMStatus
5.3
Testing Example
6
Ping-Pong Emulation
6.1
User-Configuration
6.1.1
EEPROM_PingPong_Config.h
6.1.2
F29H85x_EEPROM_PingPong.c
6.2
EEPROM Functions
6.2.1
Initialization and Setup Functions
6.2.1.1
Configure_Device
6.2.1.2
EEPROM_Config_Check
6.2.2
Page Mode Functions
6.2.2.1
EEPROM_GetValidBank
6.2.2.2
EEPROM_UpdateBankStatus
6.2.2.3
EEPROM_UpdatePageStatus
6.2.2.4
EEPROM_UpdatePageData
6.2.2.5
EEPROM_Write_Page
6.2.3
64-Bit Mode Functions
6.2.3.1
EEPROM_64_Bit_Mode_Check_EOS
6.2.3.2
EEPROM_Write_64_Bits
6.2.4
Functions Used in Both Modes
6.2.4.1
EEPROM_Erase_Inactive_Unit
6.2.4.2
EEPROM_Read
6.2.4.3
EEPROM_Erase_All
6.2.5
Utility Functions
6.2.5.1
EEPROM_Write_Buffer
6.2.5.2
Erase_Bank
6.2.5.3
Configure_Protection_Masks
6.2.5.4
Set_Protection_Masks
6.2.5.5
Fill_Buffer
6.2.5.6
ClearFSMStatus
6.3
Testing Example
7
Application Integration
8
Flash API
8.1
Flash API Checklist
8.1.1
Flash API Do's and Do Not's
9
Source File Listing
10
Troubleshooting
10.1
General
11
Conclusion
12
References
Application Note
EEPROM Emulation Driver Guide for F29H85x