<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックMCF5223x RAM and user/supervisor protection</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-RAM-and-user-supervisor-protection/m-p/206171#M9784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is is possible to protect part of internal RAM from overwriting by user code? I was looked carefully into MCF52235RM and CFPRM and found nothing about RAM protection, other than CACR register, which can only be used to protect RAM as whole (which is not an option for single-chip mode).&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 17:24:03 GMT</pubDate>
    <dc:creator>LightElf</dc:creator>
    <dc:date>2008-03-25T17:24:03Z</dc:date>
    <item>
      <title>MCF5223x RAM and user/supervisor protection</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-RAM-and-user-supervisor-protection/m-p/206171#M9784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is is possible to protect part of internal RAM from overwriting by user code? I was looked carefully into MCF52235RM and CFPRM and found nothing about RAM protection, other than CACR register, which can only be used to protect RAM as whole (which is not an option for single-chip mode).&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 17:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-RAM-and-user-supervisor-protection/m-p/206171#M9784</guid>
      <dc:creator>LightElf</dc:creator>
      <dc:date>2008-03-25T17:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5223x RAM and user/supervisor protection</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-RAM-and-user-supervisor-protection/m-p/206172#M9785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;you can try to define your own memory region in liker command file and mark it as read only. And in your code use a #pragma directive to place your read only data there.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;A #pragma&amp;nbsp;is a compiler directive.&lt;/SPAN&gt; &lt;SPAN&gt;After you have set the pragma to the desired state, all code after that point is compiled with that setting until either&lt;/SPAN&gt; &lt;SPAN&gt;you&lt;/SPAN&gt; &lt;FONT color="#666666"&gt;&lt;SPAN&gt;change the setting&lt;/SPAN&gt; &lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;reach the end of the file&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/FONT&gt; &lt;SPAN&gt;&lt;FONT color="#666666"&gt;At the beginnin&lt;/FONT&gt;g of each file, the compiler reverts to the project or&lt;/SPAN&gt; &lt;SPAN&gt;default settings.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;best regards - Adam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 17:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-RAM-and-user-supervisor-protection/m-p/206172#M9785</guid>
      <dc:creator>AdamS</dc:creator>
      <dc:date>2008-04-29T17:42:02Z</dc:date>
    </item>
  </channel>
</rss>

