Hello @Hariprasath_eplane ,
Do I need to apply the license.dat file anywhere?
->> It should be located in the C:\Freescale\CW MCU v11.2\MCU directory.
Celeste_Liu_0-1777358321486.png
Then restart CodeWarrior, open Help -> Freescale License, and you will be able to see its status.
Celeste_Liu_1-1777358443810.png
Also, if the device enters secure mode, how do I erase it in CodeWarrior?
->> You can use flash programmer to erase the device with checking "Unprotect flash memory before erase":
Celeste_Liu_3-1777358760380.png
Celeste_Liu_2-1777358738951.png
For more information about flash programmer tool, you can refer to Program DSC with CodeWarrior for MCU ver11.x.
And how to generate the .pmpx in the codewarrier?
->> Codewarrior can't generate the .pmpx. It's generated by Freemaster. Please refer to FMSTERUG for more details.
BR
Celeste