Is there any F035 Flash API sample code?

i would like to develop a bootloader for TMS470MF066. Is there any sample code which uses F035 Flash API? If my bootloader code is running in Bank 0 Sector 0, can i flash other sectors within Bank0 or the bootloader code must run in RAM? Thanks!