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.
Hi
We have an old project using CC2640R2.
Code Composer Studio 8.3.1
SDK: simplelink_cc2640r2_sdk_1_50_00_58
We are trying to create the same environment on another PC.
CCS 8.3.1 & SDK installed OK.
We import a CCS project into the new PC.
Compiling is OK, but there is a link error.
The map file almost the same except Date Time
The make file almost the same except compiler subversion
The major difference is that a.obj is reorganized in GPRAM
Correct one
Failed one
Do you have any suggestions?
Hi,
Actually, it looks like you are running into issue due to a too small RAM.
May I ask you if the same linker file is used in both environments?
For the rest, I would recommend to always use the toolchain version recommended in the release notes of the SDK.
Best regards,
Thanks a lot for your reply.
We import the old project into the new PC with same CCS 8.3.1 & SDK simplelink_cc2640r2_sdk_1_50_00_58
Is this the linker file ? linker.cmd
linker.cmd is the same.
There are some differences for \simple_peripheral_cc2640r2lp_oad_offchip_app\TOOLS\src\sysbios\makefile
Is there any place we can check in option ?
We check this all day.
Hoping to find a way to fix this.
Thanks a lot !
Hi Darren,
I've consulted with our team's compiler/linker expert, and he's recommended that you revert your XDC tools version back to the original that was working previously. Once you've tried that, you can also share with us the two complete build outputs, but you'll need to give us the uncensored versions (paths and the order of the files are important).
Best,
Nate
Hi Nate,
Thanks a lot for your reply.
I tried to edit path variables of XDC tools as below.
The "Edit" button is disabled.
https://drive.google.com/file/d/1tsAGzk07mZteptCFLu_wU0ZS1bxY3EDI/view?usp=sharing
There are 3 project in the workspace.
2 project are OK.
Only the simple_peripheral_cc2640r2lp_oad_offchip_app has link error
https://drive.google.com/file/d/1jPRR3wDss8rTwtbFN_7Fp2H0Ku1fv5Vo/view?usp=sharing
There is other project depandon on SDK simplelink_cc2640r2_sdk_2_20_00_49
That one is OK.
https://drive.google.com/file/d/1lsaUO32_98VyG0O4Se55zfrbAynzbzir/view?usp=sharing
How can I revert XDC tools version ?
Thanks!
Hi Nate,
I revert XDC version and Compiler version as the same.
This is original
https://drive.google.com/file/d/1VR6gsXdhcWztIZW2S0uBtyPwjWYU9MA3/view?usp=sharing
This is the new one
https://drive.google.com/file/d/1Rz7lGgEhCHbkdaAVaINGNO32AcNjf5M1/view?usp=sharing
There is still the same link error
https://drive.google.com/file/d/18Z-CrQCnSIt5vYK7LK5RgtdSmHxL7mNU/view?usp=sharing
Is there any comment?
Thanks !
Hi Darren,
I'm not allowed to access google drive at work. Can you please put the pictures in directly as PNGs or JPEGs?
Best,
Nate