<?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のトピックRe: Having trouble getting code to run on Coldfire v2 52259</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187694#M7992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was long communication cable. Now is working without any error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 18:58:35 GMT</pubDate>
    <dc:creator>Krokodyl</dc:creator>
    <dc:date>2011-08-30T18:58:35Z</dc:date>
    <item>
      <title>Having trouble getting code to run on Coldfire v2 52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187691#M7989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a new board designed based on the TWR-MCF5225X board and I managed to get code programmed onto it through the BDM port but it doesn't run very far. &amp;nbsp;I tried a few different projects that I know work on the eval board OK, and through the debugger I determined they are halting at various spots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, one project was created through the new project wizard for the 52259 (not eval board) with minimal hardware support, and the code runs up to the following line in the&amp;nbsp;&lt;STRONG&gt;__copy_rom_sections_to_ram function&amp;nbsp;&lt;/STRONG&gt;in the &lt;STRONG&gt;startcf.c&lt;/STRONG&gt; file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __copy_rom_section( (char *)info-&amp;gt;Target,(char *)info-&amp;gt;Source, info-&amp;gt;Size);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another project was created from the wizard again but with full hardware support, and then it ran up to the end of&amp;nbsp;the&amp;nbsp;&lt;STRONG&gt;pll_init&lt;/STRONG&gt; function in the&amp;nbsp;&lt;STRONG&gt;mcf52259_sysinit.c&lt;/STRONG&gt; file (then it jumps to address 0x0). &amp;nbsp;That was with CLKMOD0 and CLKMOD1 pulled high. &amp;nbsp;When they are pulled low it stops at the following line in the same function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_CLOCK_SYNCR = MCF_CLOCK_SYNCR_MFD(3) | MCF_CLOCK_SYNCR_CLKSRC| MCF_CLOCK_SYNCR_PLLMODE | MCF_CLOCK_SYNCR_PLLEN ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I comment that line, it makes it through to the the &lt;STRONG&gt;rts&lt;/STRONG&gt; line in&amp;nbsp;&lt;STRONG&gt;mcf5xxx_wr_vbr&lt;/STRONG&gt; in the &lt;STRONG&gt;exceptions.c&lt;/STRONG&gt; file. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do some simple GPIO pin toggling before these instructions, it works OK, until it hits these instructions. &amp;nbsp;So it seems there is some hardware issue that's causing the problem, but I can figure out what it could be. &amp;nbsp;At the moment the board is very simple - most of the peripheral pins are not connected (they will be, but the parts are not yet populated on this prototype), and only a few GPIO are wired to some basic switch inputs and LED outputs. &amp;nbsp;There is an external 48MHz crystal, and the XTAL, VDDPLL, and RCON_B pins are pulled high. &amp;nbsp; That's pretty much it, aside from the BDM port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using CodeWarrior for ColdFire v7.1.2 and have the latest drivers for the debug adapter (P&amp;amp;E USB Multilink for CodeFire).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really stumped on this and would appreciate any thoughts or suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187691#M7989</guid>
      <dc:creator>ARQ</dc:creator>
      <dc:date>2020-10-29T09:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Having trouble getting code to run on Coldfire v2 52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187692#M7990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you every sort out this problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 01:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187692#M7990</guid>
      <dc:creator>accutime</dc:creator>
      <dc:date>2010-07-13T01:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Having trouble getting code to run on Coldfire v2 52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187693#M7991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same problem with my own designed board.&lt;/P&gt;&lt;P&gt;Did you sort out this problem﻿?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;J. P.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 19:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187693#M7991</guid>
      <dc:creator>Krokodyl</dc:creator>
      <dc:date>2011-08-29T19:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Having trouble getting code to run on Coldfire v2 52259</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187694#M7992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was long communication cable. Now is working without any error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 18:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Having-trouble-getting-code-to-run-on-Coldfire-v2-52259/m-p/187694#M7992</guid>
      <dc:creator>Krokodyl</dc:creator>
      <dc:date>2011-08-30T18:58:35Z</dc:date>
    </item>
  </channel>
</rss>

