<?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 Codewarrior + MC9S12XEP100 + External Bus Interface (EBI) in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-MC9S12XEP100-External-Bus-Interface-EBI/m-p/619847#M5266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm designing a system with these main components:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CodeWarrior latest version&lt;/LI&gt;&lt;LI&gt;MC9S12XEP100 microcontroller&lt;/LI&gt;&lt;LI&gt;Memory Cypress CY7C1041GN (256K x 16b)&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a lot of information about hardware interface and&amp;nbsp;registers but few about CodeWarrior Project settings.&lt;/P&gt;&lt;P&gt;A simple schematic was attached in order to illustrate what I'm trying to do.&lt;/P&gt;&lt;P&gt;The chosen memory can be easily controlled by uC signals but I don't know how to make my code address correctly using FAR key word.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following uC datasheet, AN2708 and AN2992, I got these registers values:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;EBICTL0 : 0x33&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||+++++- ASize: 10011 - External Address Bus Size (19 lines)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||+------ HBDE : 1 - High Data Byte Enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|+------- 0 &amp;nbsp; &amp;nbsp;: 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+-------- ITHRS: 0 - Reduced Input Threshold disabled&amp;nbsp;(Standard Level on all pins)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;EBICTL1 : 0x00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||||+++- EXSTR0: 000 - External Access Stretch Option 0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||+---- 0 &amp;nbsp; &amp;nbsp; : 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|+++----- EXSTR1: 000 - External Access Stretch Option 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+-------- 0 &amp;nbsp; &amp;nbsp; : 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MMCCTL0 : 0x0C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||++- CS0 : 0x00 - Chip Select 0 Disabled &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||++--- CS1 : 0x11 - Chip Select 1 Enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||++----- CS2 : 0x00 - Chip Select 0 Disabled &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;++------- CS3 : 0x00 - Chip Select 0 Disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MODE : 0xA0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||+++++- 0 : 00000 - Sempre 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+++------ MOD[C:A] : 101 - Normal Expanded Mode&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suppose I have a program segment that needs to be completely fitted inside &lt;SPAN style="font-size: 11.0pt;"&gt;200000h–3FFFFFh. &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.0pt;"&gt;I know I can use absolute address and set a variable at that address.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.0pt;"&gt;But how can I do it automatically for variables and code?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;Today I have a project using EBI with HCS12DP512. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;In this project, I set PRM file and everything was ok because my External Memory is only 16KB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;PPage was not necessary and my code was treated like an internal firmware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;However, in this new project, I need that every single access use the correct PPage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2017 13:41:03 GMT</pubDate>
    <dc:creator>leandromaia</dc:creator>
    <dc:date>2017-02-09T13:41:03Z</dc:date>
    <item>
      <title>Codewarrior + MC9S12XEP100 + External Bus Interface (EBI)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-MC9S12XEP100-External-Bus-Interface-EBI/m-p/619847#M5266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm designing a system with these main components:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CodeWarrior latest version&lt;/LI&gt;&lt;LI&gt;MC9S12XEP100 microcontroller&lt;/LI&gt;&lt;LI&gt;Memory Cypress CY7C1041GN (256K x 16b)&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a lot of information about hardware interface and&amp;nbsp;registers but few about CodeWarrior Project settings.&lt;/P&gt;&lt;P&gt;A simple schematic was attached in order to illustrate what I'm trying to do.&lt;/P&gt;&lt;P&gt;The chosen memory can be easily controlled by uC signals but I don't know how to make my code address correctly using FAR key word.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following uC datasheet, AN2708 and AN2992, I got these registers values:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;EBICTL0 : 0x33&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||+++++- ASize: 10011 - External Address Bus Size (19 lines)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||+------ HBDE : 1 - High Data Byte Enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|+------- 0 &amp;nbsp; &amp;nbsp;: 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+-------- ITHRS: 0 - Reduced Input Threshold disabled&amp;nbsp;(Standard Level on all pins)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;EBICTL1 : 0x00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||||+++- EXSTR0: 000 - External Access Stretch Option 0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||+---- 0 &amp;nbsp; &amp;nbsp; : 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|+++----- EXSTR1: 000 - External Access Stretch Option 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+-------- 0 &amp;nbsp; &amp;nbsp; : 0 - Always&amp;nbsp;0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MMCCTL0 : 0x0C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||||++- CS0 : 0x00 - Chip Select 0 Disabled &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||||++--- CS1 : 0x11 - Chip Select 1 Enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;||++----- CS2 : 0x00 - Chip Select 0 Disabled &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;++------- CS3 : 0x00 - Chip Select 0 Disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;MODE : 0xA0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;|||+++++- 0 : 00000 - Sempre 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;+++------ MOD[C:A] : 101 - Normal Expanded Mode&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suppose I have a program segment that needs to be completely fitted inside &lt;SPAN style="font-size: 11.0pt;"&gt;200000h–3FFFFFh. &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.0pt;"&gt;I know I can use absolute address and set a variable at that address.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.0pt;"&gt;But how can I do it automatically for variables and code?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;Today I have a project using EBI with HCS12DP512. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;In this project, I set PRM file and everything was ok because my External Memory is only 16KB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;PPage was not necessary and my code was treated like an internal firmware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;However, in this new project, I need that every single access use the correct PPage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 13:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-MC9S12XEP100-External-Bus-Interface-EBI/m-p/619847#M5266</guid>
      <dc:creator>leandromaia</dc:creator>
      <dc:date>2017-02-09T13:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior + MC9S12XEP100 + External Bus Interface (EBI)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-MC9S12XEP100-External-Bus-Interface-EBI/m-p/619848#M5267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;- There is a External bus&amp;nbsp; design demo and DOC :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-93594"&gt;S12XD, S12XE - External BUS design - Addendum To AN2708&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- There is a FAR Keyword demo as Jennie support:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/314318"&gt;PPAGE Use Problem.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 10:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-MC9S12XEP100-External-Bus-Interface-EBI/m-p/619848#M5267</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-02-10T10:33:02Z</dc:date>
    </item>
  </channel>
</rss>

