<?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: CPLD problem with M54455EVB</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162195#M5247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;CPLD access works fine in uBoot (although it does 32-bit accesses).&amp;nbsp; I can't get it to work with CodeWarrior 7.0 though.&amp;nbsp; That's using the BDM channel though, not doing CPU-based accesses.&amp;nbsp; The FPGA register access works fine via BDM in CW (can control the 7-seg., read version, etc.).&amp;nbsp; I can turn the CPLD LEDs on/off using uBoot.&amp;nbsp; I suspect that I could add to the default CW console app. to do program I/O and that access would work fine too (like with uBoot).&amp;nbsp; Anyway, it doesn't really matter.&amp;nbsp; As seen in the other post, I thought the USB issue was related to the CPLD problem (I thought maybe the SW1 settings weren't getting in properly and the the ULPI PHY was being held in reset).&amp;nbsp; You solved the USB problem with the new kernel build...&amp;nbsp; Thanks again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My board shipped with a different JP904 setting than the default listed (2-3 not 1-2).&amp;nbsp; I see from the schematics this is related to a BDM clock signal - changing that didn't fix the CPLD access problem though.&amp;nbsp; Just curious as to if this JP904 setting matters and I should set it back to the doc. default?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Nov 2007 14:16:08 GMT</pubDate>
    <dc:creator>simath</dc:creator>
    <dc:date>2007-11-10T14:16:08Z</dc:date>
    <item>
      <title>CPLD problem with M54455EVB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162193#M5245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I just received my M54455EVB and am having a problem accessing the CPLD as described in the User's Manual.&amp;nbsp; I'm using a simple "Hello World" console app. test for this.&amp;nbsp; I can access the FPGA registers at 0x0900_0000 as described in the manual (getting the expected values), but get only 0xFF for the entire mapped range for the CPLD (0x0800_0000).&amp;nbsp; The M54455EVB_RAM.cfg file&amp;nbsp;contents are actually getting written to the CS registers (verified by a Register dump), as expected (see below).&amp;nbsp; I'm not sure the values are correct for the CPLD mode register (the manual says it should have BYTE access only).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can anyone out there with an EVB try to perform a read from the CPLD registers and see if the results are as expected (i.e. something other than 0xFF)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it possible to get access to the CPLD sources (I'm quite fluent at Xilinx builds)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;;Init CS2 - CPLD @ 0x0800_0000&lt;BR /&gt;writemem.l 0xFC008018 0x08000000;&lt;BR /&gt;writemem.l 0xFC008020 0x00000000;&lt;BR /&gt;writemem.l 0xFC00801C 0x00000001;&lt;/DIV&gt;&lt;DIV&gt;;Init CS3 - FPGA @ 0x0900_0000&lt;BR /&gt;writemem.l 0xFC008024 0x09000000;&lt;BR /&gt;writemem.l 0xFC00802C 0x00000020;&lt;BR /&gt;writemem.l 0xFC008028 0x00000001;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 13:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162193#M5245</guid>
      <dc:creator>simath</dc:creator>
      <dc:date>2007-11-09T13:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: CPLD problem with M54455EVB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162194#M5246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Are you able to write to the CPLD LEDS register (0x08000005 -- byte access) and illuminate the associated CPLD leds?&amp;nbsp; You should be able to read back the lower 6 bits that you wrote.&lt;BR /&gt;&lt;BR /&gt;I don't currently have a board in front of me to test this out but I will in the morning.&lt;BR /&gt;&lt;BR /&gt;Are you using dBug or uBoot?&amp;nbsp; Can you just bang the associated mem addresses from whichever of those you're using?&lt;BR /&gt;&lt;BR /&gt;--Kurt&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2007 10:40:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162194#M5246</guid>
      <dc:creator>kmahan</dc:creator>
      <dc:date>2007-11-10T10:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: CPLD problem with M54455EVB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162195#M5247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;CPLD access works fine in uBoot (although it does 32-bit accesses).&amp;nbsp; I can't get it to work with CodeWarrior 7.0 though.&amp;nbsp; That's using the BDM channel though, not doing CPU-based accesses.&amp;nbsp; The FPGA register access works fine via BDM in CW (can control the 7-seg., read version, etc.).&amp;nbsp; I can turn the CPLD LEDs on/off using uBoot.&amp;nbsp; I suspect that I could add to the default CW console app. to do program I/O and that access would work fine too (like with uBoot).&amp;nbsp; Anyway, it doesn't really matter.&amp;nbsp; As seen in the other post, I thought the USB issue was related to the CPLD problem (I thought maybe the SW1 settings weren't getting in properly and the the ULPI PHY was being held in reset).&amp;nbsp; You solved the USB problem with the new kernel build...&amp;nbsp; Thanks again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My board shipped with a different JP904 setting than the default listed (2-3 not 1-2).&amp;nbsp; I see from the schematics this is related to a BDM clock signal - changing that didn't fix the CPLD access problem though.&amp;nbsp; Just curious as to if this JP904 setting matters and I should set it back to the doc. default?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2007 14:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162195#M5247</guid>
      <dc:creator>simath</dc:creator>
      <dc:date>2007-11-10T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: CPLD problem with M54455EVB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162196#M5248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;For BDM usage the jumpers should be:&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;B&gt;JP903 2-3&lt;/B&gt; ("Debug Mode Selection" Table 10 in the &lt;I&gt;EVB User Manual&lt;/I&gt;)&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;JP904 1-2&lt;/B&gt; ("TCLK/PSTCLK Routing Control" Table 11 in the &lt;I&gt;EVB User Manual&lt;/I&gt;)&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;The board assembly doc I've got says the boards should be delivered with the above configuration.&amp;nbsp; I've not received any "final box" boards though.&amp;nbsp; Maybe Michael Norman can comment.&lt;BR /&gt;&lt;BR /&gt;Michael can probably also comment on the CW part of your question.&amp;nbsp; As you've figured out I do the Linux parts -- I'm not familiar with using CW on this board.&amp;nbsp; So I can't speak to how the CW environment sets things up.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2007 01:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162196#M5248</guid>
      <dc:creator>kmahan</dc:creator>
      <dc:date>2007-11-11T01:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: CPLD problem with M54455EVB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162197#M5249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The CW .cfg files are incorrect.&amp;nbsp; CPLD access needs wait-states and setup/hold delays.&amp;nbsp; The correct values are below (with some added comments).&amp;nbsp; This fixed the problem...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3333FF" face="Courier New"&gt;;Init CS0 - Flash0 @ 0x0400_0000&lt;BR /&gt;; CSAR0 = 0x0400 Base Address&lt;BR /&gt;; CSMR0 = 8*64k Blocks, VALID&lt;BR /&gt;; CSCR0 = 4 W/S, Auto-Ack, 8-Bit&lt;BR /&gt;writemem.l 0xFC008000 0x04000000;&lt;BR /&gt;writemem.l 0xFC008008 0x00001140;&lt;BR /&gt;writemem.l 0xFC008004 0x00070001;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3333FF" face="Courier New"&gt;;Init CS1 - Flash1 @ 0x0000_0000&lt;BR /&gt;; CSAR0 = 0x0000 Base Address&lt;BR /&gt;; CSMR0 = 512*64k Blocks, VALID&lt;BR /&gt;; CSCR0 = 3 W/S, Auto-Ack, 8-Bit, Byte-Enable&lt;BR /&gt;writemem.l 0xFC00800C 0x00000000;&lt;BR /&gt;writemem.l 0xFC008014 0x00000D60;&lt;BR /&gt;writemem.l 0xFC008010 0x01FF0001;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3333FF" face="Courier New"&gt;;Init CS2 - CPLD @ 0x0800_0000&lt;BR /&gt;; CSAR0 = 0x0800 Base Address&lt;BR /&gt;; CSMR0 = 8*64k Blocks, VALID&lt;BR /&gt;; CSCR0 = Address Setup Delay = 4, R/W Address Hold = 4, 4 W/S, Auto-Ack, 8-Bit&lt;BR /&gt;writemem.l 0xFC008018 0x08000000;&lt;BR /&gt;writemem.l 0xFC008020 0x003F1140;&lt;BR /&gt;writemem.l 0xFC00801C 0x00070001;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#3333FF" face="Courier New"&gt;;Init CS3 - FPGA @ 0x0900_0000&lt;BR /&gt;; CSAR0 = 0x0800 Base Address&lt;BR /&gt;; CSMR0 = 8*64k Blocks, VALID&lt;BR /&gt;; CSCR0 = 32-Bit, Byte-Enable&lt;BR /&gt;writemem.l 0xFC008024 0x09000000;&lt;BR /&gt;writemem.l 0xFC00802C 0x00000020;&lt;BR /&gt;writemem.l 0xFC008028 0x00070001;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2007 07:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/CPLD-problem-with-M54455EVB/m-p/162197#M5249</guid>
      <dc:creator>simath</dc:creator>
      <dc:date>2007-11-11T07:08:15Z</dc:date>
    </item>
  </channel>
</rss>

