Hi,
How can i port the KBOOT to work with the K60F120M?
Thank you.
Hi
For parts not supported in KBOOT there is an alternative to use the uTasker KBOOT compatible loader (UART, USB-HID and/or MSD, plus options for SD card, memory stick, Ethernet): http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
For the K60F120M see http://www.utasker.com/kinetis/TWR-K60F120M.html (no porting required)
Further potential benefits are smaller code size and greater IDE choice (CW, KDS, IAR, Keil, Atollic, Rowley, CooCox, Green Hills, GCC stand-alone and VisualStudio)
Regards
Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html
Hi,
In the attachment, the Chapter 10 Kinetis bootloader porting has illustrated the whole procedure of Kinetis bootloader porting, so please refer to the attachment for details.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ping,
Thank you for your reply but i cannot find the: "...NXP provides CMSIS-compatible packages for all Kinetis devices that contain bootloader-compatible device header files. These packages can be found on the product page for the MCU..." (quoted from the RM) K60F120 device header file, the closest device is : MK64F12 which isnt really works with the K60F120M.
how do i continue from the starting point?
where do i get the header files?
Hi naftalir,
Thanks for your reply.
I will appreciate if you can tell what IDE you use, then I can send the related startup and header files.
I'm looking forward to your reply.
Have a great day,
Piing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Please send me the correct files for K60F120M.
Im using IAR Embedded Workbench IDE (ver. 7.40.2.8570)
Thank you.
Hi naftalir,
Please check the attachment.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Im trying to follow the porting chapter with the files you provided me and with the K64FN1Mxxx12 icf file, but it seems to refuse running.
Do i need to change the icf file?
Althogh, you attached the "MK60F12.h" file and i cant seem to find where to copy it and where do include it, it doesn't mentioned in the porting guide at all.
Thank you.
Hi naftalir,
In the fsl_device_registers.h, the related head files is included.
And the linker file needn't to be modified.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ping,
I've tried with no success.
I've looked into the fsl_device_registers.h file but the MK60F12.h file isn't included there but the MK64F12.h, when i tried to comment it out and include the MK60F12.h file, get many errors.
I've tried also to include them both: MK60F12.h and MK64F12.h in the fsl_device_registers.h file also got many errors.
When i compile the project with only the MK60F12.h file included, the compilation success but when i try to burn it i get an error:
I use the J-Link programmer.
Thank you.
Thank you!!
I will try that.. and of course will update this thread once it works :smileyhappy: