Other Parts Discussed in Thread: TM4C1237D5PZ
Tool/software: Code Composer Studio
Example code for can bus communication between two tiva c board using tivaware peripheral library
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: Code Composer Studio
Example code for can bus communication between two tiva c board using tivaware peripheral library
There are two simple CAN projects in the attached .zip file.
/cfs-file/__key/communityserver-discussions-components-files/908/CAN.zip
**** Build of configuration Debug for project CAN_simple_TX ****
"C:\\ti\\ccs900\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building target: "CAN_simple_TX.out"
Invoking: ARM Linker
"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=ccs="ccs" --define=PART_TM4C1237D5PZ -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"CAN_simple_TX.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/lib" -i"C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="CAN_simple_TX_linkInfo.xml" --rom_model -o "CAN_simple_TX.out" "./simple_tx.obj" "./tm4c1237d5pz_startup_ccs.obj" "./uartstdio.obj" "C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug/driverlib.lib" "../tm4c1237d5pz.cmd" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/ccs/Debug/driverlib.lib"
<Linking>
error #10008-D: cannot find file "C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/ccs/Debug/driverlib.lib"
error #10010: errors encountered during linking; "CAN_simple_TX.out" not built
>> Compilation failure
makefile:145: recipe for target 'CAN_simple_TX.out' failed
gmake[1]: *** [CAN_simple_TX.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
makefile:141: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Hi Bob Crosby,
While compiling , I am getting this error, what might be the reason ?
Regards
Vigneshwaran
If you have TivaWare installed in a different location, right click on the project name in the project explorer and select "Show Build Settings...". Then expand the menus to show the ARM Linker, File Search Path page. You can then edit the path to the library file using the edit button that I highlighted in the image below.
Sorry, Now only I noticed the change in version of tivaware, version which I use is "TivaWare_C_Series-2.1.3.156". I updated it to new version and now its compiling without error.
Thank you
Regards
Vigneshwaran
I suspect that the simple CAN examples will work with the older version of TivaWare, but it is best to download and start using the new version as there are some bug fixes. Both versions can reside on your PC.