Hi, pay attention to following example code. Although it is written for different device, principle of simple flash programming is the same:
https://community.nxp.com/docs/DOC-101849
However better solution is to use SSD driver (NXP site for particular device, Software&Tools/Run-Time Software/Middleware-Device Drivers).
Example code then you will find in installation directory.
Thanks for your support david tosenovjan..i will check and let me know you..i am new to flash programming..pls provide study materials for nvram basics..