This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430F5152: CCS v7 can't support the long size code

Part Number: MSP430F5152
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Sir, I am working on MSP430f5152 mcu, i have writing a code in CCS v7. Now when i write a more code or increase the size of code the CCS not allow me to debug the code and also not run its HEX file in circuit. When i comment the any part of the code than its work properly.

  • Hi,

    can you please share the error message displayed by the CCS?
    The MSP430F5152 has 16kB of memory. Do you stay within this limit?

    Best regards,
    Andre
  • Hi,

    do you have further questions regarding this topic? If not, please select "Resolved" for the post that solved your issue so this thread can be closed out. If you have a different question, please select "Ask a related question" or " Ask a new question".
    Thanks a lot!

    Best regards,
    Andre
  • there is no any error message. But debug time play button is not active as i show in bellow image.

  • My program size is 13k
  • Please build your project and show full console output.
    Which compiler version do you use?
  • **** Build of configuration Debug for project PMP7605_with_GUI ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all

    'Building file: "../main.c"'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/bin/cl430" -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccsv7/ccs_base/msp430/include" --include_path="C:/ti/ccsv7/ccs_base/msp430/include" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/include" --advice:power=all --define=__MSP430F5152__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
    "../main.c", line 67: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 68: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 69: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 70: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 134: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 135: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 168: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 179: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 180: warning #78-D: this declaration has no storage class or type specifier
    "../main.c", line 286: warning #262-D: explicit type is missing ("int" assumed)
    "../main.c", line 287: warning #262-D: explicit type is missing ("int" assumed)
    "../main.c", line 288: warning #262-D: explicit type is missing ("int" assumed)
    "../main.c", line 956: remark #1528-D: (ULP 3.1) Detected flag polling using CCIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 253: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 257: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 270: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 277: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 383: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 384: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 385: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 386: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 447: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 448: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 449: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 450: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 509: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 510: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 511: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 512: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 546: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 547: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 548: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 549: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 596: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 597: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 598: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 599: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 633: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 639: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 640: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 729: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 730: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 731: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 732: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 733: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 734: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 735: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 736: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 740: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 741: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 742: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 743: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 744: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 1300: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 1365: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 1402: warning #179-D: variable "i" was declared but never referenced
    "../main.c", line 1410: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 1402: remark #1535-D: (ULP 8.1) variable "i" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 1476: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 1497: remark #1528-D: (ULP 3.1) Detected flag polling using PMMIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 1504: remark #1528-D: (ULP 3.1) Detected flag polling using PMMIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 1527: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 1529: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 1818: warning #9-D: nested comment is not allowed
    "../main.c", line 1842: warning #9-D: nested comment is not allowed
    "../main.c", line 2003: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2006: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2175: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2178: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2199: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2202: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2173: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2181: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2185: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2187: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2190: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2197: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2205: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2211: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2213: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2216: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2328: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2331: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2352: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2355: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2510: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2513: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2531: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2534: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2555: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2558: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2578: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2581: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2745: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2748: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2777: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2780: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2803: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2806: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2826: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2829: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2860: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2863: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2896: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2899: remark #1528-D: (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 2326: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2334: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2338: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2340: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2343: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2350: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2364: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2365: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2366: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2367: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2443: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2452: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2487: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2489: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2492: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2508: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2518: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2521: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2523: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2525: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2529: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2537: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2541: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2543: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2546: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2553: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2561: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2565: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2567: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2570: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2576: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2584: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2588: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2590: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2593: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2692: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2695: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2743: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2751: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2755: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2757: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2760: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2775: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2783: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2787: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2789: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2792: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2801: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2809: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2813: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2815: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2818: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2824: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2832: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2836: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2838: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2841: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2858: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2866: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2870: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2871: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2872: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2873: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2874: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2877: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2880: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2894: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2902: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 2904: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 2906: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../main.c", line 2909: remark #2553-D: (ULP 14.1) Array index (involving "iku") of type "int". Recommend using "unsigned int"
    "../main.c", line 2933: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2934: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2935: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2936: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2965: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2966: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2967: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 2968: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3006: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3007: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3008: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3009: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3028: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3029: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3030: remark #1530-D: (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 3031: remark #1530-D: (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 16: remark #1535-D: (ULP 8.1) variable "Is_Load_On" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 18: remark #1535-D: (ULP 8.1) variable "GUI_Battery_Charge_Previous_State" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 19: remark #1535-D: (ULP 8.1) variable "Is_Cal_Load_Management" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 20: remark #1535-D: (ULP 8.1) variable "Load_I_Limit" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 22: remark #1535-D: (ULP 8.1) variable "l" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 22: remark #1535-D: (ULP 8.1) variable "m" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 22: remark #1535-D: (ULP 8.1) variable "o" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 22: remark #1535-D: (ULP 8.1) variable "q" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 22: remark #1535-D: (ULP 8.1) variable "w" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 131: remark #1535-D: (ULP 8.1) variable "BLE" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 135: remark #1535-D: (ULP 8.1) variable "Load_Switch_Con" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 150: remark #1535-D: (ULP 8.1) variable "V_negate" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 151: remark #1535-D: (ULP 8.1) variable "I_negate" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 152: remark #1535-D: (ULP 8.1) variable "Idle_Count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 154: remark #1535-D: (ULP 8.1) variable "PV_Volts_Prev" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 155: remark #1535-D: (ULP 8.1) variable "PV_Amps_Prev" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 157: remark #1535-D: (ULP 8.1) variable "Delta_PV_Volts" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 158: remark #1535-D: (ULP 8.1) variable "Delta_PV_Amps" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 159: remark #1535-D: (ULP 8.1) variable "Inc_Condctnce" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 160: remark #1535-D: (ULP 8.1) variable "Condctnce" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 162: remark #1535-D: (ULP 8.1) variable "ctr_th" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 168: remark #1535-D: (ULP 8.1) variable "BULK_CHARGING_EXT_COUNT" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 222: remark #1535-D: (ULP 8.1) variable "CC_LIMIT" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 223: remark #1535-D: (ULP 8.1) variable "CC_TO_CV_LIMIT" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 224: remark #1535-D: (ULP 8.1) variable "FLOAT_VOLTAGE" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 225: remark #1535-D: (ULP 8.1) variable "BATTERY_CUTOFF" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 226: remark #1535-D: (ULP 8.1) variable "BATTERY_RECONNECT" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 227: remark #1535-D: (ULP 8.1) variable "BATTERY_OVER_CUTOFF" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 740 (col. 77): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 741 (col. 73): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 742 (col. 74): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 743 (col. 78): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 744 (col. 73): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    "../main.c", line 754 (col. 58): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
    'Finished building: "../main.c"'

    'Building target: "PMP7605_with_GUI.out"'
    'Invoking: MSP430 Linker'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/bin/cl430" -vmspx --use_hw_mpy=F5 --advice:power=all --define=__MSP430F5152__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"PMP7605_with_GUI.map" --heap_size=80 --stack_size=80 -i"C:/ti/ccsv7/ccs_base/msp430/include" -i"C:/ti/ccsv7/ccs_base/msp430/include" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/include" -i"C:/ti/ccsv7/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="PMP7605_with_GUI_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "PMP7605_with_GUI.out" "./Config.obj" "./GUI.obj" "./LCD_diff_pin.obj" "./hal_tlv.obj" "./main.obj" "../lnk_msp430f5152.cmd" -llibc.a -llibmath.a
    <Linking>
    remark #10372-D: (ULP 4.1) Detected uninitialized Port B in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
    'Finished building target: "PMP7605_with_GUI.out"'

    'Building files: "PMP7605_with_GUI.out"'
    'Invoking: MSP430 Hex Utility'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-msp430_16.9.6.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "PMP7605_with_GUI.hex" "PMP7605_with_GUI.out"
    Translating to Extended Tektronix format...
    "PMP7605_with_GUI.out" .text ==> .text
    "PMP7605_with_GUI.out" .const ==> .const
    "PMP7605_with_GUI.out" .cinit ==> .cinit
    "PMP7605_with_GUI.out" PORT2 ==> PORT2
    "PMP7605_with_GUI.out" PORT1 ==> PORT1
    "PMP7605_with_GUI.out" TIMER1_D1 ==> TIMER1_D1
    "PMP7605_with_GUI.out" TIMER1_D0 ==> TIMER1_D0
    "PMP7605_with_GUI.out" TEC1 ==> TEC1
    "PMP7605_with_GUI.out" DMA ==> DMA
    "PMP7605_with_GUI.out" TIMER0_A1 ==> TIMER0_A1
    "PMP7605_with_GUI.out" TIMER0_A0 ==> TIMER0_A0
    "PMP7605_with_GUI.out" ADC10 ==> ADC10
    "PMP7605_with_GUI.out" USCI_B0 ==> USCI_B0
    "PMP7605_with_GUI.out" USCI_A0 ==> USCI_A0
    "PMP7605_with_GUI.out" WDT ==> WDT
    "PMP7605_with_GUI.out" TIMER0_D1 ==> TIMER0_D1
    "PMP7605_with_GUI.out" TIMER0_D0 ==> TIMER0_D0
    "PMP7605_with_GUI.out" TEC0 ==> TEC0
    "PMP7605_with_GUI.out" COMP_B ==> COMP_B
    "PMP7605_with_GUI.out" UNMI ==> UNMI
    "PMP7605_with_GUI.out" SYSNMI ==> SYSNMI
    "PMP7605_with_GUI.out" .reset ==> .reset
    'Finished building: "PMP7605_with_GUI.out"'


    **** Build Finished ****
  • Must be frustrating.
    What shows View -> Memory Allocation?
    Could you launch CCS from command window using the command “<CCS INSTALL DIR>/ccsv[x]/eclipse/ccstudio –debug”?
    Hope debug would show something.
  • I haven't launch CCS from commmand window. I have also try it on other computer, it gives same issue.
    What is the solution of this problem.
  • Could you launch CCS from command window using the command “<CCS INSTALL DIR>/ccsv[x]/eclipse/ccstudio –debug”?
    Hope debug would show something.
  • Sanjay Kumawat said:
    Now when i write a more code or increase the size of code the CCS not allow me to debug the code and also not run its HEX file in circuit.

    The problem might be the WDT fires during C startup code. Try the suggestion in the Wiki FAQ of setting the linker option --cinit_hold_wdt option to on.

  • Thanks sir your solution is working.