<?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 Writing to FMPLL.SYNCR causes exception in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Writing-to-FMPLL-SYNCR-causes-exception/m-p/227391#M40</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm tryin to get an MPC5566EVB board to work (using Code Warrior and P&amp;amp;E Micro ICDPPCNEXUS).&amp;nbsp; I'm trying to get the provided sample project eSCI-Simple to work; I modified the source to use #include "mpc5566.h" and modified initSysclk() to include the code it looks like it should include.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to step through it, it appears that this instruction:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FMPLL.SYNCR.R = 0x16080000;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is causing an exception.&amp;nbsp; The instruction is trying to write to 0xC3F80000, which I think is the correct address of the FMPLL_SYNCR register.&amp;nbsp; Based on the address it jumps to, the exception type seems to be 1, 2, 13, or 14 (there are four IVOR registers with the same value).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something else that bothers me (I don't know if it's related) is that when I click on the ICDPPCNEXUS REG icon and try to display FMPLL_SYNCR, the window says the &lt;EM&gt;value&lt;/EM&gt; of the register is 0xC3F80000 (same as the address), and it tries to break that value down into bits.&amp;nbsp; This seems to be the case for most, but not all, of the registers in the C3Fxxxxx range.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a software person and am pretty new to working with boards directly, so I can't tell what I might be missing.&amp;nbsp; I haven't played with any config switches or anything on the board.&amp;nbsp; Any help would be appreciated--thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 01:50:24 GMT</pubDate>
    <dc:creator>abeneschan</dc:creator>
    <dc:date>2013-11-26T01:50:24Z</dc:date>
    <item>
      <title>Writing to FMPLL.SYNCR causes exception</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Writing-to-FMPLL-SYNCR-causes-exception/m-p/227391#M40</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm tryin to get an MPC5566EVB board to work (using Code Warrior and P&amp;amp;E Micro ICDPPCNEXUS).&amp;nbsp; I'm trying to get the provided sample project eSCI-Simple to work; I modified the source to use #include "mpc5566.h" and modified initSysclk() to include the code it looks like it should include.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to step through it, it appears that this instruction:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FMPLL.SYNCR.R = 0x16080000;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is causing an exception.&amp;nbsp; The instruction is trying to write to 0xC3F80000, which I think is the correct address of the FMPLL_SYNCR register.&amp;nbsp; Based on the address it jumps to, the exception type seems to be 1, 2, 13, or 14 (there are four IVOR registers with the same value).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something else that bothers me (I don't know if it's related) is that when I click on the ICDPPCNEXUS REG icon and try to display FMPLL_SYNCR, the window says the &lt;EM&gt;value&lt;/EM&gt; of the register is 0xC3F80000 (same as the address), and it tries to break that value down into bits.&amp;nbsp; This seems to be the case for most, but not all, of the registers in the C3Fxxxxx range.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a software person and am pretty new to working with boards directly, so I can't tell what I might be missing.&amp;nbsp; I haven't played with any config switches or anything on the board.&amp;nbsp; Any help would be appreciated--thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 01:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Writing-to-FMPLL-SYNCR-causes-exception/m-p/227391#M40</guid>
      <dc:creator>abeneschan</dc:creator>
      <dc:date>2013-11-26T01:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to FMPLL.SYNCR causes exception</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Writing-to-FMPLL-SYNCR-causes-exception/m-p/227392#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I figured it out (a couple days after I posted, but there have been problems with the account).&amp;nbsp; Code Warrior came with some sample projects, but there weren't any specifically for MPC5566.&amp;nbsp; I picked a processor that I thought would be close, but it wasn't close enough.&amp;nbsp; The MPC5516 hardware initialization (which I had more or less ignored) didn't work on this board.&amp;nbsp; So instead of selecting an existing project, I had to create a new one specifically for MPC5566 and then copy the source files from a sample project.&amp;nbsp; This was probably obvious to anyone with more experience working with evaluation boards, but it took me a while to figure out.&amp;nbsp; But I've gotten things working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 20:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Writing-to-FMPLL-SYNCR-causes-exception/m-p/227392#M41</guid>
      <dc:creator>abeneschan</dc:creator>
      <dc:date>2014-01-13T20:27:02Z</dc:date>
    </item>
  </channel>
</rss>

