<?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: Access Error in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123966#M35</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Simon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks a lot, this was the solution of the problem! After appending these lines in my&amp;nbsp;vectors.s everithing works fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Great, thanks!&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 20:05:56 GMT</pubDate>
    <dc:creator>luethich</dc:creator>
    <dc:date>2007-02-22T20:05:56Z</dc:date>
    <item>
      <title>Access Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123964#M33</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi there,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i have a serious problem with access errors on 52233 devices. I have written an ethernet bootloader which works great. Also, i am able to program an application (which starts at 0x6000 in FLASH) which i can download and start with thee bootloader. The problem is, as soon as the application executes a function with an address &amp;gt; 0x8000, it enters the acces error interrupt (instruction fetch error).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have no idea why this happens.&lt;/DIV&gt;&lt;DIV&gt;Any ideas?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers&lt;/DIV&gt;&lt;DIV&gt;Christian&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 20:37:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123964#M33</guid>
      <dc:creator>luethich</dc:creator>
      <dc:date>2007-02-21T20:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Access Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123965#M34</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sounds like a problem that hit me a while ago.&lt;BR /&gt;&lt;BR /&gt;One possible solution is that you're not correctly setting up the Flash protection fields. These are located starting at offset 0x400 in the on-chip Flash, and get loaded into the CFM registers at boot. There are bits to control access to various banks of Flash, so you might have accessess enabled for 0x6000 but disabled for 0x8000, leading to the effect you describe.&lt;BR /&gt;&lt;BR /&gt;You need to make sure that you define the Flash configuration field, which is typically located directly after the end of the Exception Vector Table. Here's a version I use, which I add in my 'vectors.s' file at the appropriate location.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;
; Offset 0x00000400: CFM Flash Configuration Field
;
; For ColdFire processors with on-chip Flash, addresses 0x400 - 0x417
; are reserved array space used to determine the Flash module protection
; and access restrictions out of reset

KEY_UPPER:  .long 0x00000000
KEY_LOWER:  .long 0x00000000
CFMPROT:    .long 0x00000000
CFMSACC:    .long 0x00000000
CFMDACC:    .long 0x00000000
CFMSEC:     .long 0x00000000
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 00:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123965#M34</guid>
      <dc:creator>SimonMarsden_de</dc:creator>
      <dc:date>2007-02-22T00:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access Error</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123966#M35</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Simon,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks a lot, this was the solution of the problem! After appending these lines in my&amp;nbsp;vectors.s everithing works fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Great, thanks!&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 20:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Access-Error/m-p/123966#M35</guid>
      <dc:creator>luethich</dc:creator>
      <dc:date>2007-02-22T20:05:56Z</dc:date>
    </item>
  </channel>
</rss>

