<?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: files for flash programming in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180390#M4105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Target settings panel, under M56800E linker you can select Generate S-Record file.&lt;/P&gt;&lt;P&gt;Then the &amp;nbsp;linker will generates the Srecord file.&lt;/P&gt;&lt;P&gt;Attached you will find an example.&lt;/P&gt;&lt;P&gt;Please have a look in the \test\output folder.&lt;/P&gt;&lt;P&gt;There are 5 files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.p.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.x.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.xMAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf.xMAP is the map file giving info about the memory mapping used by your application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf is the executable file containing code and debug info.&lt;/P&gt;&lt;P&gt;This is the file used by CodeWarrior when you want to debug the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf.p.S,&amp;nbsp;&amp;nbsp;sdm_external_memory.elf.S,&amp;nbsp;&amp;nbsp;sdm_external_memory.elf.x.S are the Srecord files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.p.S contains code only&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.S contains code and data&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.x.S contains data only.&lt;/P&gt;&lt;P&gt;For the Flash programmer tool you must load the sdm_external_memory.elf.S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The difference between sdm_external_memory.elf.S and sdm_external_memory.elf is just the debug info.&lt;/P&gt;&lt;P&gt;With the flash programmer you can download both of them.&lt;/P&gt;&lt;P&gt;When you launch the 56800E Flash Programmer.exe in the S-Record file to load field you can define the file you want to load. If you click on ... button, an Open dialog will appear.&lt;/P&gt;&lt;P&gt;In this dialog you can select the&amp;nbsp;type by Files of Type.&lt;/P&gt;&lt;P&gt;Select All Files.&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;the system will show you all files and folder containing in the current folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/msg1344_test.zip" rel="nofollow" target="_self"&gt;test.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-04&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:39 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 16:38:12 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2009-05-19T16:38:12Z</dc:date>
    <item>
      <title>files for flash programming</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180389#M4104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; these days, I study the flash programming. the manual says you can download both S-record&amp;nbsp;and&amp;nbsp;ELF file to chips. I have no doubt on S-record file, bu do have some on ELF. every time I make project and get sveral other files such sdm_pROM-xRAM.elf (CodeWarrior Link Map)&amp;nbsp;and sdm_pROM-xRAM (CodeWarrior ELF Debug Executable) except .s files. When I open 5600E flash programmer and choose files for download as ELF&amp;nbsp;file type chosen, only sdm_pROM-xRAM (CodeWarrior ELF Debug Executable) can be selected not sdm_pROM-xRAM.elf (CodeWarrior Link Map). so I don't know why it is like this for .elf has the right ELF suffix or the former one is the real ELF file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Xidi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05.12.2009&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 12:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180389#M4104</guid>
      <dc:creator>admond</dc:creator>
      <dc:date>2009-05-12T12:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: files for flash programming</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180390#M4105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Target settings panel, under M56800E linker you can select Generate S-Record file.&lt;/P&gt;&lt;P&gt;Then the &amp;nbsp;linker will generates the Srecord file.&lt;/P&gt;&lt;P&gt;Attached you will find an example.&lt;/P&gt;&lt;P&gt;Please have a look in the \test\output folder.&lt;/P&gt;&lt;P&gt;There are 5 files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.p.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.x.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.xMAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf.xMAP is the map file giving info about the memory mapping used by your application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf is the executable file containing code and debug info.&lt;/P&gt;&lt;P&gt;This is the file used by CodeWarrior when you want to debug the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdm_external_memory.elf.p.S,&amp;nbsp;&amp;nbsp;sdm_external_memory.elf.S,&amp;nbsp;&amp;nbsp;sdm_external_memory.elf.x.S are the Srecord files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.p.S contains code only&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.S contains code and data&lt;/P&gt;&lt;P&gt;&amp;nbsp;sdm_external_memory.elf.x.S contains data only.&lt;/P&gt;&lt;P&gt;For the Flash programmer tool you must load the sdm_external_memory.elf.S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The difference between sdm_external_memory.elf.S and sdm_external_memory.elf is just the debug info.&lt;/P&gt;&lt;P&gt;With the flash programmer you can download both of them.&lt;/P&gt;&lt;P&gt;When you launch the 56800E Flash Programmer.exe in the S-Record file to load field you can define the file you want to load. If you click on ... button, an Open dialog will appear.&lt;/P&gt;&lt;P&gt;In this dialog you can select the&amp;nbsp;type by Files of Type.&lt;/P&gt;&lt;P&gt;Select All Files.&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;the system will show you all files and folder containing in the current folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/msg1344_test.zip" rel="nofollow" target="_self"&gt;test.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-04&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:39 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 16:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180390#M4105</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2009-05-19T16:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: files for flash programming</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180391#M4106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;thank you for explaining so much. another question : is there any convenient method to reset debug excpet restart, since restart in fact comprises kill and debug which needs redownloading code to target. some other IDEs really get reset of debug in use. so can you explain it in detail ? thank you&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 11:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180391#M4106</guid>
      <dc:creator>admond</dc:creator>
      <dc:date>2009-05-20T11:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: files for flash programming</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180392#M4107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't have reset button.&lt;/P&gt;&lt;P&gt;The restart kill and re-launch the debugger.&lt;/P&gt;&lt;P&gt;In the Target Settings Panels under Debugger ¦ Remote Debug Options, the Program Download Options can be addapted depending of your need.&lt;/P&gt;&lt;P&gt;There aree option for Initial Launch and for Successive Runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For details please have a look to the Targeting_56800E.pdf page 80. (Manual from CodeWarrior for DSC56800E v8.2.3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 20:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/files-for-flash-programming/m-p/180392#M4107</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2009-05-20T20:33:12Z</dc:date>
    </item>
  </channel>
</rss>

