Question: Why does the hex file change after building the PSoC Designer 5.3 project in PD 5.4 if neither user modules nor the boot.tpl file is updated? How to avoid the hex file change?
If a E2PROM User Module or Flash APIs are used in the project, the E2PROM User Module uses the Flash API. The Flash API libraries are different for different PSoC 1 families. To avoid the difference in hex files, Flash APIs in PSoC Designer 5.4 should be replaced by Flash APIs from PSoC Designer 5.3. Flash API libraries are located in the same folder for both PSoC Designer 5.3 and 5.4 releases:
PSoC Designer 5.3 and 5.4 versions can be installed simultaneously side-by-side. Don’t forget to create a backup for the Flash API libraries before overwriting the 5.4 version with the 5.3 version.
If you use the Flash API of PSoC Designer 5.3, then set a Sleep Timer interval to one second and then clear the Sleep Timer before a Flash (E2PROM) Write API call.