Hi, unfortunately the application is available as it is. However I am able to provide you my example project which works with flash. I believe it will help you. Some more examples and the project can be found in
LAMA's S12XE unofficial examples
https://community.nxp.com/docs/DOC-95116
Moreovevr, do not esitate to ask if there are any additional questions related to flash behavior.
Best regards,
Ladislav