Bare metal application for UART


I need to receive the file from the Host system to the U74 UART0 port.
I have the application but it is not waiting for the data to receive.
This application is running on the L2 (LIM) memory so i need to write bare-metal application.

kindly give some input or application which will receive the file data from HOST to target.

Thanks in advance.

Ashoka A D