Other Parts Discussed in Thread: MSP430F2618
Hello,
I've started moving my code over to CCS after developing in IAR for awhile. Currently, I'm trying to do simple unit tests on some of my functions, but when I have all of my code implemented, the program will not run to the begging of main by default. The debugger claims the program is running, but I get no output and I can't what the MCU is running.
I've attached a version of the code I'm running now. Note that this a stripped down version of the full code. Comply the threshold unit test defined in unitTests.h, and the computeThreshold() function defined in insideSystem.c are used in this example.
If I comment out the line:
result = runUnitTests(1);
It will run the code and simply print out the printf() statement below it. If I leave this line in, the code "runs" but it does not pause at main, and none of the print statements I expect to see appear.