<?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: Problems starting from internal Flash in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292490#M10654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I had to disable Watchdog. But also I now use the generatet functions from RAppID but with given Code from CodeWarrior. Now it 's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 11:41:15 GMT</pubDate>
    <dc:creator>tb89</dc:creator>
    <dc:date>2013-07-18T11:41:15Z</dc:date>
    <item>
      <title>Problems starting from internal Flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292487#M10651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using MPC5604B on XPC56XX EVB Motherboard and XPC560B 100LQFP Minimodule.&lt;BR /&gt;I used RAppID Init for MPC560xB Version 1.3.0.6 to generate source Code and added it to CodeWarrior IDE (Version 5.9.0).&lt;/P&gt;&lt;P&gt;Also I use P&amp;amp;E micro USB Multilink Interface and ICDPPCNEXUS Debugger (Version 1.34.00.01) for CodeWarrior.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My program is using DSPI_2 to communicate with an EA DOGS102W-6 Display and also shows a simple "Hello World" on it.&lt;/P&gt;&lt;P&gt;I'm already able to load my program with the "Debug"-Button on RAM and internal Flash and start it with a 'go' command at the Debugger.&lt;/P&gt;&lt;P&gt;I changed the display for my "RAM-program" to differ it from the program on Flash.&lt;/P&gt;&lt;P&gt;So, I'm able to load on RAM and start that display ('go'), change program Counter to the address of Flash and also start that different display with 'go'.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I wanted to start the program without Debbuger, by just shutdown the board, unpluck the Debugger and start again.&lt;/P&gt;&lt;P&gt;But nothing is working and the Reset LED glows from shutdown til first reset command of Debugger.&lt;/P&gt;&lt;P&gt;RAppID&amp;nbsp; generated an romcopy.c file for Flash program, which I think should load from ROM to RAM.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody know what I need to execute my program at startup?&lt;/P&gt;&lt;P&gt;Do I have to turn off an option of the Debugger to just don't need the 'go' command or anything like that?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any kind of help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 11:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292487#M10651</guid>
      <dc:creator>tb89</dc:creator>
      <dc:date>2013-06-14T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems starting from internal Flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292488#M10652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to me like a startup issue. How does your startup sequence looks like? can you post e.g. Internal flash project map file generated by the linker?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugger script which is executed before debugger starts includes some actions which are probably not present in your startup code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;Did you disable Watchdog timer in your startup? Watchdog&amp;nbsp; is enabled&amp;nbsp; after power on reset by default so if you are not servicing watchdog timer in your code the reset may occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the internal SRAM initialized in your startup prior to call romcopy routines? If not then the ECC exception may occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 15:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292488#M10652</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2013-06-27T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems starting from internal Flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292489#M10653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; Did you submit the issue to RAppID Support (&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:rappid@freescale.com"&gt;rappid@freescale.com&lt;/A&gt;&lt;SPAN&gt;)? They should be able to help you in short order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 16:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292489#M10653</guid>
      <dc:creator>PatrickMenter</dc:creator>
      <dc:date>2013-06-27T16:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems starting from internal Flash</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292490#M10654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I had to disable Watchdog. But also I now use the generatet functions from RAppID but with given Code from CodeWarrior. Now it 's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 11:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-starting-from-internal-Flash/m-p/292490#M10654</guid>
      <dc:creator>tb89</dc:creator>
      <dc:date>2013-07-18T11:41:15Z</dc:date>
    </item>
  </channel>
</rss>

