E2PROMx128_1 user module for CY8C20247-24LKXI

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

cross mob
lock attach
Attachments are accessible only for community members.
Eugenio966
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hello,

I need support for the topic in subject.

For the user module E2PROMx128_1 in PSOC 5.4  currently we use the CY8C20237 with below configuration:

Parameters - E2PROMx128_1

Name:               E2PROMx128_1

Version:            1.1

FirstBlock:       62

Lenght:             128

Can I use same configuration also for the CY8C20247?

Many thanks

Eugenio

 

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello @Eugenio966 ,

You need not change the code in anyway. E2PROM User Module calculates the flash address from the first block parameter. The E2PROM read and write routines take only an offset, which can range from 0 to Length - 1. If the First Block is placed at 62, the flash address will be (62*127 + Offset passed to read or write functions). So the code written already will not change.

You can keep the Length parameter as is.

There is nothing wrong if you leave the E2PROM placed in the center of memory. In case your program gets larger and larger, eventually it will occupy the E2PROM flash area. Right now there is no danger of this happening, since ROM utilization is only 31%. You will have to be cautious when it comes near about 49% (63/128*100).

Best regards,

Sampath Selvaraj

View solution in original post

0 Likes
5 Replies