How to program K70 flash via USB ?

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

How to program K70 flash via USB ?

2,132 Views
sebastienpeyrau
Contributor I

Hello,

I am running CodeWarrior for MCU 10.6 on Windows with a target of MK70FN1M0VMJ12. I don't use Freescale platform or board.

Untill now I was programming with the PE micro Multilink Universal.

But now the extern part of the product is ready, this programation method needs the product to be took to pieces...

So, I'd like to find a way to program the K70 flash via USB.

That's why I read discussions, application notes (AN2295), and docs about the Kinetis Bootloader (KFLLDRUG, KBTLDRUG) but I couldn't find a clear solution...

I have a few questions, if anyone can help:

  • Is Bootloader a good option to resolve my problem ?

  • If yes:
    • In the "AN2295SW.zip" (last version on freescale) , can I use "AN2295_TWR_K70120_cfg.h" even if I d'ont use the tower system ?
    • In the "AN2295SW.zip" (last version on freescale), there is no CW 10.6 folder and sources, is it a problem ?

    • Is the "FSL_Kinetis_Bootloader_1_0_2.zip" (last version on freescale), download via the Kinetis Bootloader page (Kinetis Bootloader|Freescale) is only developped for the K64 ?
    • If yes, is a Kinetis Bootloader workink with K70 exists ?

Thanks

Sébastien

Labels (2)
Tags (4)
0 Kudos
Reply
4 Replies

1,186 Views
mjbcswitzerland
Specialist V

Hi

You can get boot loaders for the K70 from http://www.utasker.com/kinetis.html

See also Kinetis Boot Loader for SREC UART, SD Card and USB-MSD loading

This includes USB-HID support for the FSL Kinetis Bootloader PC utility (for all KL and K devices with USB).

Regards

Mark

0 Kudos
Reply

1,186 Views
sebastienpeyrau
Contributor I

Hello Mark,

thanks a lot

I am going to look at all this !!!

I'll keep you posted

thanks again

Regards

Sébastien

0 Kudos
Reply

1,186 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sebastien:

What do you mean with this?:


But now the extern part of the product is ready, this programation method needs the product to be took to pieces...

Do you mean that you cannot have a JTAG header connector in your custom board?

Regarding your questions and some comments:

-    Bootloader is the most common solution. You can also try with EzPort interface; this is a serial (SPI) interface for an external device to program the flash memory.

-    AN2295 is a serial bootloader (UART interface). It is not a USB solution.

-    You can use AN2295_TWR_K70120_cfg.h or you can create your own file, e.g. My_K70_Board_cfg.h. Just make sure the file matches your board schematic (UART channel, UART pins and GPIO pin if needed).

-    You are correct that FSL_Kinetis_Bootloader only supports K64 right now, and it is focused in new Kinetis devices, so K70 has to wait.

-    There are some other application notes about Kinetis bootloaders. You may want to give them a check: AN4367, AN4368, AN4370, AN4379, AN4764.


Regards!,
Jorge Gonzalez


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

0 Kudos
Reply

1,186 Views
sebastienpeyrau
Contributor I

Hello Jorge

First, thanks a lot !!!

Concerning the meaning of:

But now the extern part of the product is ready, this programation method needs the product to be took to pieces...

  -> that means I can't easily access the JTAG header connector

I am going to begin by interesting me in the Ezport solution and reading the AN that you suggested me

I'll keep you posted

thanks again

Regards

Sébastien

0 Kudos
Reply