Convert from FRDM-k22f to similar MCU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Convert from FRDM-k22f to similar MCU

ソリューションへジャンプ
1,038件の閲覧回数
ericnetherland
Contributor II

Using KDS 3.0 and KSDK 1.2, I have a non-PE project successfully building and running on the FRDM-k22f board and I need to run it on another board with a very similar MCU: MK22FN256VLL12.

I've changed the define, includes, startup, and board files to point to the 256 MCU but it always interrupts at startup. I can still switch back to the FRDM board and run no problem.

I know the new board is good since I can run other projects. How do I debug the startup interrupt?

Thanks for any help on this.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
944件の閲覧回数
ericnetherland
Contributor II

Update: I fixed my problem by finding and changing the following linker file from the MK22F51212 to:

${PROJECT_KSDK_PATH}/platform/devices/MK22F25612/linker/gcc/MK22FN256xxx12_flash.ld.

In the linker build settings for the .cproject.

This is no longer an issue but if anyone can point me to documentation regarding debugging a hard fault that would still be appreciated.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
945件の閲覧回数
ericnetherland
Contributor II

Update: I fixed my problem by finding and changing the following linker file from the MK22F51212 to:

${PROJECT_KSDK_PATH}/platform/devices/MK22F25612/linker/gcc/MK22FN256xxx12_flash.ld.

In the linker build settings for the .cproject.

This is no longer an issue but if anyone can point me to documentation regarding debugging a hard fault that would still be appreciated.

0 件の賞賛
返信