<?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中的主题 S-Record address is odd</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S-Record-address-is-odd/m-p/124352#M84</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Tue May 03, 2005 1:57 pm&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border:0px solid black;" width="100%"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freegeeks.net%2Fmodules.php%3Fname%3DForums%26file%3Dviewtopic%26p%3D1659%231659" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG alt="Post" border="0" height="9" src="http://www.freegeeks.net/themes/DeepBlue/forums/images/icon_minipost.gif" title="Post" width="12" /&gt;&lt;/A&gt;&lt;SPAN class="postdetails"&gt;Posted: Tue May 03, 2005 1:57 pm&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;Post subject: S-Record address is odd&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" nowrap="" style="border:0px solid black;" valign="top"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freegeeks.net%2Fmodules.php%3Fname%3DForums%26file%3Dposting%26mode%3Dquote%26p%3D1659" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG alt="Reply with quote" border="0" src="http://www.freegeeks.net/themes/DeepBlue/forums/images/lang_english/icon_quote.gif" title="Reply with quote" /&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="border:0px solid black;"&gt;&lt;HR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="border:0px solid black;"&gt;&lt;SPAN class="postbody"&gt;Hello,&lt;BR /&gt; I use an HCS12 T-Board from eletronic laden and I try to program my flash using bootloader mode; the mcu is a 9S12DG256.&lt;BR /&gt; When my led.S19 is assembled, I use SRecCvt to convert it into led.S2 by writing the following command line :&lt;BR /&gt; Sreccvt -m C0000 FFFFF 32 -lp -o led.s2 led.s19&lt;BR /&gt; When I try to send it to the mcu, I get an error message :&lt;BR /&gt; "S-Records Address is Odd"&lt;BR /&gt;&lt;BR /&gt; I give you the source of the led program which I use only to try the download function :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;; Program leds PORTA EQU $0000 DDRA EQU $0002 PORTB EQU $0001 DDRB EQU $0003 ORG $C000 LDS #$1100 START INI BSET PORTA,#%01010101 BSR TEMPO BSR TEMPO BSR TEMPO CLR PORTA BSR TEMPO BSR TEMPO BSR TEMPO BRA INI * ROUTINE : Temporisation TEMPO PSHX LDX #$FFFF T1 NOP NOP DEX BNE T1 PULX RTS ORG $EFFE FDB START &lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;any advice is welcome.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Thu May 05, 2005 8:26 am&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Sorry, not familier with the eletronic laden tools, have you dropped them a line.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Thu May 05, 2005 12:55 pm&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Hi,&lt;BR /&gt; Try adding an "asm NOP" at the end of your code and be sure it's not optimized out.&lt;BR /&gt; In this case you will have a "even" size instead of "odd".&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Wed May 11, 2005 8:47 am&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;I would like to thank all the people who answer in this forum.&lt;BR /&gt; You make earn time for a lot of people.&lt;BR /&gt; Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2006 01:11:03 GMT</pubDate>
    <dc:creator>RChapman</dc:creator>
    <dc:date>2006-01-27T01:11:03Z</dc:date>
    <item>
      <title>S-Record address is odd</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S-Record-address-is-odd/m-p/124352#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Tue May 03, 2005 1:57 pm&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border:0px solid black;" width="100%"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freegeeks.net%2Fmodules.php%3Fname%3DForums%26file%3Dviewtopic%26p%3D1659%231659" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG alt="Post" border="0" height="9" src="http://www.freegeeks.net/themes/DeepBlue/forums/images/icon_minipost.gif" title="Post" width="12" /&gt;&lt;/A&gt;&lt;SPAN class="postdetails"&gt;Posted: Tue May 03, 2005 1:57 pm&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;Post subject: S-Record address is odd&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" nowrap="" style="border:0px solid black;" valign="top"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freegeeks.net%2Fmodules.php%3Fname%3DForums%26file%3Dposting%26mode%3Dquote%26p%3D1659" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;IMG alt="Reply with quote" border="0" src="http://www.freegeeks.net/themes/DeepBlue/forums/images/lang_english/icon_quote.gif" title="Reply with quote" /&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="border:0px solid black;"&gt;&lt;HR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="2" style="border:0px solid black;"&gt;&lt;SPAN class="postbody"&gt;Hello,&lt;BR /&gt; I use an HCS12 T-Board from eletronic laden and I try to program my flash using bootloader mode; the mcu is a 9S12DG256.&lt;BR /&gt; When my led.S19 is assembled, I use SRecCvt to convert it into led.S2 by writing the following command line :&lt;BR /&gt; Sreccvt -m C0000 FFFFF 32 -lp -o led.s2 led.s19&lt;BR /&gt; When I try to send it to the mcu, I get an error message :&lt;BR /&gt; "S-Records Address is Odd"&lt;BR /&gt;&lt;BR /&gt; I give you the source of the led program which I use only to try the download function :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;; Program leds PORTA EQU $0000 DDRA EQU $0002 PORTB EQU $0001 DDRB EQU $0003 ORG $C000 LDS #$1100 START INI BSET PORTA,#%01010101 BSR TEMPO BSR TEMPO BSR TEMPO CLR PORTA BSR TEMPO BSR TEMPO BSR TEMPO BRA INI * ROUTINE : Temporisation TEMPO PSHX LDX #$FFFF T1 NOP NOP DEX BNE T1 PULX RTS ORG $EFFE FDB START &lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;any advice is welcome.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Thu May 05, 2005 8:26 am&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Sorry, not familier with the eletronic laden tools, have you dropped them a line.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Thu May 05, 2005 12:55 pm&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;Hi,&lt;BR /&gt; Try adding an "asm NOP" at the end of your code and be sure it's not optimized out.&lt;BR /&gt; In this case you will have a "even" size instead of "odd".&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="postdetails"&gt;&lt;STRONG&gt;Posted: Wed May 11, 2005 8:47 am&lt;SPAN class="gen"&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;&lt;SPAN class="postdetails"&gt;&lt;SPAN class="postbody"&gt;I would like to thank all the people who answer in this forum.&lt;BR /&gt; You make earn time for a lot of people.&lt;BR /&gt; Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2006 01:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S-Record-address-is-odd/m-p/124352#M84</guid>
      <dc:creator>RChapman</dc:creator>
      <dc:date>2006-01-27T01:11:03Z</dc:date>
    </item>
  </channel>
</rss>

