<?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 CodeWarrior v5.2 Created Watchdog Code in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-v5-2-Created-Watchdog-Code/m-p/913943#M7650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am working on converting a cosmic compiled code into a codewarrior compiled code. I've worked on changing all the pwm global names over to what codewarrior calls them. My code compiles but the log2phy generated code will not allow my code to work. My circuit board has a built in watchdog function to where if pin 66&amp;nbsp;outputs a weird signal it will send a repeating signal to my reset pin of my chip. My code has its own update_watchdog() method, but codewarrior seems to have its own watchdog method called __FEED_COP(). If I replace all my "update_watchdog()" functions with __FEED_COP(), my code compiles and loads onto my board but still doesn't have functionality even if that reset signal is no longer repeating. It seems I need my update_watchdog method but also need to incorporate codewarrior's but I'm not sure how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2019 19:26:28 GMT</pubDate>
    <dc:creator>matthew_gardner</dc:creator>
    <dc:date>2019-07-12T19:26:28Z</dc:date>
    <item>
      <title>CodeWarrior v5.2 Created Watchdog Code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-v5-2-Created-Watchdog-Code/m-p/913943#M7650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am working on converting a cosmic compiled code into a codewarrior compiled code. I've worked on changing all the pwm global names over to what codewarrior calls them. My code compiles but the log2phy generated code will not allow my code to work. My circuit board has a built in watchdog function to where if pin 66&amp;nbsp;outputs a weird signal it will send a repeating signal to my reset pin of my chip. My code has its own update_watchdog() method, but codewarrior seems to have its own watchdog method called __FEED_COP(). If I replace all my "update_watchdog()" functions with __FEED_COP(), my code compiles and loads onto my board but still doesn't have functionality even if that reset signal is no longer repeating. It seems I need my update_watchdog method but also need to incorporate codewarrior's but I'm not sure how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 19:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-v5-2-Created-Watchdog-Code/m-p/913943#M7650</guid>
      <dc:creator>matthew_gardner</dc:creator>
      <dc:date>2019-07-12T19:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior v5.2 Created Watchdog Code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-v5-2-Created-Watchdog-Code/m-p/913944#M7651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the function of _FEED_COP()&amp;nbsp; is to feed 0x55, 0xaa to the COP :&lt;/P&gt;&lt;P&gt;#define _FEED_COP()&amp;nbsp;&amp;nbsp; ((*(volatile unsigned char*)_COP_RST_ADR)= 0x55,(*(volatile unsigned char*)_COP_RST_ADR)= 0xAA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what's update_watchdog() for. Please check if the function code is same as _FEED_COP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, CodeWarrior project can download code to flash with debugger directly. Please check if the code can run normal without conversion of log2phy&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 03:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-v5-2-Created-Watchdog-Code/m-p/913944#M7651</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-08-07T03:06:01Z</dc:date>
    </item>
  </channel>
</rss>

