Kinetis K22F MCU flash *.efl file without projct

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis K22F MCU flash *.efl file without projct

跳至解决方案
1,129 次查看
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

标签 (1)
1 解答
977 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
978 次查看
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!
-----------------------------------------------------------------------------------------------------------------------