K22 production programming with Segger JLink

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

K22 production programming with Segger JLink

跳至解决方案
1,560 次查看
davepfaltzgraff
Senior Contributor I

I am moving from the development phase to the production phase on a project using the K22FN512. So far, all the programming has been done in KSD. I would like to be able to get to a place where I can generate a file (.hex, .bin, whatever), send it to my client, and have them program the device using Segger's J-Flash utility.

 

The first time, I tried this, I was unable to find a corresponding .hex file. Can someone point me to a procedure that would cover what I want to do?

 

Thanks

标签 (1)
1 解答
1,005 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

You can generate the *.hex file by going to menu Project > Properties > C/C++ Build > Settings > Toolchains tab, check the "Create Flash Image" option and click on Apply:

pastedImage_0.png

Go to the Tool Setting tab and the Cross ARM GNU Create Flash Image option should have appeared, click on General and now you can select the desired output file format:

pastedImage_1.png

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,006 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

You can generate the *.hex file by going to menu Project > Properties > C/C++ Build > Settings > Toolchains tab, check the "Create Flash Image" option and click on Apply:

pastedImage_0.png

Go to the Tool Setting tab and the Cross ARM GNU Create Flash Image option should have appeared, click on General and now you can select the desired output file format:

pastedImage_1.png

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,005 次查看
davepfaltzgraff
Senior Contributor I

Hi Carlos,

That was the pointer I needed. I haven't had a chance to try it with the J-Link, but at least I know I can output the right file.

Thanks, Dave