Programming flash in manufacturing environment using Codewarrior TAP
You can startup the arm cross gdb, and run available python scripts for flashing.  You might need to modify startup configuration files, and maybe create your own XML file with details of your device.  You can copy/modify the XML File.

https://community.nxp.com/thread/473850