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.
Tool/software: TI-RTOS
I am currently trying to run TI-RTOS example projects on an MSP430FR5994 Launchpad. I am using CCSv8 to import TI-RTOS example projects from Resource Explorer. I can import and build the projects just fine without any issues, but none of them seem to run after loading. All of them report 'MSP430: AutoRun: Target not run as the symbol "main" is not defined' to the console, even though each of the projects contains a main function. Additionally, none of the messages from the projects were printed to the console. I also tried creating a new project using a TI-RTOS Empty Project template for the launchpad - which comes with code to toggle one of the on board LEDs. The idea being that if it was just the debug interface that was affected, I should still see the LED toggle. When running this project I get the same message about main not being defined and the LED on the board did not light up. Later, I loaded a non TI-RTOS example project that lit the LEDs to verify that there weren't any issues with the Launchpad hardware. After searching on this forum I haven't been able to identify any solutions. Any help would be appreciated.
Thanks for the response. I was only able to download TI v16.9.7.LTS from the Available Software channel. The 'MSP430: AutoRun: Target not run as the symbol "main" is not defined' message no longer appears when using this compiler version. However, the log messages still do not appear to print to the console for the instrumentation examples I tried.
I agree with you.
Out of the box and a demo car engine can't start up.
That's pity.
I just ended up changing the .out extension to .txt. Copy and pasting it as text just pastes **ELF** without getting all of the random characters.
**** Build of configuration Debug for project uartecho_MSP_EXP430FR5994_TI **** "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O Building file: "../uartecho.cfg" Invoking: XDCtools "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430FR5994 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS" --compileOptions "-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path=\"C:/ti/ccsv8/ccs_base/msp430/include\" --include_path=\"C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI\" --include_path=\"C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI\" --include_path=\"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/include\" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 " "../uartecho.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring uartecho.xe430X from package/cfg/uartecho_pe430X.cfg ... generating custom ti.sysbios library makefile ... generating custom ti.sysbios.family.msp430 Hwi stubs ... Starting build of library sources ... making C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI/src/sysbios/sysbios.ae430X ... gmake[1]: Entering directory `C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI/src/sysbios' cle430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ... asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/Hwi_switch_asm.asm ... asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/TaskSupport_asm.asm ... are430X BIOS.obj msp430_Hwi_switch_asm.obj msp430_TaskSupport_asm.obj ... gmake[1]: Leaving directory `C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI/src/sysbios' Build of libraries done. cle430X package/cfg/uartecho_pe430X.c ... "package/cfg/uartecho_pe430X.c", line 11220: warning #112-D: statement is unreachable "package/cfg/uartecho_pe430X.c", line 11455: warning #112-D: statement is unreachable "package/cfg/uartecho_pe430X.c", line 11675: warning #112-D: statement is unreachable "package/cfg/uartecho_pe430X.c", line 11856: warning #112-D: statement is unreachable Finished building: "../uartecho.cfg" 1 file(s) copied. making ../src/sysbios/sysbios.ae430X ... gmake[1]: Nothing to be done for 'all'. Building file: "../uartecho.c" Invoking: MSP430 Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv8/ccs_base/msp430/include" --include_path="C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI" --include_path="C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="uartecho.d_raw" --cmd_file="configPkg/compiler.opt" "../uartecho.c" Finished building: "../uartecho.c" Building file: "../MSP_EXP430FR5994.c" Invoking: MSP430 Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv8/ccs_base/msp430/include" --include_path="C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI" --include_path="C:/Users/benja_000/workspace_v8/uartecho_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="MSP_EXP430FR5994.d_raw" --cmd_file="configPkg/compiler.opt" "../MSP_EXP430FR5994.c" Finished building: "../MSP_EXP430FR5994.c" making ../src/sysbios/sysbios.ae430X ... gmake[2]: Nothing to be done for 'all'. Building target: "uartecho_MSP_EXP430FR5994_TI.out" Invoking: MSP430 Linker "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"uartecho_MSP_EXP430FR5994_TI.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv8/ccs_base/msp430/include" -i"C:/ti/ccsv8/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv8/ccs_base/msp430/lib/FR59xx" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.1.LTS/include" --priority --reread_libs --define=_MPU_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="uartecho_MSP_EXP430FR5994_TI_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "uartecho_MSP_EXP430FR5994_TI.out" "./MSP_EXP430FR5994.obj" "./uartecho.obj" "../MSP_EXP430FR5994.cmd" -l"configPkg/linker.cmd" -llibmpu_init.a -llibmath.a -l"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx/ccs/MSP430FR5994.lib" -llibc.a <Linking> Finished building target: "uartecho_MSP_EXP430FR5994_TI.out" **** Build Finished ****
Hi Benjamin,
I can reproduce this problem on MSP430FR5969. For some reason, CCS could not recognize my MSP430FR5994 device. When I load and run the HelloWorld example, I see no output in the RTOS Analyzer Live Session window. I saw this for CCS versions 8.1, 7.4, and 7.0. I did get output, however, with CCS 6.2, so it looks to me like it may be a problem with CCS. I will file a bug against CCS. If you have a CCS 6.x version installed, you may want to try that.
Best regards,
Janet
**Attention** This is a public forum