Hello Sivakrishna,
This is possible using a bootloader. You can check our bootloader examples from the SDK, this bootloader supports loading data to flash via UART peripheral.
Please make sure you select mcu-boot in software components before downloading the SDK as the snippet below demonstrates.

For more information please visit the MCU-BOOT website below:
MCU Bootloader | NXP
Hope it helps!
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------