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

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

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

跳至解决方案
2,317 次查看
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,958 次查看
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,958 次查看
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,958 次查看
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,958 次查看
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,958 次查看
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,959 次查看
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 项奖励
回复