PSoC 4 Emulated EEPROM

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

cross mob
Anonymous
Not applicable

Hi,

   

I am having some issues with the emulated EEPROM. I have set it up as a set location in flash memory 0x1a00 using the linker and MYSECTION params. However, everytime I reprogramm the device it clears all the flash memory. How can I ensure it does not do this when I am reprogramming it?

   

I can attach a project if that would help. I am using the PSoC4 prototyping kit.

   

Regards,

   

Lance 

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

This should help -

   

 

   

    

   

          http://www.cypress.com/?id=4&rID=94385

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Thanks Dana, that did help. (I am having issues with the miniprog hence the delayed response, it sometimes just doesn't want to program anything).

   

 

   

So now I have control over the memory I am trying to figure out how I can calculate where the code would reside in the PSoC flash. I have a defined location in the memory for the emEEPROM (0x1a00), but I am not sure how to erase/program the flash blocks up to that address.

   

Additionally, the application note said to change the customer linker file to tell the design to leave that area alone, but as I have a defined memory location (on the command line link function) I should not need to do that correct?

   

 

   

Regards,

   

Lance

0 Likes