<?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: SP_INIT in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SP-INIT/m-p/207336#M9924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It is a feature of the debug mode. Just after reset the core is waiting to start. If you load the PC register the core will start executing at that address. This is nice when your flash is blank. If you do not set the PC and&amp;nbsp; issue a step instruction or continue command the vector locations will be read and execution will start at those locations.&lt;BR /&gt;&lt;BR /&gt;This means the vector table read does not occur until the first instruction executes and you have not set the PC. If you set the PC you should also set the SP.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2008 07:02:31 GMT</pubDate>
    <dc:creator>ChrisJohns</dc:creator>
    <dc:date>2008-12-05T07:02:31Z</dc:date>
    <item>
      <title>SP_INIT</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SP-INIT/m-p/207335#M9923</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;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;The MCF522xx cores should load the SSP with the contents of location 0x0000_0000&amp;nbsp; on reset, so called SP_INIT in the vectortable (next is PC_INIT).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why do i see random contents in A7 as well as OTHER_A7 in the register view of the dedugger ?&lt;/DIV&gt;&lt;DIV&gt;( directly after a reset, so PC=PC_INIT,&amp;nbsp;&amp;nbsp;as&amp;nbsp;well as in the next few instructions ) &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;( contents of other registers do diplay correctly )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is that a feature of the debug mode or is the SSP accutally *not* loaded ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How come ?&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(PS: current cpu = MCF52235 )&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by MrBean on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-12-04&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:34 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 02:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SP-INIT/m-p/207335#M9923</guid>
      <dc:creator>MrBean</dc:creator>
      <dc:date>2008-12-05T02:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: SP_INIT</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SP-INIT/m-p/207336#M9924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It is a feature of the debug mode. Just after reset the core is waiting to start. If you load the PC register the core will start executing at that address. This is nice when your flash is blank. If you do not set the PC and&amp;nbsp; issue a step instruction or continue command the vector locations will be read and execution will start at those locations.&lt;BR /&gt;&lt;BR /&gt;This means the vector table read does not occur until the first instruction executes and you have not set the PC. If you set the PC you should also set the SP.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 07:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/SP-INIT/m-p/207336#M9924</guid>
      <dc:creator>ChrisJohns</dc:creator>
      <dc:date>2008-12-05T07:02:31Z</dc:date>
    </item>
  </channel>
</rss>

