Using CCS 6.0.1.00040 under Win 7Enterprise 64-bit . Working with a Evalueation Board: TMDS570LS31HDK.
Just trying to familiarize myself with the debugger but cannot hit a single breakpoint.
Sequence followed:
Project -> New CCS Project
Selected:
TMS570LS3137 (the processor on the module),
TI XDS100v2 USB Emulator (as silkscreened on the board)
Compiler Version: TI v5.1.6
Output Type: Executable
Output Format: eabi (ELF)
Device endianness be32
Linker command file: TMS570LS313xFlashLnk.cmd
Runtime Support: rtsv7R4_T_be_v3D16_eabi.lib
Project Template: Empty Project (with main.c)
Entered simple sequence that does not require additional libraries, a simple for-next with a switch embedded
int main ( void)
{
char i ;
char j ;
j = 0 :
for ( i = 0 ; i < 2 ; i++ )
{
switch (i)
{
case 0:
j = i ;
break ;
case 1:
j = i ;
break ;
default:
j = i ;
break ;
}
}
return 0 ;
}
Nothing fancy; just something to try out. Set a hardware breakpoint on the first case.
Hit the "BUG" button to build and debug but only got a message that:
Symbols not defined for 0x00000004.
Verified that the entrypoint at main option was selected in the debugger options of the project properties
but it acts like there is no startup code or no starting vector. I would not expect to need to supply any for
a plain vanilla project. Am I correct?
I spent the better part of the day reading posts/watching videos but did not find what I was looking for. There
seem to be no examples in my installation to which I could refer. Where did I fall off the path?