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
User21139
Level 1
Level 1
Hello,

I am using TC38x tasking tricore. When I build the software I got following warnings:

ltc W154: [core mpe:vtc] the estimated stack size (0x174d0) for ustack_tc0 is larger than the allocated size (0x13880), please increase the stack size in the LSL file
ltc W154: [core mpe:vtc] the estimated stack size (0x174d0) for ustack_tc2 is larger than the allocated size (0x13880), please increase the stack size in the LSL file
ltc W154: [core mpe:vtc] the estimated stack size (0x174d0) for ustack_tc3 is larger than the allocated size (0xc340), please increase the stack size in the LSL file

When I try to increase the stack size for core 0 its ok but for core 2 and core 3 I got this error

ltc E116: invalid restriction: restriction to absolute address {0xcfffcb80.0:8} for section "csa_tc2" is not valid for space "mpe:tc2:csa"
ltc F019: unrecoverable error: fatal locate error

How to resolve this , please help me
0 Likes
1 Reply
MoD
Employee
Employee
10 likes given 50 likes received 500 replies posted
Each stack size is defined standalone. You must adapt the values for all stacks, e.g. LCF_USTACK0_SIZE and LCF_USTACK2_SIZE and LCF_USTACK3_SIZE
0 Likes