Part Number: EVMK2G
Tool/software: Code Composer Studio
I'm trying to build and run the simplest "hello_K2GEVM_CortexA" example.
If I compile the example, it builds but doesn't run properly. It acts like its loading and running but does not break at main() and only gives the red terminate icon.
Thinking maybe its missing some startup code, I add "startup_ARMCA15.S" to the build and it gives the error " undefined reference to `_start' ". Not sure that I need this file since the example builds without it, but since it doesn't run properly I'm just grasping at straws.
Enter_BootLoader: LDR r10, = _start @ Get the address of _start <<<==== offending line of code MOV lr,pc @ Dummy return BX r10 @ Branch to main SUB pc, pc, #0x08 @ looping
Please make sure you read the forum guidelines first.
In reply to Yordan Kovachev:
In reply to lding:
In reply to Roger Davis37:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.