<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to Generate S-record File with KDS v3.2.0 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842938#M50807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;it would be helpful if you could post the last few things shown in the console view. That way it shows what is passed on the command line.&lt;/P&gt;&lt;P&gt;Does this problem only exists for that project, or as well for other projects?&lt;/P&gt;&lt;P&gt;My guess is that you are using custom build settings (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/" title="https://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/"&gt;Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse&lt;/A&gt; ) which somehow prevent the S19 file to be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you can simply do it from the commandline with something like this:&lt;/P&gt;&lt;P&gt;arm-none-eabi-objcopy -O srec "myFile.elf"&amp;nbsp; "myFile.srec"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You find the objcopy in C:\nxp\KDS_3.2.0\Toolchain\bin&lt;/P&gt;&lt;P&gt;I hope tthis helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 16:22:03 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2018-07-03T16:22:03Z</dc:date>
    <item>
      <title>Unable to Generate S-record File with KDS v3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842937#M50806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help generating an S-record file with Kinetis Design Studio (KDS) v3.2.0.&amp;nbsp; I have checked the option to "&lt;STRONG&gt;Create flash image&lt;/STRONG&gt;" in &lt;EM&gt;Project Properties &amp;gt;&amp;gt; C/C++ Build &amp;gt;&amp;gt; Settings &amp;gt;&amp;gt; Toolchains &amp;gt;&amp;gt; Create flash image&lt;/EM&gt;, and I have selected the option for "&lt;STRONG&gt;Motorola S-record&lt;/STRONG&gt;" in &lt;EM&gt;Project Properties &amp;gt;&amp;gt; C/C++ Build &amp;gt;&amp;gt; Settings &amp;gt;&amp;gt; Tool Settings &amp;gt;&amp;gt; Output file format&lt;/EM&gt;.&amp;nbsp; Please see the attached screen captures.&amp;nbsp; I have also tried cleaning and rebuilding the project and searching my entire drive for *.srec and *.s19 files, all to no avail.&amp;nbsp; Any help would be much appreciated.&amp;nbsp; As project completion looms nearer, this is becoming a critical sticking point.&amp;nbsp; Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here are the last few lines from the Console window:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Finished building: C:/Projects/400-3028/trunk/Code/Application/3028_App/source/cal.c&lt;BR /&gt;&lt;BR /&gt;Building target: 3028_App.elf&lt;BR /&gt;Invoking: Cross ARM C Linker&lt;BR /&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Og -fmessage-length=0 -ffunction-sections -fdata-sections -fsingle-precision-constant -Wall -g -T "../MKL17Z256xxx4_flash.ld" -Xlinker --gc-sections -L../../libraries -Wl,-Map,"3028_App.map" --specs=nano.specs -u _printf_float -specs=nosys.specs -Xlinker -z -Xlinker muldefs -o "3028_App.elf" ./startup/startup_MKL17Z4.o ./source/adc.o ./source/alarm.o ./source/avg.o ./source/btld.o ./source/cal.o ./source/crc.o ./source/db.o ./source/display.o ./source/err.o ./source/faw.o ./source/flash.o ./source/flow.o ./source/fs_math.o ./source/img.o ./source/lcd.o ./source/led.o ./source/main.o ./source/mcu.o ./source/menu.o ./source/opttext.o ./source/outputs.o ./source/ow.o ./source/prb.o ./source/pwm.o ./source/sciu.o ./source/sensor_mux.o ./source/sys.o ./source/tmr.o ./source/units.o ./source/wdog.o ./drivers/fsl_adc16.o ./drivers/fsl_clock.o ./drivers/fsl_cmp.o ./drivers/fsl_common.o ./drivers/fsl_cop.o ./drivers/fsl_dac.o ./drivers/fsl_dma.o ./drivers/fsl_dmamux.o ./drivers/fsl_flash.o ./drivers/fsl_flexio.o ./drivers/fsl_flexio_i2c_master.o ./drivers/fsl_flexio_i2s.o ./drivers/fsl_flexio_i2s_dma.o ./drivers/fsl_flexio_uart.o ./drivers/fsl_flexio_uart_dma.o ./drivers/fsl_gpio.o ./drivers/fsl_i2c.o ./drivers/fsl_i2c_dma.o ./drivers/fsl_llwu.o ./drivers/fsl_lptmr.o ./drivers/fsl_lpuart.o ./drivers/fsl_lpuart_dma.o ./drivers/fsl_pit.o ./drivers/fsl_pmc.o ./drivers/fsl_rcm.o ./drivers/fsl_rtc.o ./drivers/fsl_sai.o ./drivers/fsl_sai_dma.o ./drivers/fsl_sim.o ./drivers/fsl_smc.o ./drivers/fsl_spi.o ./drivers/fsl_spi_dma.o ./drivers/fsl_tpm.o ./drivers/fsl_uart.o ./drivers/fsl_uart_dma.o ./drivers/fsl_vref.o ./board/board.o ./board/clock_config.o ./CMSIS/system_MKL17Z4.o -ltds&lt;BR /&gt;Finished building target: 3028_App.elf&lt;/P&gt;&lt;P&gt;11:27:38 Build Finished (took 1s.79ms)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 15:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842937#M50806</guid>
      <dc:creator>pcpro178</dc:creator>
      <dc:date>2018-07-03T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Generate S-record File with KDS v3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842938#M50807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;it would be helpful if you could post the last few things shown in the console view. That way it shows what is passed on the command line.&lt;/P&gt;&lt;P&gt;Does this problem only exists for that project, or as well for other projects?&lt;/P&gt;&lt;P&gt;My guess is that you are using custom build settings (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/" title="https://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/"&gt;Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse&lt;/A&gt; ) which somehow prevent the S19 file to be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you can simply do it from the commandline with something like this:&lt;/P&gt;&lt;P&gt;arm-none-eabi-objcopy -O srec "myFile.elf"&amp;nbsp; "myFile.srec"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You find the objcopy in C:\nxp\KDS_3.2.0\Toolchain\bin&lt;/P&gt;&lt;P&gt;I hope tthis helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842938#M50807</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-07-03T16:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Generate S-record File with KDS v3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842939#M50808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich.&amp;nbsp; Thanks for the quick response.&amp;nbsp; I'll take a look at those items you mentioned.&amp;nbsp; I also updated my original post with the data from the console window that you requested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-Generate-S-record-File-with-KDS-v3-2-0/m-p/842939#M50808</guid>
      <dc:creator>pcpro178</dc:creator>
      <dc:date>2018-07-03T16:39:00Z</dc:date>
    </item>
  </channel>
</rss>

