USB bootloader on MK20 "No rule to make target..."

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

USB bootloader on MK20 "No rule to make target..."

ソリューションへジャンプ
2,310件の閲覧回数
yarannan
Contributor III

Hi,

I downloaded a K20 usb bootloader project from https://community.freescale.com/docs/DOC-95494#comment-7783.

I imported the project into Codewarrior 10.6 and start compiling it. However, it throw me an error as bellow.

I am wondering if it related to linker setting? Please let me know if anyone know how to fix this issue.

29059_29059.PNGCWUSB.PNG

 

Thanks,

 

Yaran

Original Attachment has been moved to: Device-(1).rar

ラベル(1)
0 件の賞賛
返信
1 解決策
1,951件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Yaran,

you need to keep the 'Debugger' folder, it is used for debugging.

Is the source file listed in the error message present on your system?

Other than that, I suggest the author of that bootloader.

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,951件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Please click on 'Project' menu-> Clean to remove the object file and rebuild again. Does it work?

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,951件の閲覧回数
yarannan
Contributor III

Hi Fiona,

Nope, it doesnt work after clean and rebuild it. Do i need add any library before i run CW project?

Does it work on your end?

Thanks,

Yaran

0 件の賞賛
返信
1,951件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Yaran,

If clean does not help, I suggest that you delete the output folder (usually named 'FLASH' or 'Debug') in the project root.

Erich

0 件の賞賛
返信
1,951件の閲覧回数
yarannan
Contributor III

Hi Erich,

I deleted two folders: 'Debugger' and 'Internal_Flash'. It still gave me the same error.

Any other way that i could try?

Thanks,

Yaran

0 件の賞賛
返信
1,952件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Yaran,

you need to keep the 'Debugger' folder, it is used for debugging.

Is the source file listed in the error message present on your system?

Other than that, I suggest the author of that bootloader.

Erich

0 件の賞賛
返信