<?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 Convert Banked GCC S1 to linear S2 record in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143231#M3531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using GCC tools for the NE64 chip that generate S1 record that starts at 0x4000 and ends at 0xFFFF. The PPAGE register is set to 0x3D to get a linear flash space.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;The GCC memory.x file is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;MEMORY{&amp;nbsp; ioports (!x)&amp;nbsp; : org = 0x0000, l = 0x0400&amp;nbsp; eeprom&amp;nbsp; (!i)&amp;nbsp; : org = 0x, l = 0x&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; (rwx) : org = 0x3200, l = 0x0E00&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp; (rx)&amp;nbsp; : org = 0x4000, l = 0xB800&amp;nbsp; vectors (rx)&amp;nbsp; : org = 0xFF80, l = 0x0080}PROVIDE (_stack = 0x4000);vectors_addr = 0xFF80;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;I have tried for 3 day using SRecCvt-GUI&amp;nbsp;&amp;nbsp;to generate and &amp;nbsp;program the NE64 with no luck.&lt;/DIV&gt;&lt;DIV&gt;Has anyone run into this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advanve for your help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:43:44 GMT</pubDate>
    <dc:creator>ServoPump</dc:creator>
    <dc:date>2020-10-29T08:43:44Z</dc:date>
    <item>
      <title>Convert Banked GCC S1 to linear S2 record</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143231#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using GCC tools for the NE64 chip that generate S1 record that starts at 0x4000 and ends at 0xFFFF. The PPAGE register is set to 0x3D to get a linear flash space.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;The GCC memory.x file is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;MEMORY{&amp;nbsp; ioports (!x)&amp;nbsp; : org = 0x0000, l = 0x0400&amp;nbsp; eeprom&amp;nbsp; (!i)&amp;nbsp; : org = 0x, l = 0x&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; (rwx) : org = 0x3200, l = 0x0E00&amp;nbsp; text&amp;nbsp;&amp;nbsp;&amp;nbsp; (rx)&amp;nbsp; : org = 0x4000, l = 0xB800&amp;nbsp; vectors (rx)&amp;nbsp; : org = 0xFF80, l = 0x0080}PROVIDE (_stack = 0x4000);vectors_addr = 0xFF80;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;I have tried for 3 day using SRecCvt-GUI&amp;nbsp;&amp;nbsp;to generate and &amp;nbsp;program the NE64 with no luck.&lt;/DIV&gt;&lt;DIV&gt;Has anyone run into this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advanve for your help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:43:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143231#M3531</guid>
      <dc:creator>ServoPump</dc:creator>
      <dc:date>2020-10-29T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Banked GCC S1 to linear S2 record</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143232#M3532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Sreccvt (and of course its GUI) is useless when it comes to converting nonpaged addresses $8000-$BFFF. You say that PPAGE is set to 3D. But sreccvt doesn't know that $8000-$BFFF belong to page 3D and there's no way to tell sreccvt where to move $8000-$BFFF to.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To solve the issue&amp;nbsp;you could exlude 8000-bfff from your "linear" memory map. But this is&amp;nbsp;probably not what you want. So you need to extract 8000-BFFF S-records to separate file and shift these to proper "page" using sreccvt with -of switch. For example to move 8000-bfff to page 3C use -of switch argument set to&amp;nbsp;(page=3C * 0x4000 - 0x8000):&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;sreccvt -m 8000 FFFFF 32 -of E8000 -o sfile8000bfff_OUT sfile8000bfff_IN&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Then you should put sfile8000bfff_out back into your S-file. This converted S-file will be compatible with sreccvt and its GUI :smileyhappy:.&lt;/DIV&gt;&lt;DIV&gt;grep may help moving 8000-bfff to separat file.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 16:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143232#M3532</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2007-01-20T16:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Banked GCC S1 to linear S2 record</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143233#M3533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;you could try logphy convertor from P&amp;amp;E. Select custom to define the PPAGE=$3D for $8000 area&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 02:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Banked-GCC-S1-to-linear-S2-record/m-p/143233#M3533</guid>
      <dc:creator>Ilocano</dc:creator>
      <dc:date>2007-01-21T02:47:05Z</dc:date>
    </item>
  </channel>
</rss>

