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?
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.
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?
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.
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?
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.
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
Your only alternative is to create an SD equivalent in FLASH program space,
and use wear leveling algorithim.
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)?
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
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?
It has 256kB flash, look here http://www.cypress.com/?mpn=CY8C5868AXI-LP035