- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the first time I am using Emulated EEPROM in PSoC4 and it is not working. I have attached my test project. Please help me to find where I am making mistake.
Solved! Go to Solution.
- Tags:
- emulated eeprom
- psoc4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As the first parameter of Em_EEPROM_Read and Em_EEPROM_Write APIs, please use the logical Em_EEPROM address instead of the physical address. The API internally converts it to the actual physical address and updates data. If you want to read and write to the first location please use, Em_EEPROM_Read(0, cnt, 1u); and Em_EEPROM_Write(0, cnt, 1u);.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As the first parameter of Em_EEPROM_Read and Em_EEPROM_Write APIs, please use the logical Em_EEPROM address instead of the physical address. The API internally converts it to the actual physical address and updates data. If you want to read and write to the first location please use, Em_EEPROM_Read(0, cnt, 1u); and Em_EEPROM_Write(0, cnt, 1u);.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot. It is working.