Keil™, An ARM® Company

Technical Support

ARMLINK: LINKER ERROR WITH CORTEX-M3 DEVICE


Information in this article applies to:

  • RealView MDK Version 3.22a or before

QUESTION

I am linking a project for a Cortex-M3 device and I am getting the following linker error:

Error: L6967E: Entry point (0x000000c8) points to a THUMB instruction but is not a valid THUMB code pointer.

How can I solve this problem?

ANSWER

You need to specify an entry point and the first input section under Project — Options — Linker. When you enter under Misc controls:

--entry Reset_Handler --first __Vectors

Once the entry point is specified the linker error should go away.

Last Reviewed: Friday, July 04, 2008


Did this article provide the answer you needed?
 
Yes
No
Not Sure