- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am introducing one interrupt for SMU in my project for TASKING compiler.
IFX_INTERRUPT(SMU0_ISR, 0, 0x1)
{
/* Enable Global Interrupts */
ENABLE();
smu_isr_status = 1;
}
upon building the file I am getting compilation error as below:
ltc E112: cannot locate 1 section(s):
ltc I455: requirement: 0xa bytes of ROM area in space mpe:vtc:linear
ltc I456: section type: absolute restriction - at address 0xa00f0020
ltc I457: .text.inttab0.intvec.001 (178) (0xa bytes)
ltc I428: binding locator symbols (task1)
ltc I429: evaluating expressions (task1)
Could you please help to resolve the error.
Linker used: tc33x.lsl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dparikh,
Let me check the linker meanwhile, please check the below threads if they solve your problem:
https://community.infineon.com/t5/AURIX/Linker-Error-TC277-Tasking/td-p/318527
Regards,
Prudhvi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dparikh,
I think you may modify as below:
/* ISR declaration. The Macro expands to the assembly code with jump instructions to the function */
IFX_INTERRUPT(SMU0_ISR, 0, 0x1)
/* Function definition */
void SMU0_ISR(void)
{
/* Enable Global Interrupts */
ENABLE();
smu_isr_status = 1;
}
Please let us know if this works.
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Prudhvi ,
Thank you for the reply, I tried as below but still facing the same error.
void SMU0_ISR(void);
IFX_INTERRUPT(SMU0_ISR, 0, 0x1);
void SMU0_ISR(void)
{
/* Enable Global Interrupts */
ENABLE();
smu_isr_status = 1;
}
Error:
ltc E112: cannot locate 1 section(s):
ltc I455: requirement: 0xa bytes of ROM area in space mpe:vtc:linear
ltc I456: section type: absolute restriction - at address 0xa00f0020
ltc I457: .text.inttab0.intvec.001 (178) (0xa bytes)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dparikh,
Could you please share your Linker file?
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dparikh,
Let me check the linker meanwhile, please check the below threads if they solve your problem:
https://community.infineon.com/t5/AURIX/Linker-Error-TC277-Tasking/td-p/318527
Regards,
Prudhvi