Cypress Perform

Home > Support & Community
support.cypress.com     Bookmark and Share
Support & Community

Knowledge Base Article



RAM needed to execute bFlashWriteBlock API

Last Updated: 06/10/2011

How much RAM does it take to execute the bFlashWriteBlock API?

Flash is read and written using SSC instruction which uses RAM locations (0,F8) through (0,FF) for passing variables to the supervisory ROM. (Please refer SROM section of the Technical reference Manual for more details on the same).

Apart from these locations, an additional 6 bytes of RAM is required which means that the bFlashWrite API uses a total of 14 bytes of RAM. Therefore you must not only assure that 0xF8 through 0xFF are free (for the SSC call), you need to also have 6 other bytes available in order to execute the bFlashWriteBlock API.



Provide feedback on this article

Did this article help you solve your problem?

Yes

No

Maybe

Additional comments:

To protect your privacy, do not include contact information in your feedback.

 Help us improve by taking a brief survey
Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 06/15/20
Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 06/15/20