- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is it possible to implement a memory card inside UDBs? not anything big just approximately a 32KB. also is the UDBs volatile or non-volatile?
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could potentially do it in FLASH.
FLASH has a 100,000 cycle erase limit, but adding a wear leveling algoritim
to it could extend R/W lifetime.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
huh...so the PSOC 5 already has 64KB of FLASH memory but can I use it all or is some of it dedicated for system operation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Flash is being used for storing your code. So you can use only the remaining part of the Flash for data storage.
Instead, I would recommend to use an external SD card and interface it to PSoC 3/5LP using an emFile component.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
see this is the problem. I don't want to use an external SD memory card to save space that's why I am asking about the implementation inside the UDBs.....any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since a PSoC usually is not removable from your PCB your question can be re-formulated as
How to store Data within a PSoC.
It depends on the amount of changeable data required to see whether the EEProm-module will serve your needs, all required constant memory can reside in flash and is written together with the code at programming-time. The EEProm area/modul has to get customized for your needs and you may use it as an area of memory where data is written to under your control and read from like any other memory area using pointers.
When you are a bit more specific about ýour reqirements (Size, frequency of writing, precautions against power-loss during write, amount of data written at each request etc) we probably may find a solution for you.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The UDB array would not support 32K, as you can see its basic structure in
attached pic. There is only small amounts of memory in them, for FIFO, config
registers, etc..
Your only alternative is to create an SD equivalent in FLASH program space,
and use wear leveling algorithim.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If a SD card is too large, why not go for an external EEPROM (or a non-volatile sRAM, which you can get from Cypress as well)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSOC 5 comes with up to 256 KB Flash, so your 32KB requirement easily achived,
unless your code size brings you right up to part limitations.
One example - http://www.embedded-access.com/products/ffs_flash_file.html
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
one question leads to another 🙂 in the PSOC 5 family datasheet I found that it says FLASH is "up to 256 KB" and I found some PSOC 5 chips with only 64KB... so I'm planning to buy this kit http://www.cypress.com/?rID=51577....can you please tell me whether it has 256KB flash?
- 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
This might help, good discussion on FLASH orgranization and programming flow.
www.cypress.com/?docID=32778
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks guys (and girls) 🙂 you are simply the best