memory card inside UDBs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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? 

0 Likes
12 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
Anonymous
Not applicable

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? 

0 Likes
Anonymous
Not applicable

 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.

0 Likes
Anonymous
Not applicable

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? 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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)?

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
Anonymous
Not applicable

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? 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

It has 256kB flash, look here http://www.cypress.com/?mpn=CY8C5868AXI-LP035 

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might help, good discussion on FLASH orgranization and programming flow.

   
   

     www.cypress.com/?docID=32778

   
   

Regards, Dana.

   
0 Likes
Anonymous
Not applicable

thanks guys (and girls) 🙂 you are simply the best  

0 Likes