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,287件の閲覧回数
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,580件の閲覧回数
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,581件の閲覧回数
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,580件の閲覧回数
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,580件の閲覧回数
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,580件の閲覧回数
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 件の賞賛