We have been working with the TMS570 USB Stick for seven months. All of our programming in C has gone very smoothly.
My students and I are now writing Assembly language code for the TMS570.
I have written an assembly language module. I have assembled the code successfully. I have written a link command file and successfully linked the module to target FLASH and another to target RAM. This has all been accomplished on the Command Line to avoid all the questions that might be associated with IDE, etc.
My objective is to load the object file into RAM using Code Composer Studio. Of course I would then like to execute the code using the Debugger. In the Introduction to Object Modules Chapter, Chapter 2, of theARM Assembly Language Tools v4.9 User’s Guide, Section 2.6, Loading a Program, states that:
"Code Composer Studio can load an executable object module onto hardware. The Code Composer Studio loader reads the executable file and copies the program into target memory."
I am sure this must be covered in the documentation however, I have not been able to locate this information.
At this time the module is designed to be a standalone module. Other associated questions are:
1. What is the minimum content of an .obj file? (.text only, or .text, .data and .bss)
2. Are there other code modules that must be linked with my code?
Example: --symdebug:dwarf
Of course all guidance in and around this question will be appreciated.
Thanks,
George