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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,123 Views
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

Labels (1)
0 Kudos
1 Solution
764 Views
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

View solution in original post

0 Kudos
5 Replies
764 Views
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 Kudos
764 Views
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 Kudos
764 Views
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 Kudos
764 Views
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 Kudos
765 Views
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 Kudos