<?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: Freescale KIT9Z1J638EVM Memory Issue  in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442384#M11971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the condition for the watchpoint in the Condition field. The condition must be specified using the ANSI-C syntax (Example: counter == 7).&lt;/P&gt;&lt;P&gt;if you need to use address directly. use this syntax:&lt;/P&gt;&lt;P&gt;*(unsigned int*) 0x14b4== 0xFF ||&amp;nbsp; *(unsigned int*) 0x14b4== 0xEE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 04:16:00 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-07-29T04:16:00Z</dc:date>
    <item>
      <title>Freescale KIT9Z1J638EVM Memory Issue</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442383#M11970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am working with the software provided by Freescale for KIT9Z1J638EVM, which has a battery sensor that measures current, voltage, temperature.&amp;nbsp; Every so many clock cycles there is erroneous values displayed.&amp;nbsp; When I observe the memory location where the measurements are being stored, I can see cycles where there are 5 to 10 memory locations being overwritten with a "EE" or "FF", and in some instances it is writing over memory location used to store the battery sensor data.&amp;nbsp; This is why I am seeing erroneous measurements.&amp;nbsp; When I add a watchpoint to one of the memory locations, the problem stops which is puzzling and as soon as I remove all breakpoints the EE's and FF's re-appear.&amp;nbsp; I am trying to get the code to break when the battery voltage memory location is written over, but when I add the watchpoint the problem seems to go away.&amp;nbsp; Can anyone shed light on why this is happening?&amp;nbsp; I am setting up the watchpoint with the condition "0x14b4==FF || 0x14b4==EE;", but I have not observed the code breaking when I use this condition.&amp;nbsp; I have had a hard time finding clear examples on how to use conditions with watchpoints, so I would really like feedback on if the condition is written correctly?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442383#M11970</guid>
      <dc:creator>chrisescalante</dc:creator>
      <dc:date>2015-07-24T18:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale KIT9Z1J638EVM Memory Issue</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442384#M11971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the condition for the watchpoint in the Condition field. The condition must be specified using the ANSI-C syntax (Example: counter == 7).&lt;/P&gt;&lt;P&gt;if you need to use address directly. use this syntax:&lt;/P&gt;&lt;P&gt;*(unsigned int*) 0x14b4== 0xFF ||&amp;nbsp; *(unsigned int*) 0x14b4== 0xEE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 04:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442384#M11971</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-07-29T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Freescale KIT9Z1J638EVM Memory Issue</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442385#M11972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, that is exactly the syntax I use in the memory location for 0x14b4, but it causes the issue to go away.&amp;nbsp; I visually see the EE's and FF's stop appearing in the memory viewer and as soon as I remove all breakpoints they come back.&amp;nbsp; This makes it very difficult to determine what line of code is writting over these memory locations.&amp;nbsp; This is odd behavior that I cannot explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 13:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Freescale-KIT9Z1J638EVM-Memory-Issue/m-p/442385#M11972</guid>
      <dc:creator>chrisescalante</dc:creator>
      <dc:date>2015-08-03T13:58:29Z</dc:date>
    </item>
  </channel>
</rss>

