<?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: Problem with CS1 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322693#M12184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; What do I do incorrectly in my user program to address to RAM on CS1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know. That's what programming and debugging are all about.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you cut-and-paste code from a working example into your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 03:48:24 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2014-06-26T03:48:24Z</dc:date>
    <item>
      <title>Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322688#M12179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't possible to address to External MRAM Memory on CS1.&lt;/P&gt;&lt;P&gt;I use M523XEVB set&lt;/P&gt;&lt;P&gt;I program in the environment of IAR V1.23 KickStart.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For initialization of CS1 I use a code&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MCF_CS1_CSAR = 0x3000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MCF_CS1_CSCR = 0x3d20;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MCF_CS1_CSMR = MCF_CS_CSMR_BAM_1M | MCF_CS_CSMR_V;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the lnkm5235EVB_flash.xcl file (the configuration IAR file) I import a line:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Z(DATA)FAR_I,FAR_Z,FAR_N,HEAP+_HEAP_SIZE,.iar.dynexit+((_DYNEXIT_ELEMENTS+14)*C)=30000000-3000FFFF&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Flash Programmer I use CodeWarrior v6.3 for a configuration of a board I use the standard MCF523xEVB_PnE.cfg file&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the program I address to this area of memory and I have no activity on CS1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 10:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322688#M12179</guid>
      <dc:creator>sidnevmaxim</dc:creator>
      <dc:date>2014-06-22T10:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322689#M12180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the current Pin Assignment for the CS1/PCS1 pin? See:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12.3.1.5.4 Chip Select Pin Assignment Register (PAR_CS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; In the program I address to this area of memory and I have no activity on CS1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disassemble your code and make sure it is generating the address you think it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a debug pod, try reading the memory from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly access the memory in a test loop with something like "long int tmp = *((long int *)0x30000000);"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 00:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322689#M12180</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-06-23T00:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322690#M12181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;What is the current Pin Assignment for the CS1/PCS1 pin? See:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;12.3.1.5.4 Chip Select Pin Assignment Register (PAR_CS)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PAR_CS bits1 = 1 (CS1 pin configured for EIM CS1 function)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;Disassemble your code and make sure it is generating the address you think it is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;// Init CS1&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//&amp;nbsp; 166&amp;nbsp;&amp;nbsp; MCF_CS1_CSAR = MCF_CS_CSAR_BA(EXT_SRAM_ADDRESS);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.W&amp;nbsp;&amp;nbsp;&amp;nbsp; #12288, D0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.W&amp;nbsp;&amp;nbsp;&amp;nbsp; D0, (__IPSBAR+140).L&lt;/P&gt;&lt;P&gt;//&amp;nbsp; 167&amp;nbsp;&amp;nbsp; MCF_CS1_CSCR = 0x3d20;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.W&amp;nbsp;&amp;nbsp;&amp;nbsp; #15648, D0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.W&amp;nbsp;&amp;nbsp;&amp;nbsp; D0, (__IPSBAR+150).L&lt;/P&gt;&lt;P&gt;//&amp;nbsp; 168&amp;nbsp;&amp;nbsp; MCF_CS1_CSMR = 0x000F0001;//MCF_CS_CSMR_BAM_1M | MCF_CS_CSMR_V;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.L&amp;nbsp;&amp;nbsp;&amp;nbsp; #983041, D0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.L&amp;nbsp;&amp;nbsp;&amp;nbsp; D0, (__IPSBAR+144).L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;// RAM access&lt;/P&gt;&lt;P&gt;//&amp;nbsp; 271&amp;nbsp;&amp;nbsp; long int tmp = *((long int *)0x30000000);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE.L&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x30000000).L, D0&lt;/P&gt;&lt;P&gt;//&amp;nbsp; 272 &lt;/P&gt;&lt;P&gt;//&amp;nbsp; 273&amp;nbsp;&amp;nbsp; tmp++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADDQ.L&amp;nbsp;&amp;nbsp;&amp;nbsp; #1, D0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No activity on CS1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maxim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 18:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322690#M12181</guid>
      <dc:creator>sidnevmaxim</dc:creator>
      <dc:date>2014-06-23T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322691#M12182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try programming CS1 as a GPIO set to Output and make sure you can see the pin go up and down when you write ones and zeros to the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try programming it as an input and then see if you can see the pin state change when you pull CS1&amp;nbsp; high and low (with a resistor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try one of the other chip-select pins if you have them connected to a pad you can get to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 04:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322691#M12182</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-06-24T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322692#M12183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try programming CS1 as a GPIO set to Output and make sure you can see the pin go up and down when you write ones and zeros to the pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I checked as GPIO output works operationally&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try programming it as an input and then see if you can see the pin state change when you pull CS1&amp;nbsp; high and low (with a resistor).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I use m523xEVB. Without circuit changes it is difficultly to make it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try one of the other chip-select pins if you have them connected to a pad you can get to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am sure that CS1 is hardware operational. For its check I used Tool Hardware Diagnostics (Code Warrior 7.2). Memory Test tab. Address Range: Start 0x30000000 End 0x300000ff. Enable test:&lt;/P&gt;&lt;P&gt;- Walking 1s&lt;/P&gt;&lt;P&gt;- Address&lt;/P&gt;&lt;P&gt;- Bus Noise&lt;/P&gt;&lt;P&gt;Configuration file: MCF523xEVB_PnE.cfg&lt;/P&gt;&lt;P&gt;A test passes successfully and on CS1 there is an activity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question:&lt;/P&gt;&lt;P&gt;What do I do incorrectly in my user program to address to RAM on CS1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 17:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322692#M12183</guid>
      <dc:creator>sidnevmaxim</dc:creator>
      <dc:date>2014-06-24T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322693#M12184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; What do I do incorrectly in my user program to address to RAM on CS1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know. That's what programming and debugging are all about.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you cut-and-paste code from a working example into your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 03:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322693#M12184</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-06-26T03:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322694#M12185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you cut-and-paste code from a working example into your code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;Yes I can paste the code from working example if You would give me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;Maxim.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 16:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322694#M12185</guid>
      <dc:creator>sidnevmaxim</dc:creator>
      <dc:date>2014-06-26T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CS1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322695#M12186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;Yes I can paste the code from working example if You would give me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;I meant the Memory Test code that you're running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;Or any other sample code that Freescale has provided for that or similar chips.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, sans-serif; font-size: 14px; background-color: #fdfdfd;"&gt;You should also be able to read the MCF523xEVB_PnE.cfg file and convert whatever is in there to equivalent code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 04:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problem-with-CS1/m-p/322695#M12186</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-06-27T04:59:03Z</dc:date>
    </item>
  </channel>
</rss>

