<?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>S12 / MagniV Microcontrollers中的主题 New to s records</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140862#M3155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm working on my first freescale embedded project.&amp;nbsp; I'm writing my makefile for my project and I noticed that the linker.exe can output a s record directly of several different formats.&amp;nbsp; I'm&amp;nbsp; using the makefile approach (reference (CodeWarrior_Examples)\HC12\Makefile_Projects)&amp;nbsp;as I find you can really&amp;nbsp;control the&amp;nbsp;build process&amp;nbsp;all build switches, etc.&amp;nbsp; I'm not a GUI hater just more comfortable with CLI!&amp;nbsp; Now being only familiar with intel hex files and programming parts into EPROM or flash with that file format only I have some questions:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1)&amp;nbsp;Which s record format should I use and why.&amp;nbsp; I actually have two different projects one using MC9S12E64 and 'E128.&amp;nbsp; So do I pick the s record size based on how much code space there could potentially be in that size part (different numberof bytes in address field of s record).&amp;nbsp; How does one go about this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) Do I really need a *.s19 file?&amp;nbsp; I find it a bit confusing that linker.exe creates s records and then burner.exe can create *.s19 files and connect directly to a programmer.&amp;nbsp; I plan to use the USB MULTILINK BDM to debug and program during development as that's what has been provided.&amp;nbsp; I want my makefile to "do it all" except for connecting to the board to flash the part.&amp;nbsp; I'd like to create the file that you'd actaully use a utility like burner or other to flash the part during the make process.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3) In the production environment (say 100 / day) what's a good way to program the final assembly?&amp;nbsp; I noticed the cyclone option was a standalong programmer.&amp;nbsp; What are some suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Clarification would be much appreciated to this s record newbie!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jun 2006 00:51:14 GMT</pubDate>
    <dc:creator>rhb3</dc:creator>
    <dc:date>2006-06-25T00:51:14Z</dc:date>
    <item>
      <title>New to s records</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140862#M3155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm working on my first freescale embedded project.&amp;nbsp; I'm writing my makefile for my project and I noticed that the linker.exe can output a s record directly of several different formats.&amp;nbsp; I'm&amp;nbsp; using the makefile approach (reference (CodeWarrior_Examples)\HC12\Makefile_Projects)&amp;nbsp;as I find you can really&amp;nbsp;control the&amp;nbsp;build process&amp;nbsp;all build switches, etc.&amp;nbsp; I'm not a GUI hater just more comfortable with CLI!&amp;nbsp; Now being only familiar with intel hex files and programming parts into EPROM or flash with that file format only I have some questions:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1)&amp;nbsp;Which s record format should I use and why.&amp;nbsp; I actually have two different projects one using MC9S12E64 and 'E128.&amp;nbsp; So do I pick the s record size based on how much code space there could potentially be in that size part (different numberof bytes in address field of s record).&amp;nbsp; How does one go about this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) Do I really need a *.s19 file?&amp;nbsp; I find it a bit confusing that linker.exe creates s records and then burner.exe can create *.s19 files and connect directly to a programmer.&amp;nbsp; I plan to use the USB MULTILINK BDM to debug and program during development as that's what has been provided.&amp;nbsp; I want my makefile to "do it all" except for connecting to the board to flash the part.&amp;nbsp; I'd like to create the file that you'd actaully use a utility like burner or other to flash the part during the make process.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3) In the production environment (say 100 / day) what's a good way to program the final assembly?&amp;nbsp; I noticed the cyclone option was a standalong programmer.&amp;nbsp; What are some suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Clarification would be much appreciated to this s record newbie!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2006 00:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140862#M3155</guid>
      <dc:creator>rhb3</dc:creator>
      <dc:date>2006-06-25T00:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: New to s records</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140863#M3156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rhb3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Motorola S19, S28, S37 (is that the lot - maybe there are more?) differ in the addressing range possible. If you are using a device with 64k then only 2 bytes are needed to address each location (a short pointer). Once you get above 64k then it is necessary to use three byte pointers and so on up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is nothing to stop you using S28 also for 64k projects - the S record will simply be slightly larger in size since there are three bytes (actually ascii hex bytes in the file format) instead of 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most debuggers can handle all sorts of formats, especially ELF, which is generated by by most compilers so there is probably no reason to generate s-records for normal work. The s-records are useful when SW is distributed to be loaded by serial boot loaders and the like and for programming chips in programmers (it's a long time since I used such a device...). I think that you will find the the Codewarrior for your device will automatically recognise the format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S-rec and Intel hex are the two, probably, most known such formats and it is also easy to convert from one to the other. If you know Intel hex then Motorola Hex is just as easy to get to know and understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark Butcher&lt;BR /&gt;&lt;A href="http://www.mjbc.ch/"&gt;www.mjbc.ch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 06:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140863#M3156</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2006-06-26T06:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: New to s records</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140864#M3157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Other sources of info on S-Record format:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;!--StartFragment --&gt;&lt;FONT face="Comic Sans MS"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A class="l" href="http://www.s-record.com" rel="nofollow" target="_blank"&gt;&lt;FONT face="Comic Sans MS"&gt;www.&lt;B&gt;s-record&lt;/B&gt;.com&lt;/FONT&gt;&lt;/A&gt; &lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.amelek.gda.pl/avr/uisp/srecord.htm" rel="nofollow" target="_blank"&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.amelek.gda.pl/avr/uisp/srecord.htm" target="test_blank"&gt;http://www.amelek.gda.pl/avr/uisp/srecord.htm&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;or on Sourceforge for a converter:&amp;nbsp;&lt;!--StartFragment --&gt;&amp;nbsp;&lt;!--StartFragment --&gt; &lt;A href="http://srecord.sourceforge.net/" rel="nofollow" target="_blank"&gt;&lt;FONT size="-1"&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://srecord.sourceforge.net/" target="test_blank"&gt;http://srecord.sourceforge.net/&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS" size="2"&gt;Cheers,&lt;BR /&gt;Alban.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 20:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140864#M3157</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-06-26T20:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: New to s records</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140865#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Thanks!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 22:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/New-to-s-records/m-p/140865#M3158</guid>
      <dc:creator>rhb3</dc:creator>
      <dc:date>2006-07-04T22:47:06Z</dc:date>
    </item>
  </channel>
</rss>

