<?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 XGATE support in gcc/binutils (e.g. 9S12XEP100) in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-support-in-gcc-binutils-e-g-9S12XEP100/m-p/195074#M7715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I couldn't find any existing code, I have been working on adding&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;support for XGATE assembly to GNU binutils. This post is an early&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;notification that I'm working on it. If someone has already&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;started/completed the task then I can abandon my efforts or join forces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This my first attempt at coding on binutils and it has taken time to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;understand it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I have got most of the XGATE assembly supported and most of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the relocations are done. The code creates one combined .elf and .s19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;although objdump gets confused on disassembly and tries to disassemble&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the XGATE code as if it were HCS12 code. (The opcodes look right though.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not yet tried the resultant code on the chip though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last year I extended the HCS12 serial monitor to support the S12X&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;family global addressing and a colleague extended a DOS based&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;downloader to take an s19 and send it to the chip via serial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Feb 2008 02:43:16 GMT</pubDate>
    <dc:creator>jsmcortina</dc:creator>
    <dc:date>2008-02-24T02:43:16Z</dc:date>
    <item>
      <title>XGATE support in gcc/binutils (e.g. 9S12XEP100)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-support-in-gcc-binutils-e-g-9S12XEP100/m-p/195074#M7715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I couldn't find any existing code, I have been working on adding&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;support for XGATE assembly to GNU binutils. This post is an early&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;notification that I'm working on it. If someone has already&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;started/completed the task then I can abandon my efforts or join forces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This my first attempt at coding on binutils and it has taken time to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;understand it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I have got most of the XGATE assembly supported and most of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the relocations are done. The code creates one combined .elf and .s19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;although objdump gets confused on disassembly and tries to disassemble&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the XGATE code as if it were HCS12 code. (The opcodes look right though.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not yet tried the resultant code on the chip though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last year I extended the HCS12 serial monitor to support the S12X&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;family global addressing and a colleague extended a DOS based&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;downloader to take an s19 and send it to the chip via serial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 02:43:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-support-in-gcc-binutils-e-g-9S12XEP100/m-p/195074#M7715</guid>
      <dc:creator>jsmcortina</dc:creator>
      <dc:date>2008-02-24T02:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: XGATE support in gcc/binutils (e.g. 9S12XEP100)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-support-in-gcc-binutils-e-g-9S12XEP100/m-p/195075#M7716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;OK, here is a patch to binutils to add support for the XGATE and partial support for the S12X.&lt;BR /&gt;&lt;BR /&gt;I have used it to create code and it works so far although testing is limited. There are bound to be bugs, but try it out and let me know how you get on&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jsm-net.demon.co.uk/xgate/" target="test_blank"&gt;http://www.jsm-net.demon.co.uk/xgate/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;James&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2008 04:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-support-in-gcc-binutils-e-g-9S12XEP100/m-p/195075#M7716</guid>
      <dc:creator>jsmcortina</dc:creator>
      <dc:date>2008-03-09T04:38:25Z</dc:date>
    </item>
  </channel>
</rss>

