<?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のトピックMCF5485 PCI failure</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5485-PCI-failure/m-p/124303#M90</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;We are using Zoom CDK MCF5485 board together with Freescale’s Linux Board Support Package ltib-mcf547x_8x-20051213.iso, based on kernel 2.6.10.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Our project is actually in final stage, but we faced a problem with PCI communication. Our device makes reading information from PCI our device and transferring it through TCP/IP to host PC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The handshaking with PCI device is very simple. As soon as new device’s buffer is ready, the device pulls interrupt line down. We are using IRQ7 line for this purpose. When interrupt occurred, the interrupt routine reads information from PCI device, puts it into TCP/IP buffer and clears dedicated acknowledgement bit in PCI device. After that PCI device pulls the line up. This is repeating continuously.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The problem occurred when the transfer made with high speed. Probably it can be observed with lower speed as well, we just need to wait it long time.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The problem description:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;After arbitrary number of interrupts (say 1000, 10000, 50000, 100000, etc.) reading/writing from/to PCI device fails. We observed relevant signals on oscilloscope. The interrupt routine writes word to PCI (clears acknowledgement bit), however the line is not going up, i.e. the PCI device didn’t receive it. As a result, when interrupt routine exits, the line is still low. Since the interrupt is level-sensitive, it called immediately again. And again, the routine trying to acknowledge PCI device by writing the appropriate word, but it’s vain. This is repeating continuously and of course the system is actually hanged up, because all processors time is captured by persistent interrupt service.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Since the PCI device could release the line too late, I tried to put delay on interrupt routine exits. It doesn’t resolve the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I checked what the interrupt routine reading from PCI device, when it’s happening. Instead of ‘normal’ words, it reads only ‘FFFFFFFF’.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;So, we are highly puzzled, what is the reason of the problem. It’s happening only if we do both transfers, through PCI and TCP/IP, simultaneously. I tried to bypass transfer via TCP/IP and system runs fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I tried two different Linux Board Support packages (LTIB and PCS), but the system’s behavior is the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;May be this is already known issue? Bug in chip or in FireEngine board? Any known fixes/workaround?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Could you please help us figure out the problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 22:50:38 GMT</pubDate>
    <dc:creator>Nekto</dc:creator>
    <dc:date>2006-07-17T22:50:38Z</dc:date>
    <item>
      <title>MCF5485 PCI failure</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5485-PCI-failure/m-p/124303#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;We are using Zoom CDK MCF5485 board together with Freescale’s Linux Board Support Package ltib-mcf547x_8x-20051213.iso, based on kernel 2.6.10.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Our project is actually in final stage, but we faced a problem with PCI communication. Our device makes reading information from PCI our device and transferring it through TCP/IP to host PC.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The handshaking with PCI device is very simple. As soon as new device’s buffer is ready, the device pulls interrupt line down. We are using IRQ7 line for this purpose. When interrupt occurred, the interrupt routine reads information from PCI device, puts it into TCP/IP buffer and clears dedicated acknowledgement bit in PCI device. After that PCI device pulls the line up. This is repeating continuously.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The problem occurred when the transfer made with high speed. Probably it can be observed with lower speed as well, we just need to wait it long time.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;The problem description:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;After arbitrary number of interrupts (say 1000, 10000, 50000, 100000, etc.) reading/writing from/to PCI device fails. We observed relevant signals on oscilloscope. The interrupt routine writes word to PCI (clears acknowledgement bit), however the line is not going up, i.e. the PCI device didn’t receive it. As a result, when interrupt routine exits, the line is still low. Since the interrupt is level-sensitive, it called immediately again. And again, the routine trying to acknowledge PCI device by writing the appropriate word, but it’s vain. This is repeating continuously and of course the system is actually hanged up, because all processors time is captured by persistent interrupt service.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Since the PCI device could release the line too late, I tried to put delay on interrupt routine exits. It doesn’t resolve the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I checked what the interrupt routine reading from PCI device, when it’s happening. Instead of ‘normal’ words, it reads only ‘FFFFFFFF’.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;So, we are highly puzzled, what is the reason of the problem. It’s happening only if we do both transfers, through PCI and TCP/IP, simultaneously. I tried to bypass transfer via TCP/IP and system runs fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I tried two different Linux Board Support packages (LTIB and PCS), but the system’s behavior is the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;May be this is already known issue? Bug in chip or in FireEngine board? Any known fixes/workaround?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;Could you please help us figure out the problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 22:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5485-PCI-failure/m-p/124303#M90</guid>
      <dc:creator>Nekto</dc:creator>
      <dc:date>2006-07-17T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5485 PCI failure</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5485-PCI-failure/m-p/124304#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The problem could be because you are using IRQ7, which is unmaskable. As I can remember, this is problem of design of LogicPD board. Try to insert your PCI device into second slot (it uses IRQ5).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 20:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5485-PCI-failure/m-p/124304#M91</guid>
      <dc:creator>yarvin</dc:creator>
      <dc:date>2006-08-22T20:32:50Z</dc:date>
    </item>
  </channel>
</rss>

