<?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>CodeWarrior for MCU中的主题 Problems debugging I2C</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1769706#M15954</link>
    <description>&lt;P&gt;I have a &amp;nbsp;MC9S08QE16 project and I am using CodeWarrior 11.1 and ProcessorExpert. The MCU communicates with a PCF2129 RTC via I2C. when I download and run the code using my Multilink Universal FX it waits for a flag to be set in the ISR (I have one for Tx and one for RX). The flag is cleared before the CI2C1_SendChar or Ci2C1_RecvBlock functions are called, the ISR sets the flag and the calling routine waits for the flag to be set, which never happens.&lt;/P&gt;&lt;P&gt;However, if I disconnect the the multilink cable from the target and then reconnect it the application runs without any problems - apart from the fact that I need to make changes to the code and the "debugging facility" is not connected - apart from the power..&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 10:14:29 GMT</pubDate>
    <dc:creator>juliancox</dc:creator>
    <dc:date>2023-12-06T10:14:29Z</dc:date>
    <item>
      <title>Problems debugging I2C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1769706#M15954</link>
      <description>&lt;P&gt;I have a &amp;nbsp;MC9S08QE16 project and I am using CodeWarrior 11.1 and ProcessorExpert. The MCU communicates with a PCF2129 RTC via I2C. when I download and run the code using my Multilink Universal FX it waits for a flag to be set in the ISR (I have one for Tx and one for RX). The flag is cleared before the CI2C1_SendChar or Ci2C1_RecvBlock functions are called, the ISR sets the flag and the calling routine waits for the flag to be set, which never happens.&lt;/P&gt;&lt;P&gt;However, if I disconnect the the multilink cable from the target and then reconnect it the application runs without any problems - apart from the fact that I need to make changes to the code and the "debugging facility" is not connected - apart from the power..&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 10:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1769706#M15954</guid>
      <dc:creator>juliancox</dc:creator>
      <dc:date>2023-12-06T10:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging I2C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1770747#M15959</link>
      <description>&lt;P&gt;Further Information: -&lt;/P&gt;&lt;P&gt;When I launch CodeWarrior the first debug session works fine, but subsequent debug sessions cause the problem. However, if I disconnect and re-connect the USB cable to the Multilink everything is fine, but it is a pain having to do this before each debug session.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 12:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1770747#M15959</guid>
      <dc:creator>juliancox</dc:creator>
      <dc:date>2023-12-07T12:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems debugging I2C</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1771064#M15960</link>
      <description>&lt;DIV&gt;It is possible that this error that you are facing is related to the bean that you are using on Processor Expert. Can you please confirm that?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, I may need to see your project to verify 2 possible issues:&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;It is possible that the BDM is configured on the same port as the I2C&lt;/LI&gt;&lt;LI&gt;The frequency with the crystal is not the right one.&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;Let me know if you can share this with me so we can continue with the troubleshoot.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank in advance!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Dec 2023 20:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problems-debugging-I2C/m-p/1771064#M15960</guid>
      <dc:creator>Itzzamna_Supp</dc:creator>
      <dc:date>2023-12-07T20:57:30Z</dc:date>
    </item>
  </channel>
</rss>

