Hi V.K.,
MQX has a flash driver called FlashX that is used to access the on-chip flash for the various supported MCU's.
You can look at example:
C:\Freescale\Freescale_MQX_4_0\mqx\examples\flashx
You can look at the driver source code:
C:\Freescale\Freescale_MQX_4_0\mqx\source\io\flashx\freescale
Or download the baremetal Flash Drivers from web:
C90TFS_FLASH_DRIVER: TFS Flash Driver Software for Kinetis and ColdFire+ Microcontrollers.
Size (K): 9687 Format: exe Rev #: 0.3.3 Modified: 10/17/2012
Hope this helps.
Regards,
David