MK60 Boot loader question

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

MK60 Boot loader question

801 Views
henrynguyen
Contributor IV

Hello,

i am developing a custom CAN boot loader for MK60 device.  There are two options for us to download the boot loader to the device.

1- Using JTAG

2- Using device built-in serial port (uart) boot rom available in MK60?

I searched around and can not find a concrete document for option 2 (like MK60 pin tie-off to get to UART boot mode, file format, sending sequences, etc).  This option is nice for us in manufacturing because we can have the board serial number embedded into boat loader bin in real time as part of the boot loader bin and download to the MK60 through UART.  

Option 1 allows us to be independent on NXP and toolchain, but we have to find a custom way to enter board serial number, have to have jtag down loaders for manufacturing, etc.  

can someone please point me to document on option 2?

Thanks,

Henry

0 Kudos
3 Replies

572 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Henry,

   Just as Mark has replied.

    K60 don't have the ROM bootloader, so you can't download your own application code or bootloader code directly with the UART interface.

   If you want to use the bootloader function, you need to use the debugger or programmer to download your flash bootloader at first with the JTAG or SWD interface.

Wish it helps you!


Have a great day,
Kerry

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

0 Kudos

572 Views
mjbcswitzerland
Specialist V

Hi Henry

There is no ROM loader in the K60 - this is only available in some of the newer chips (predominantly newer KL parts like KL03, KL27, KL28, KL82, although some newer K parts - like the K80 - also do).

To know whether there is a ROM loader in any chip, open the user's manual to the chip and search for "Kinetis ROM Bootloader". If there is a chapter in the document with this title it has it - if not it doesn't.

Regards

Mark

0 Kudos

572 Views
henrynguyen
Contributor IV

Hi Mark,

Thank you.  I did the search and could not find it.  This information helps me.

Henry

0 Kudos