Hello Naresh,
For flash programming, please refer to procedure described in https://community.nxp.com/docs/DOC-100896.
According to your log, it seems that the NOR flash is in protection state, please add and execte the Unprotection task before NOR flash programming.
Thanks,
Yiping