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.

Hercules RM42x Launchpad

Other Parts Discussed in Thread: HALCOGEN

 I have installed CCS 6 newest version and Halcogen  newest version.  I tried to build and run this some example programs according to written documents . One of the example programs did not worked.

First question:  Worked this programs at all?

Second question: Worth the RM42X Launchpad deal or a hopeless thing.

Recently I tried the example_sci_uart_9600 program. In my last attempt I received the following error messages.

Description    Resource    Path    Location    Type
#10010 errors encountered during linking; "UART9600.out" not built    UART9600             C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain    UART9600             C/C++ Problem
unresolved symbol sciInit, first referenced in ./source/sys_main.obj    UART9600             C/C++ Problem
unresolved symbol sciSendByte, first referenced in ./source/sys_main.obj    UART9600             C/C++ Problem.

I got it on the console:


**** Build of configuration Debug for project UART9600 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../source/dabort.asm'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/dabort.pp" --obj_directory="source"  "../source/dabort.asm"
'Finished building: ../source/dabort.asm'
' '
'Building file: ../source/esm.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/esm.pp" --obj_directory="source"  "../source/esm.c"
'Finished building: ../source/esm.c'
' '
'Building file: ../source/lin.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/lin.pp" --obj_directory="source"  "../source/lin.c"
'Finished building: ../source/lin.c'
' '
'Building file: ../source/notification.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/notification.pp" --obj_directory="source"  "../source/notification.c"
'Finished building: ../source/notification.c'
' '
'Building file: ../source/pinmux.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/pinmux.pp" --obj_directory="source"  "../source/pinmux.c"
'Finished building: ../source/pinmux.c'
' '
'Building file: ../source/sys_core.asm'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_core.pp" --obj_directory="source"  "../source/sys_core.asm"
'Finished building: ../source/sys_core.asm'
' '
'Building file: ../source/sys_intvecs.asm'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_intvecs.pp" --obj_directory="source"  "../source/sys_intvecs.asm"
'Finished building: ../source/sys_intvecs.asm'
' '
'Building file: ../source/sys_main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_main.pp" --obj_directory="source"  "../source/sys_main.c"
'Finished building: ../source/sys_main.c'
' '
'Building file: ../source/sys_mpu.asm'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_mpu.pp" --obj_directory="source"  "../source/sys_mpu.asm"
'Finished building: ../source/sys_mpu.asm'
' '
'Building file: ../source/sys_pcr.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pcr.pp" --obj_directory="source"  "../source/sys_pcr.c"
'Finished building: ../source/sys_pcr.c'
' '
'Building file: ../source/sys_phantom.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_phantom.pp" --obj_directory="source"  "../source/sys_phantom.c"
'Finished building: ../source/sys_phantom.c'
' '
'Building file: ../source/sys_pmu.asm'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pmu.pp" --obj_directory="source"  "../source/sys_pmu.asm"
'Finished building: ../source/sys_pmu.asm'
' '
'Building file: ../source/sys_selftest.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_selftest.pp" --obj_directory="source"  "../source/sys_selftest.c"
'Finished building: ../source/sys_selftest.c'
' '
'Building file: ../source/sys_startup.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_startup.pp" --obj_directory="source"  "../source/sys_startup.c"
'Finished building: ../source/sys_startup.c'
' '
'Building file: ../source/sys_vim.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_vim.pp" --obj_directory="source"  "../source/sys_vim.c"
'Finished building: ../source/sys_vim.c'
' '
'Building file: ../source/system.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/" --include_path="C:/Users/g/workspace_v6_1/UART9600/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/system.pp" --obj_directory="source"  "../source/system.c"
'Finished building: ../source/system.c'
' '
'Building target: UART9600.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --diag_wrap=off --diag_warning=225 --display_error_number --enum_type=packed -z -m"UART9600.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="UART9600_linkInfo.xml" --rom_model -o "UART9600.out" "./source/dabort.obj" "./source/esm.obj" "./source/lin.obj" "./source/notification.obj" "./source/pinmux.obj" "./source/sys_core.obj" "./source/sys_intvecs.obj" "./source/sys_main.obj" "./source/sys_mpu.obj" "./source/sys_pcr.obj" "./source/sys_phantom.obj" "./source/sys_pmu.obj" "./source/sys_selftest.obj" "./source/sys_startup.obj" "./source/sys_vim.obj" "./source/system.obj" "../source/sys_link.cmd"  -l"libc.a"
<Linking>

 undefined   first referenced     
  symbol         in file          
 ---------   ----------------     
 sciInit     ./source/sys_main.obj
 sciSendByte ./source/sys_main.obj

error #10234-D: unresolved symbols remain

>> Compilation failure
error #10010: errors encountered during linking; "UART9600.out" not built
gmake: *** [UART9600.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****
Third question: Is it worth thing to trying with it, or must smash the RM42x launchpad and throw it all in the trash.

George

  • George,

    Could you please be more specific about the release of CCS and Halcogen you are using. (Latest does not tell me which one you are using)

    By looking to the log file, it seems that the SCI2 driver is not enable in Halcogen.

    Have you tried to follow the instruction provided in Halcogen in Help->Help Topics.
    You will find description and screen shoot on how to create some basic application.

    Please have a try and let me know.

  • George,

    Looks like you have not enabled SCI module in the Halcogen Driver Enable tab.

    Since SCI files were not generated/included for compilation, linker is not able to find this and link.

    Its documented in the help file shown below Step#2

    <>\ti\Hercules\HALCoGen\vxx.yy.zz\help\RM42x.chm
  • George,

    I've missed your third question.

    If you are not able to follow the detailed description available in the Help Topic, there is little I can do.

    I'm not sure the launchpad is the problem in your case.

  • Dear Jean-Marc
    I have tried many example programs with RM42X launchpad. I have not found any one working. I would like to know was there any one who was able to work with Hercules example with RM42X launchpad.
    Only two options are possible.
    1. These programs newer worked at all with RM42X
    2 . The description of programs bad and without special secret knowledge this examples are useless.
    George