<?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>Kinetis Microcontrollers中的主题 Re: K70 external ram simple question</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161568#M677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;External RAM can be used like internal RAM; it lies in the same 32-bit flat address space. Things to look out for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;External RAM is slower =&amp;gt; need to enable cache =&amp;gt; &amp;nbsp;need to flush/disable cache when dealing with DMA buffers&lt;/LI&gt;&lt;LI&gt;Debugger support is more adventurous. If your debugger and JTAG adapter work fine with internal RAM, that doesn't mean it will work fine with external RAM (e.g. can't read/write ext ram from debugger, can't put breakpoints on external RAM addresses). However, that's more a problem of immaturity of Kinetis tooling, and time is working for you.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 17:03:55 GMT</pubDate>
    <dc:creator>konrada</dc:creator>
    <dc:date>2012-05-10T17:03:55Z</dc:date>
    <item>
      <title>K70 external ram simple question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161567#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm looking at using a K70 for a new project but having never used external ram in any embedded project before, I just have a simple question... once all the registers and what-not are set up, can the memory be used just like internal SRAM? i.e. completely transparently from the C code's point of view:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void foo(uint32_t * p)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;*p = 0;&lt;BR /&gt;}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;foo(sram_pointer);&lt;/P&gt;&lt;P&gt;foo(dram_pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as oppose to say having to use some compiler extension like "unsigned int far *" or needing to use registers in order to actually read/write to the memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are there any restrictions you think I might need to know about?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 15:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161567#M676</guid>
      <dc:creator>James8</dc:creator>
      <dc:date>2012-05-10T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: K70 external ram simple question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161568#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;External RAM can be used like internal RAM; it lies in the same 32-bit flat address space. Things to look out for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;External RAM is slower =&amp;gt; need to enable cache =&amp;gt; &amp;nbsp;need to flush/disable cache when dealing with DMA buffers&lt;/LI&gt;&lt;LI&gt;Debugger support is more adventurous. If your debugger and JTAG adapter work fine with internal RAM, that doesn't mean it will work fine with external RAM (e.g. can't read/write ext ram from debugger, can't put breakpoints on external RAM addresses). However, that's more a problem of immaturity of Kinetis tooling, and time is working for you.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161568#M677</guid>
      <dc:creator>konrada</dc:creator>
      <dc:date>2012-05-10T17:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: K70 external ram simple question</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161569#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Jlink Ultra which at least claims to support external RAM, so I guess we'll see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 17:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-external-ram-simple-question/m-p/161569#M678</guid>
      <dc:creator>James8</dc:creator>
      <dc:date>2012-05-10T17:35:28Z</dc:date>
    </item>
  </channel>
</rss>

