This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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
Where can I find example code that uses the recommended 570 initializations as described in SPNA119?
It would be helpful to add a link to the Application Report download page (http://focus.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=spna119&docCategoryId=1&familyId=1870) with a ZIP file containing code showing how the initialization is integrated into an example program.
Thanks, Jeff
Jeff,
I will forward your request to the concerned team.
All the code generated using Halcogen Code Generator tools has these recommended initializations. http://focus.ti.com/docs/toolsw/folders/print/halcogen.html
Meanwhile you can refer to the TMS570 Safety MCU Demo code while follows the recommended 570 initializations. If you have installed the TMS570 Development Kit / USB Kit DVD, the demo software can be accessed by going to Start->Programs->Texas Instruments->TMS570 Safety MCU Demos. Run the program TMS570 Safety MCU Demos and then click on the Code Composer Studio button on the bottom right hand corner. This should automatically open and import the project into a workspace. You can then view, edit and even debug the project.
The Demo software can also be downloaded from http://focus.ti.com/docs/toolsw/folders/print/tms570_safety_mcu_demos.html
Cheers!
Prathap