Hello,
I am working on AURIX TC264 B-Step µC using the TASKING Compiler.
( I am using Eclipse CDT with RT-druid v3 GH65 Release)
When I compile a project that handles the TC275 µC , everything is done successfully. But, When I change the MCU_DATA to TC26X with the DEREVATIVE tc264de the compilation is aborted.
Thank you.
Best regards,
TC264 + TASKING Compiler
Moderator: paolo.gai
Re: TC264 + TASKING Compiler
Hi,
I made the mistake to use lmu RAM for global data even for tc26x, but tc26x do not have lmu ram
The following is a valid linker script for TC26x, something similar to this has been commited to GitHub, but we do not have a new build yet.
The fix from the previous version is to change the memory referenced in the groups from mem:mpe:lmuram/not_cached to mem:mpe:dspr0
I made the mistake to use lmu RAM for global data even for tc26x, but tc26x do not have lmu ram
The following is a valid linker script for TC26x, something similar to this has been commited to GitHub, but we do not have a new build yet.
The fix from the previous version is to change the memory referenced in the groups from mem:mpe:lmuram/not_cached to mem:mpe:dspr0
Code: Select all
#if (!defined(USTACK_TC0))
#define USTACK_TC0 4k
#endif /* !USTACK_TC0 */
#if defined(__PROC_TC26X__)
#include "tc26x.lsl"
section_layout mpe:vtc:abs18
{
group abs18_not_cached (ordered, run_addr=mem:mpe:dspr0) {
select "*(.zbss|.zbss*)" (attributes=-x+r+w);
select "*(.zdata|.zdata*)" (attributes=-x+r+w);
}
}
section_layout mpe:vtc:linear
{
group liner_not_cached (ordered, run_addr=mem:mpe:dspr0) {
select "*(.bss|.bss*)" (attributes=-x+r+w);
select "*(.data|.data*)" (attributes=-x+r+w);
}
}
#else
#include <cpu.lsl>
#endif
Re: TC264 + TASKING Compiler
Thank you for your response.
I edited the linker script file and the build is done successfully.
So, we should edit the ee_tc_tasking_flash.lsl file whenever the erika files is pulled.
Best regards,
I edited the linker script file and the build is done successfully.
So, we should edit the ee_tc_tasking_flash.lsl file whenever the erika files is pulled.
Best regards,