How do I convert an embedded C project file into a S19 file in Kinetis Design Studio ?

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

How do I convert an embedded C project file into a S19 file in Kinetis Design Studio ?

跳至解决方案
2,768 次查看
ganeshramachand
Contributor IV

I am a beginner to Embedded Systems. I am working on Freescale Kinetis E series controllers. I use Kinetis Design Studio IDE. I wrote a project to blink the LEDS in a customized board. Now I want to make it as a S19 file which I would load to my other project using Terminal Application. Is it possible ?

S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse

I found this link to be useful but it explains how its done in Code Warrior IDE. In the KDS IDE it is different I guess. Because in that link, it asks me to use Create Flash Image option under " Additional Options" in Code Warrior but there is no such option in Kinetis Design Studio. I don't even have "Additional options" under C/C++ build.. What shall I do ?

标签 (1)
0 项奖励
回复
1 解答
2,373 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

in KDS, "create flash image" option is under properties toolchains tab, see below:

pastedImage_0.png

can this help you?


Have a great day,
Jennie Zhang

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

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,373 次查看
carlnormansuret
Contributor V

I have followed these steps and gotten the SREC, however, the SREC is in 16 bit address format and my KL27 processor is 256K and uses 32 bit addressing...

Example copied from SREC output file:

S113001000000000000000000000000000000000DC

S1 = 16 bit address format!

SREC (file format) - Wikipedia 

0 项奖励
回复
2,373 次查看
carlnormansuret
Contributor V

Thanks! --srec-forceS3 worked perfectly.

Not that it matter, but what you said about "16 bit is ok", i dont see how it is, because the second you address above 65535 it no longer works... i.e. try writing to ram address 20001234.
0 项奖励
回复
2,374 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

in KDS, "create flash image" option is under properties toolchains tab, see below:

pastedImage_0.png

can this help you?


Have a great day,
Jennie Zhang

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

0 项奖励
回复
2,373 次查看
ganeshramachand
Contributor IV

Hey Thanks. But how do I select the file format there is no option called "OUTPUT" as shown in my link.

UPDATE:

Sorry Zhang. I got it. Thanks for helping. It was under tool settings.

0 项奖励
回复
2,373 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!

Jennie Zhang

0 项奖励
回复