<?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: MFC5329 - Cannot Write to Internal Register Space in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197801#M8901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;¿Could this be related with the fact that I am using the PCF5329 version of the processor?&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 18:33:23 GMT</pubDate>
    <dc:creator>Reibax</dc:creator>
    <dc:date>2008-03-04T18:33:23Z</dc:date>
    <item>
      <title>MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197800#M8900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to get some USB-device functionality in a MCF5329 based board, and I am finding some trouble when trying to get the device initialised.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I cannot change the value of some registers like USB Mode Register (0xFC0B_01A8). When the system is started their value is 0x0000_0000 and it stays that way whatever I do.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I've tried the following pieces of code, and the result is the same:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; - Code automatically generated by the Beans in CodeWarrior 7.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; - Code automatically generated by CodeWarrior 6.2 ==&amp;gt; Hello World Application, with a line of code trying to change the value of USB Mode Register&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; - Code from MCF532XSC usb_dev_mouse downloaded from:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Fwebapp%2Fsps%2Fsite%2Fprod_summary.jsp%3Fcode%3DMCF532X%26nodeId%3D0162468rH3YTLC00M92076%26fpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCF532X&amp;amp;nodeId=0162468rH3YTLC00M92076&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am quite certain that it is not a problem with the debugger interface of CodeWarrior because if I output the value of the register through the serial line I get the same result: 0x0000_0000 .&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I've also performed another two alternative tests that I know that wouldn’t be valid in a final design, but I have once again failed to change the value of those registers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; - I’ve added this line to the .cfg file used by CodeWarrior for initialising the microcontroller:&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;writemem.l 0xFC0B_01A8 0x00000006&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; -I’ve tried to alter the value stored in the register with the memory window from CodeWarrior’s debugger after including this line in the .mem file:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;range&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFC000000 0xFFFFFFFF 4 ReadWrite&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; I don’t know what else I can do to get this solved. ¿Does anybody know what I am doing wrong? Any help will be highly appreciated. If you need any code or further explanation, please don’t hesitate to ask.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your time and help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 22:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197800#M8900</guid>
      <dc:creator>Reibax</dc:creator>
      <dc:date>2008-02-28T22:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197801#M8901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;¿Could this be related with the fact that I am using the PCF5329 version of the processor?&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 18:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197801#M8901</guid>
      <dc:creator>Reibax</dc:creator>
      <dc:date>2008-03-04T18:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197802#M8902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I've tried doing several Memory Tests using the Hardware Diagnostics tool in CodeWarrior, an this has been the output every single time:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;:  -------------------- ...Connected ============================================  Number of Passes: 1 Address Range to Test: 0xFC0B01A8 - 0xFC0B01B7 Access Size: Long Word Tests to be run:       Walking Ones Test      Address Test      Bus Noise Test Testing will be host based ============================================ Tue Mar  4 14:45:31 2008   Pass #: 1 Walking Ones Test ... Failed Total Number of Memory Failures Detected: 256   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00000001 Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00000003 Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00000007 Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x0000000F Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x0000001F Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x0000003F Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x0000007F Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x000000FF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x000001FF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x000003FF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x000007FF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00000FFF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00001FFF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00003FFF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x00007FFF Actual:   0x00000000   Subtest: Walking 1's            Address: 0xFC0B01A8 Expected: 0x0000FFFF Actual:   0x00000000Tue Mar  4 14:45:31 2008   Pass #: 1 Address Test ... Failed Total Number of Memory Failures Detected: 4   Subtest: Address            Address: 0xFC0B01A8 Expected: 0x00000001 Actual:   0x00000000   Subtest: Address            Address: 0xFC0B01AC Expected: 0x00000002 Actual:   0x00000000   Subtest: Address            Address: 0xFC0B01B0 Expected: 0x00000003 Actual:   0x00000000   Subtest: Address            Address: 0xFC0B01B4 Expected: 0x00000004 Actual:   0x00000000Tue Mar  4 14:45:31 2008   Pass #: 1 Bus Noise Test ... Failed Total Number of Memory Failures Detected: 8   Subtest: Sequential Indexing, Pseudo Random Data            Address: 0xFC0B01AC Expected: 0x54909DF9 Actual:   0x00000000   Subtest: Sequential Indexing, Pseudo Random Data            Address: 0xFC0B01B0 Expected: 0x603F8F01 Actual:   0x00000000   Subtest: Sequential Indexing, Pseudo Random Data            Address: 0xFC0B01B4 Expected: 0xD30D591F Actual:   0x00000000   Subtest: Sequential Indexing, Fixed Pattern Data            Address: 0xFC0B01A8 Expected: 0x12345678 Actual:   0x00000000   Subtest: Sequential Indexing, Fixed Pattern Data            Address: 0xFC0B01AC Expected: 0xEDCBA987 Actual:   0x00000000   Subtest: Sequential Indexing, Fixed Pattern Data            Address: 0xFC0B01B0 Expected: 0x54545454 Actual:   0x00000000   Subtest: Sequential Indexing, Fixed Pattern Data            Address: 0xFC0B01B4 Expected: 0xABABABAB Actual:   0x00000000   Subtest: Converging Indexing from 5's and A's, Fixed Pattern Data            Address: 0xFC0B01A8 Expected: 0x12345678 Actual:   0x00000000 ============================================  Completed Passes: 1 Total Number of Failed Tests:    3 Total Number of Failed Accesses: 268 ============================================ Timestamp:  Tue Mar  4 14:45:31 2008&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;¿Can this prove that there is something wrong either in the .cfg initialization file or in the hardware itself?&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 21:51:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197802#M8902</guid>
      <dc:creator>Reibax</dc:creator>
      <dc:date>2008-03-04T21:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197803#M8903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, I'm starting to run out of ideas and i really need to get this to work.&lt;BR /&gt;&lt;BR /&gt;I am starting to suspect that I have some sort of hardware design fault.&lt;BR /&gt;&lt;BR /&gt;Are USB registers dependent on any external signal?&lt;BR /&gt;&lt;BR /&gt;My USB device implementation has got basically USB_M and USB_P signals, plus the pull-up signal, plus usb_vcc to the microcontroller. Do I need anything else for it to work?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 23:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197803#M8903</guid>
      <dc:creator>Reibax</dc:creator>
      <dc:date>2008-03-31T23:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197804#M8904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have same problem as you. I can not write any of the registers of the USB. They appears as zero initialized and it is not possible to write them.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Have you been able to solve the problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In my case the CIR register is 1582 and it does not match to any MCF5329 micro as per the Reference Manual...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 22:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197804#M8904</guid>
      <dc:creator>mmerino</dc:creator>
      <dc:date>2008-05-21T22:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: MFC5329 - Cannot Write to Internal Register Space</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197805#M8905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Problem located an solved:&lt;BR /&gt;&lt;BR /&gt;This situation was caused by a bad hardware implementation: L13 not being connected to GND was causing this annomalous behaviour.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 17:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MFC5329-Cannot-Write-to-Internal-Register-Space/m-p/197805#M8905</guid>
      <dc:creator>Reibax</dc:creator>
      <dc:date>2008-09-11T17:04:38Z</dc:date>
    </item>
  </channel>
</rss>

