Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dparikh
Level 1
Level 1
First solution authored 5 replies posted 5 sign-ins

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

0 Likes
1 Solution
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received
0 Likes
5 Replies
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

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.

0 Likes

Hello @Prudhvi_E ,

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)

0 Likes
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hi dparikh,

Could you please share your Linker file?

Regards,

Prudhvi.

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Prudhvi, Please find attached linker zip.

0 Likes
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

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

https://community.infineon.com/t5/AURIX/assigning-a-address-to-a-Global-Constant-in-PFlash-AURIX-TC2...

Regards,

Prudhvi

0 Likes