- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am trying to get the custom easy_eeprom component to work but I get a compile error due to the CySpc.h not being found.
I am using a PSoc4200.
I did try the built-in eeprom component and that work for a long time. Then I added an item to the array and from then it never worked again. When I look at the generated code almost every important thing is optimized out. It does not faiul but just does not write the flash.
Can someone assist with the missing header please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will have to tell us a bit more:
Which PSoC are you referring to?
Which Creator version are you running?
Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will have to tell us a bit more:
Which PSoC are you referring to?
Which Creator version are you running?
Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob
I did say PSoc4200. The file in question is part of a system service or component that is for the PSoc5 range only. The creator of the custom component neglected to mention that the component will only work on PSoc5.
I am trying to use this component because the built-in easy_eeprom component does not always function correctly. For some reason it does not write the flash location. When I step into the code I found that many important pointers are optimized out for some reason and my uneducated impression is that the component cannot function correctly like that.
Sorry I cannot post the code on open forum as I am restricted from doing so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I create a new project using Creator 3.3 and as target a PSoC4200 i have in the "System"folder a component named emEEPROM that just works fine.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob I will give it a go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It says that the component is not compatible with the selected device. (CY8C2445AXI) I think it writes to the eeprom in the PSoc devices. There are none of those in the PSoc 4200
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob
Yes that is the emulated EEPROM, (emEEPROM)not a real eeprom like in the PSoc5. It is the exact component that is giving trouble.
Anyhow, I did get a possible solution from Cypress support that I must still test. In the meantime I opted to use the native flash routines to write to a row of flash at the end of the block.