Hi, I'm using uvision 5. I created a project for TM4C123GH6. Uvision generated two files, startup_TM4C123.s and system_TM4C123.s. I added a file main.c. In main I wrote the statements: int a,b,c; a= 100; b= 200; c= a+b; return 0; It compiles fine. Debugging simulation works fine. When I select Stellaris ICDI for debugging, the debugger goes crazy, kicks the program flow to unknown. Nothing wrong with my board, I used different vendor's IDE and it worked fine.
What is the problem here?
What on earth does that mean?
Please be specific!
Note that your code effectively does nothing - so is likely to be completely optimised away.
And what do you expect this to do in an embedded system:
return 0;
?!
Even Though inside main() I wrote a program to control LEDs or copy a program from the internet when I select for Settaris ICDI debugging, the debugger stops momentarily at the break point and disappears. Anyone has a demo program that works with Settaris ICDI debugger?