Kinetis K22F MCU flash *.efl file without projct

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

Kinetis K22F MCU flash *.efl file without projct

Jump to solution
751 Views
kentgu
Contributor III

hi,

I need to flash"Kinetis K22F MCU flash *.efl file without projct" in the factory side.

#Solution 1, "Flash from file..." in KDS, but don't work if without project. You know, we don't want to open code to the factory side.

#Solution 2, If there is a CMD option in KDS, to transfer *.elf to *.hex file or generate *.hex file. and then I can use J-flash SW tool to flash the chip.

Best regards,

Kent

Labels (1)
1 Solution
599 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kent,

For your solution 1 : You needn't open your project ,  you can utilize the  any simple project when flash ,

                                only need choose the .elf file you want to flash , as this :

pastedImage_0.png

pay attention , configure correctly of the debugger , for example , if use the J-link ,  configure the correct "Device name"

pastedImage_1.png

About your solution 2:  The KDS can directly generate the ".hex" file, you can refer to here :

Binary (and S19) Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins | MCU on Ecl...

https://mcuoneclipse.files.wordpress.com/2014/04/create-flash-image.png

https://mcuoneclipse.files.wordpress.com/2014/04/creating-raw-binary.png


Have a great day,
Alice Yang

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

View solution in original post

1 Reply
600 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kent,

For your solution 1 : You needn't open your project ,  you can utilize the  any simple project when flash ,

                                only need choose the .elf file you want to flash , as this :

pastedImage_0.png

pay attention , configure correctly of the debugger , for example , if use the J-link ,  configure the correct "Device name"

pastedImage_1.png

About your solution 2:  The KDS can directly generate the ".hex" file, you can refer to here :

Binary (and S19) Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins | MCU on Ecl...

https://mcuoneclipse.files.wordpress.com/2014/04/create-flash-image.png

https://mcuoneclipse.files.wordpress.com/2014/04/creating-raw-binary.png


Have a great day,
Alice Yang

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