Hi,
As igor said, download SDK. There are some example programs in it.
You can load examples on both DDR and TCM memory, so there are two different build scripts each with release and debug version.
Build one Example for TCM, i.e. run the script without ddr in its name.
To load the program, you can use UBoot or Jtag Programmer.
For UBoot, you can use the below commands:
u-boot=> tftpboot 0x48000000 ${serverip}:<example.bin>
u-boot=> cp.b 0x48000000 0x7e0000 0x20000
u-boot=> bootaux 0x7e0000
Be careful that as the address used in uboot is for TCM, you need to use the script without <ddr> in its name.
Hope it helps you