- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears that since the 2.0 rewrite of the Emulated EEPROM component, it now supports PSoC 4 with BLE. I'm trying to use this component in one of my projects and I'm running into an issue.
I can read from the emulated EEPROM without issue, but when I try to write to it, I end up in the default interrupt handler, so something is clearly going wrong in the hardware.
The CE195313 project works perfectly on my hardware, so it's not a board issue. I've duplicated the code from the example and also made sure that my component and clock configurations match. The only real difference that I can find is that because the example code is pretty small, the area of flash that gets allocated to the emulated EEPROM is pretty low in the address space (0x00001300), and in my project, which has a lot of code in it, it's pretty high (0x0001BC00). I wouldn't expect this to make a difference, but maybe it does...?
The documentation for this new rewritten component is unfortunately not very complete and not quite in English, so I don't have much to go on. Does anyone have any insight?
Thanks.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Em_EEPROM v2.0 writes and reads are successful after placing the Em_EEPROM_em_EepromStorage array at location 0x0001BC00 at my end.
- What is the EEPROM size used in your application?
- Can you use the same EEPROM size in EEPROM code example (CE195313) and recreate the issue?
- Are you using sprintf(), malloc() and related functions in your firmware? If yes, please increase the heap size.
Can you please share the project to recreate and debug further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- I duplicated the component configuration from the example project, including the EEPROM size.
- I'm not using any of those functions or any dynamic memory allocation.
I can't share a proprietary project in a public forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for update. We will get in touch with you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case it helps, here's the relevant code extracted from my project:
static const uint8 eeprom[EEPROM_PHYSICAL_SIZE] __ALIGNED(CY_FLASH_SIZEOF_ROW) = {0};
EEPROM_Init((uint32) eeprom);
EEPROM_Read(0, &storedValue, sizeof(storedValue));
EEPROM_Write(0, &value, sizeof(value));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When should I expect an update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Previously shared Em_EEPROM specific instructions looks fine. The issue seems to be specific to the project. Our Field Application Engineer (FAE) will provide you the latest updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
geon - can you email me and let me know which FAE in San Jose is helping user_362267832