<?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 Re: M52259 EVB board external RAM in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198809#M9019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the problem. I disabled CS1 and&amp;nbsp;the on-board CPLD would corrupt the Mini-bus. After active CS1 it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2009 02:59:53 GMT</pubDate>
    <dc:creator>JackD</dc:creator>
    <dc:date>2009-07-16T02:59:53Z</dc:date>
    <item>
      <title>M52259 EVB board external RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198807#M9017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I just bougt a M52259EVB board and do not know how to access the on board MRAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I&amp;nbsp;loaded my own code to&amp;nbsp;read the MRAM (CS0 configured as an 8-bit port), but it would&amp;nbsp;lock me in "Access Error Excpetion".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I notice that there is a CPLD residing on the same bus but could not find&amp;nbsp;its equations from the CD shipped with the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I configured the Mini-bus as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;SPAN style="color: #000000;"&gt;MCF_FBCS0_CSAR=0x80000000;&lt;/SPAN&gt; &lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;//CS0 base address 0x80000000&lt;/SPAN&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;MCF_FBCS0_CSCR=0x003F3D40;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;//15WS, AA, 8 bit&lt;/SPAN&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;MCF_FBCS0_CSMR=0x00070001;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;//CS0 512KB and validate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;I do not know what I did wrong and please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by JackD on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-07-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 04:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198807#M9017</guid>
      <dc:creator>JackD</dc:creator>
      <dc:date>2009-07-14T04:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: M52259 EVB board external RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198808#M9018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JackD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find some information about using the MRAM here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/forum/index.php?topic=504.0%20" rel="nofollow noopener noreferrer" target="_self"&gt;http://www.utasker.com/forum/index.php?topic=504.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/forum/index.php?topic=596.0" rel="nofollow noopener noreferrer" target="_self"&gt;http://www.utasker.com/forum/index.php?topic=596.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some code which was used to configure for the above tests:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
    fnConfigureBus(0, 2);                                                // configure the FlexBus interface accordingly with 1:2 clocking and 2 wait states  // Configuration of FlexBus for MRAM use. This serves as reference in case of a requirement for a more general interface//static void fnConfigureBus(int iSpeed, int iWaitStates){    unsigned long ulMask = 0x0000ffff;    unsigned long ulMaskPower = 0x00010000;    unsigned long ulSize = SIZE_OF_NVRAM;    #if defined USB_BIGENDIAN    unsigned short usExtendedMode = USB_END;    #else    unsigned short usExtendedMode = 0;    #endif    POWER_UP(POWER_MINI_FLEXBUS);                                        // power up the mini-flex bus module    if (iSpeed != 0) {                                                   // FlexBus should be clocked from system clock rather than half clock        usExtendedMode |= MBMOD;    }                                                                         // configure the port lines for non-multiplexed FlexBus    PTEPAR = 0xff;                                                       // address A0..A7    PTFPAR = 0xff;                                                       // address A8..A15    PTGPAR = (0x0f | ((PRIMARY_FUNCTION_D &amp;lt;&amp;lt; BIT_7_D_SHIFT) | (PRIMARY_FUNCTION_D &amp;lt;&amp;lt; BIT_6_D_SHIFT) | (PRIMARY_FUNCTION_D &amp;lt;&amp;lt; BIT_5_D_SHIFT))); // A16..A19, D0, D1, CS_B    PTHPAR = ((PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 0)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 1)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 2)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 3)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 4)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 5)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 6)) | (PRIMARY_FUNCTION_Q &amp;lt;&amp;lt; (2 * 7))); // data D2..D7, OE_B, RW_B                                                                         // configure the chip select    CSAR0 = (START_OF_FLASH + SIZE_OF_FLASH);                            // position immediately after internal FLASH in the memory map    while (ulSize &amp;gt; ulMaskPower) {        ulMask &amp;lt;&amp;lt;= 1;        ulSize -= ulMaskPower;        ulMaskPower &amp;lt;&amp;lt;= 1;    }    CSMR0 = ((ulMask &amp;amp; BAM_MASK) | FB_CS_VALID);    CSCR0 = (PORT_SIZE_8 | FB_AA | BSTW | BSTR | ((iWaitStates &amp;lt;&amp;lt; WAIT_STATE_SHIFT) &amp;amp; WAIT_STATE_MASK));    CCM_CCE = usExtendedMode;                                            // set the extended setting - note that this register can only be written once after a reset!}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow noopener noreferrer" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - &lt;EM&gt;"Embedding it better..."&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 03:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198808#M9018</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-07-15T03:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: M52259 EVB board external RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198809#M9019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the problem. I disabled CS1 and&amp;nbsp;the on-board CPLD would corrupt the Mini-bus. After active CS1 it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 02:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198809#M9019</guid>
      <dc:creator>JackD</dc:creator>
      <dc:date>2009-07-16T02:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: M52259 EVB board external RAM</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198810#M9020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Can I connect FPGA to MCF52259 such as external RAM&amp;nbsp;?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 22:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52259-EVB-board-external-RAM/m-p/198810#M9020</guid>
      <dc:creator>alex1954</dc:creator>
      <dc:date>2010-01-25T22:58:47Z</dc:date>
    </item>
  </channel>
</rss>

