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.

MSP430F4783: ccs 12 slow to generate code for msp430f4783

Part Number: MSP430F4783
Other Parts Discussed in Thread: CCSTUDIO, TMS320F28027, MSP430WARE

Tool/software:

Hi,

I am using ccs 12.7 to write code for a msp430f4783.

This is a "old" project which started development on ccs v4 and it is only now that I notice

a long delay when compiling/linking the code, it is waiting for some background process.

The same behaviour on v9 and v10. So it must be something with my Debian installation.

I am using Debian testing and the workspaces are on a NFS mounted NAS

When I run "make -j16 all" from the command line it takes a very short moment to build.

I tried to build, with ccs, a project on my desktop machine, no NAS, same result.

This is from the command top :

top - 12:24:46 up 2:48, 2 users, load average: 1.19, 0.72, 0.61
Tasks: 351 total, 2 running, 349 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.2 us, 3.4 sy, 0.0 ni, 91.0 id, 0.0 wa, 0.0 hi, 0.4 si, 0.0 st
MiB Mem : 31837.0 total, 21595.7 free, 5933.3 used, 4913.4 buff/cache
MiB Swap: 19268.0 total, 19268.0 free, 0.0 used. 25903.7 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23663 rth 20 0 76.1g 1.2g 896 R 99.7 3.9 1:04.00 Spawner Reaper
9385 rth 20 0 7624720 841116 106320 S 28.9 2.6 2:24.50 Isolated Web Co
22213 rth 20 0 76.1g 1.3g 93952 S 1.7 4.2 1:11.30 ccstudio

I also tried to build, with ccs, a tms320f28027 project on my desktop with the same result.

How can I debug/resolve this ?

Roelof

ps. I tried to post this message on the ccs forum but when I enter the required part

number it automagically selects the msp low power forum. Without this field I can

not post a message.

Below is the build log :

**** Build of configuration Debug for project 20230607 ****

make -j 16 all -O

Building file: "../src/basic_timer.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/basic_timer.d_raw" --obj_directory="src" "../src/basic_timer.c"
Finished building: "../src/basic_timer.c"

Building file: "../src/timer_b3.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/timer_b3.d_raw" --obj_directory="src" "../src/timer_b3.c"
Finished building: "../src/timer_b3.c"

Building file: "../src/timer_a3.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/timer_a3.d_raw" --obj_directory="src" "../src/timer_a3.c"
Finished building: "../src/timer_a3.c"

Building file: "../src/adc.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/adc.d_raw" --obj_directory="src" "../src/adc.c"
Finished building: "../src/adc.c"

Building file: "../src/gpio.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/gpio.d_raw" --obj_directory="src" "../src/gpio.c"
Finished building: "../src/gpio.c"

Building file: "../src/display.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/display.d_raw" --obj_directory="src" "../src/display.c"
Finished building: "../src/display.c"

Building file: "../src/usci_b1_spi.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/usci_b1_spi.d_raw" --obj_directory="src" "../src/usci_b1_spi.c"
Finished building: "../src/usci_b1_spi.c"

Building file: "../src/info_flash.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/info_flash.d_raw" --obj_directory="src" "../src/info_flash.c"
Finished building: "../src/info_flash.c"

Building file: "../src/display_teksten.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/display_teksten.d_raw" --obj_directory="src" "../src/display_teksten.c"
Finished building: "../src/display_teksten.c"

Building file: "../src/stroomlus.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/stroomlus.d_raw" --obj_directory="src" "../src/stroomlus.c"
"../src/interpreter.c", line 679: warning: variable "cijfer" was set but never used
"../src/utilities.c", line 57: warning: variable "temp8" was declared but never referenced
Finished building: "../src/stroomlus.c"

Building file: "../src/usci_a0_uart.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/usci_a0_uart.d_raw" --obj_directory="src" "../src/usci_a0_uart.c"
Finished building: "../src/usci_a0_uart.c"

Building file: "../src/interpreter.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/interpreter.d_raw" --obj_directory="src" "../src/interpreter.c"
Finished building: "../src/interpreter.c"

Building file: "../src/main.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/main.d_raw" --obj_directory="src" "../src/main.c"
Finished building: "../src/main.c"

Building file: "../src/utilities.c"
Invoking: MSP430 Compiler
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --include_path="/opt/ti/ccs1271/ccs/ccs_base/msp430/include" --include_path="/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/include" --include_path="/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607" --include_path="/media/data/tek/msa/diepmeet/versie_3/fw-ccs12/20230607/inc" --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 --preproc_with_compile --preproc_dependency="src/utilities.d_raw" --obj_directory="src" "../src/utilities.c"
Finished building: "../src/utilities.c"

Building target: "20230607.out"
Invoking: MSP430 Linker
"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmsp --use_hw_mpy=32 --define=__MSP430F4783__ --printf_support=minimal --silicon_errata=CPU19 -z --heap_size=80 --stack_size=80 -i"/opt/ti/ccs1271/ccs/ccs_base/msp430/include" -i"/media/data/tek/firmware/ti/msp430/msp430ware_3_80_03_07/iqmathlib/libraries/ccs/mpy32/4xx" -i"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/lib" -i"/opt/ti/ccs1271/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" -i"/opt/ti/ccs1271/ccs/ccs_base/msp430/lib/4xx" --reread_libs --warn_sections --use_hw_mpy=32 --rom_model -o "20230607.out" "./src/adc.obj" "./src/basic_timer.obj" "./src/display.obj" "./src/display_teksten.obj" "./src/gpio.obj" "./src/info_flash.obj" "./src/interpreter.obj" "./src/main.obj" "./src/stroomlus.obj" "./src/timer_a3.obj" "./src/timer_b3.obj" "./src/usci_a0_uart.obj" "./src/usci_b1_spi.obj" "./src/utilities.obj" "../lnk_msp430f4783.cmd" -llibc.a -liqmathlib.a -llibmath.a
<Linking>
Finished building target: "20230607.out"

**Attention** This is a public forum