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 ?
Solved! Go to Solution.
Hi,
in KDS, "create flash image" option is under properties toolchains tab, see below:
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!
-----------------------------------------------------------------------------------------------------------------------
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!
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.
Hi,
in KDS, "create flash image" option is under properties toolchains tab, see below:
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!
-----------------------------------------------------------------------------------------------------------------------
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.
you are welcome!
Jennie Zhang