TMS570 ARM CortexR4F Microcontrollers have to be initialized properly before actual application.
The following items are necessary for proper initialization of the device:
• Initialization of internal R4F core registers and return stack
• Setup stacks
• Configure Flash memory option
• Setup system and peripheral clocks
Optional
• FPU initialization
• ECC initialization
For more information on the recommended initialization procedure for TMS570 Microcontrollers refer the below Application Report.
http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spna119