Getting linker error "cannot find entry symbol Reset_Handler" when trying to compile Hello World for FRDM-K22F

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Getting linker error "cannot find entry symbol Reset_Handler" when trying to compile Hello World for FRDM-K22F

跳至解决方案
2,346 次查看
charleszimnicki
Contributor II

I am new to Kinetis and KDS. I purchased FRDM-K22F and I have spent many hours trying to (diligently) follow "Writing my first KSDK Application in KDS Hello World and Toggle LED with GPIO Interrupt". I attempted installation on two separate computers, changing K64F references to K22F equivalents when appropriate. The program finally compiles but linker gives an error "cannot find entry symbol Reset_Handler".

Any help on what to do next would be greatly appreciated.

标签 (1)
1 解答
1,639 次查看
adriancano
NXP Employee
NXP Employee

Hi,

I tested the issue you reported trying to reproduce it but I have no errors in the console window.

I followed the same instructions from the "Writing my first KSDK Application in KDS Hello World and Toggle LED with GPIO Interrupt" document making the appropriate changes to use the K22FN512 files.

I recommend:

  • If you are using a different KDS version update to KDS v2.0.0
  • Check that the KSDK_PATH environmental variable is pointing to the correct folder.
  • Check the linker file path file in Project > properties > C/C++ Build > Settings > Cross ARM C++ Linker > General


Hope this information can help you

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

4 回复数
1,640 次查看
adriancano
NXP Employee
NXP Employee

Hi,

I tested the issue you reported trying to reproduce it but I have no errors in the console window.

I followed the same instructions from the "Writing my first KSDK Application in KDS Hello World and Toggle LED with GPIO Interrupt" document making the appropriate changes to use the K22FN512 files.

I recommend:

  • If you are using a different KDS version update to KDS v2.0.0
  • Check that the KSDK_PATH environmental variable is pointing to the correct folder.
  • Check the linker file path file in Project > properties > C/C++ Build > Settings > Cross ARM C++ Linker > General


Hope this information can help you

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,639 次查看
albertolubeiro
Contributor III

Hi David,

I am having the same error as Charles, this is: <<cannot find entry symbol Reset_Handler>>

I have checked what you say in your response to him but every thing is ok. I also have checked what he says about forgetting a quote but unfortunately this is also ok. lol

Any suggestion?

I am trying to do it with a FRDM-K64F

Thanks and best regards.

0 项奖励
1,639 次查看
charleszimnicki
Contributor II

Thank you for ultra fast response. The actual problem was one of the quotes missing in linker library search path but your answer pointed me in the right direction.

1,639 次查看
DavidS
NXP Employee
NXP Employee

For others wanting to play with example I recreated it also and have attached it.

Just un-ZIP in your KSDK_1.1.0 folder and ensure your platform library has been built.

Regards,

David

0 项奖励