Please use the Flash (Invariable Memory) Test of PSoC 4 – IEC 60730 Class B and IEC 61508 SIL Safety Software Library Application Note.
Depending upon the program the stored checksum will vary. So, the user needs to obtain the project specific checksum by running the project either in debug mode or reading the calculated checksum from the UART terminal. We have added 'Appendix A. Set Checksum in Flash (Invariable Memory) Test' in PSoC 4 – IEC 60730 Class B and IEC 61508 SIL Safety Software Library AN with the screen shots. Please refer to 'Figure 24. Reassign Checksum Constant with Actual Checksum' to see where the project specific checksum is provided back.
PSoC 4 – IEC 60730 Class B and IEC 61508 SIL Safety Software Library is available at: https://www.cypress.com/documentation/application-notes/an89056-psoc-4-iec-60730-class-b-and-iec-61508-sil-safety-software
"This is the replay what i got form tech support of cypress and this works fine as per my requirement"