Hi,Priya,
There are two options to implement to save text to internal flash.
1)as you said you can save the text in an char array and call the flash api function to save the char array into the internal flash without any file system.
2)we provide the fat file system, I think it is okay to write a file into internal flash. Pls refer to the directory:
Driver:\Freescale\KSDK_1.3.0\middleware\filesystem\fatfs, there are two files:ff.c and diskio.c. The diskio.c file is an IO interface, which includes disk_initialize(),disk_status(),disk_read() and disk_write(), different physical media needs different implementation of the above 4 api function. For the internal flash, you can use flash drive the SDK provides to inplement the above 4 api function. For example, for the disk_write(), the sector size is 1K bytes for Kinetis family, you can erase a sector, afterwords, you can program a sector with the data in buffer, it is okay. The high level api function is provided in ff.c, which do not need any modification for customers.
Hope it can help you.
BR
xiangjun rong