PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service


by Gilbert Yap


Cypress’ PSoC5 line of microcontrollers are a great option for high performance at a low cost. The PSoC 5 provides an Error Correcting Code (ECC) feature to help detect errors in operations that manipulate the flash memory. The ECC peripheral can be enabled or disabled by writing to the Nonvolatile Latch (NVL). The advantage of disabling ECC is that each row of flash gains 32 bytes for data storage, extending the row from 256 to 288 bytes.

The following table outlines how much storage can be gained from disabling ECC based on the device’s flash memory.


Flash Memory Size (KB)

Storage Gained (KB)

64

8

128

16

256

32


When purchasing a new PSoC5 device from Cypress, the ECC feature is enabled by default. Users whose programs use the ECC bytes for program or data storage will be met with an error if they attempt to program this area. These users should use the “DC ;Disable ECC” option in the Cyclone Image Creation Tool or PROGACMP prior to programming their new device. The ECC will be disabled from this point forward, but can be enabled by using the “EC ;Enable ECC” command. 





search in blog posts

Tags

Product pages
Cyclone (122)
Cyclone FX (127)
Multilink (81)
Multilink FX (74)
GDB Server (39)
Prog ACMP (43)
Interface Library Routines (7)


Manufacturer
ARM (107)
NXP (98)
Microchip (7)
Cypress (7)
Infineon (8)
Maxim (3)
Nordic Semiconductor (3)
Silicon Labs (6)
Silergy Teridian (1)
STMicroelectronics (14)
Texas Instruments (2)
Toshiba (3)
Renesas (17)


Categories
Production Programming (126)
Debug (77)
Automated Control (37)
Miscellaneous (41)



© 2023 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement