Question: I cannot find the EEPROM
and EEPROM_PingPong projects, where are they?:
| Device |
Build Configurations |
Location |
| F29H85x |
RAM, FLASH |
f29h85x-sdk > examples > driverlib >
single_core > flash |
Question: What are the first things
I should check if the EEPROM project encounters an error?
Answer:
- View the configuration file
(EEPROM_Config.h, EEPROM_PingPong_Config.h) and check the provided options for the
following: programming mode (64 bit vs. Page), number of EEPROM banks, number of
EEPROM pages, and the data size of EEPROM pages. Also, check the main program file
(EEPROM_Example.c, EEPROM_PingPong_Example.c) to see if the correct Flash Sector
locations are being used for EEPROM Emulation. If an incorrect first and last sector
value are provided, an error will occur and be seen in the EEPROM_Config_Check
function. The EEPROM_Config_Check function will provide general information for error
checking.
- Ensure that the protection masks are enabled or disabled for the appropriate
sector(s) selected for EEPROM Emulation for your device. For more information, see
the device's Flash API reference guide.
- One area of the program to check would be the linker command file - make sure all
flash sections are aligned to 128-bit boundaries. In SECTIONS, add a comma and
"ALIGN(8)" after each line where a section is allocated to flash.