Error: L6218E: Undefined symbol Image$$ARM_LIB_STACK$$ZI$$Limit (referred from startup_xmc1300.o).

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

cross mob
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted

Hi,

I am creating a project for the XMC1302 microcontroller with Keil and I don't know how to solve the following error: 

.\Objects\prueba.axf: Error: L6218E: Undefined symbol Image$$ARM_LIB_STACK$$ZI$$Limit (referred from startup_xmc1300.o).

In "Manage Run-Time environment" I have added the following packages:

Device -> Startup

CMSIS -> Core

Kind regards,

Xabi

 

0 Likes
1 Solution
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted

Good morning, 

After these steps I still got the same error. 

I was able to solve it by changing the file "startup_XMC1300.s". I had saved a previous version and I have based on it to run version 3.0.0, which is the current one.

Kind regards,

Xabi

View solution in original post

0 Likes
4 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Xabi,

Could you confirm that you have installed the DFP for XMC from the following webpage: https://www.keil.com/dd2/pack/

After installing, restart Keil to confirm whether the issue still persists.

Best Regards,
Vasanth

0 Likes
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted

Good morning, 

After these steps I still got the same error. 

I was able to solve it by changing the file "startup_XMC1300.s". I had saved a previous version and I have based on it to run version 3.0.0, which is the current one.

Kind regards,

Xabi

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Xabi,

Thanks for sharing the solution with the community. This will be helpful for other community members facing the same issue.

Best Regards,
Vasanth

0 Likes
Odri
Level 2
Level 2
First solution authored Welcome! 5 replies posted

Hi Vasanth,

I attach the startup I am currently using with the XMC1302 microcontroller.

Kind regards,

Xabi

0 Likes