<?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 debugger to simulate ADC in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088270#M8397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use the visulaisation tool to simulate ADC in Codewarrior v5.1 . Please help. I do not have the trainer board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2020 08:23:45 GMT</pubDate>
    <dc:creator>suma_success</dc:creator>
    <dc:date>2020-04-12T08:23:45Z</dc:date>
    <item>
      <title>Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088270#M8397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use the visulaisation tool to simulate ADC in Codewarrior v5.1 . Please help. I do not have the trainer board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2020 08:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088270#M8397</guid>
      <dc:creator>suma_success</dc:creator>
      <dc:date>2020-04-12T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088271#M8398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suma,&lt;/P&gt;&lt;P&gt;CW for HCS12 v5.1 &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;visulaisation tool&amp;nbsp;&lt;/SPAN&gt;doesn't have component for ADC.&lt;/P&gt;&lt;P&gt;debugger can simulate ADC, I suggest you check debugger help manual with key word&amp;nbsp; "Analog to Digital Converter Module"&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, 15 Apr 2020 07:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088271#M8398</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-15T07:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088272#M8399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your kind help.We are unable to provide trainer boards to our students, hence I had another question. Have you tried RTI interrupts in full chip simulation mode?&lt;/P&gt;&lt;P&gt;Thanks in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Yahoo Mail on Android &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  On Wed, 15 Apr 2020 at 11:07 am, ZhangJennie&amp;lt;admin@community.nxp.com&amp;gt; wrote:    &lt;/P&gt;&lt;P&gt;#yiv9337203280 * &lt;SPAN __jive_macro_name="margin"&gt;&lt;/SPAN&gt;#yiv9337203280 a &lt;SPAN __jive_macro_name="color"&gt;&lt;/SPAN&gt;#yiv9337203280 body {font-family:Helvetica, Arial, sans-serif;}#yiv9337203280 #yiv9337203280 h1, #yiv9337203280 h2, #yiv9337203280 h3, #yiv9337203280 h4, #yiv9337203280 h5, #yiv9337203280 h6, #yiv9337203280 p, #yiv9337203280 hr {}#yiv9337203280 .yiv9337203280button td {} &lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  NXP Community  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;P&gt;Re: Codewarrior debugger to simulate ADC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from ZhangJennie in CodeWarrior Development Tools - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CW for HCS12 v5.1 visulaisation tool&amp;nbsp;doesn't have component for ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debugger can simulate ADC, I suggest you check debugger help manual with key word&amp;nbsp; "Analog to Digital Converter Module"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Start a new discussion in CodeWarrior Development Tools by email or at NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Following Re: Codewarrior debugger to simulate ADC in these streams: Inbox&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; This email was sent by NXP Community because you are a registered user.&lt;/P&gt;&lt;P&gt; You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 03:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088272#M8399</guid>
      <dc:creator>suma_success</dc:creator>
      <dc:date>2020-04-16T03:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088273#M8400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What specific problem do you have with RTI simulation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;please send me your problem screenshots and demo project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088273#M8400</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-16T09:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088274#M8401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It's a basic counter with RTI interrupts. The isr vectors.c and the vector start up in the prm file have a linked error. After, I removed vector startup in prm , I found the code working. This is an issue&amp;nbsp; with full chip simulation mode.&amp;nbsp;&amp;nbsp;However, with timer interrupts just adding the isr vectors.c is sufficient.&amp;nbsp;I am confused about this setting for each kind of interrupt.&amp;nbsp;Also I copied the isr vectors.c , source file from Codewarrior examples folder and have used the visualisation tool for all simulation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Yahoo Mail on Android &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  On Thu, 16 Apr 2020 at 1:43 pm, ZhangJennie&amp;lt;admin@community.nxp.com&amp;gt; wrote:   &lt;/P&gt;&lt;P&gt;#yiv6842597258 * &lt;SPAN __jive_macro_name="margin"&gt;&lt;/SPAN&gt;#yiv6842597258 a &lt;SPAN __jive_macro_name="color"&gt;&lt;/SPAN&gt;#yiv6842597258 body {font-family:Helvetica, Arial, sans-serif;}#yiv6842597258 #yiv6842597258 h1, #yiv6842597258 h2, #yiv6842597258 h3, #yiv6842597258 h4, #yiv6842597258 h5, #yiv6842597258 h6, #yiv6842597258 p, #yiv6842597258 hr {}#yiv6842597258 .yiv6842597258button td {} &lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  NXP Community  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;P&gt;Re: Codewarrior debugger to simulate ADC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from ZhangJennie in CodeWarrior Development Tools - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What specific problem do you have with RTI simulation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please send me your problem screenshots and demo project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Start a new discussion in CodeWarrior Development Tools by email or at NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Following Re: Codewarrior debugger to simulate ADC in these streams: Inbox&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; This email was sent by NXP Community because you are a registered user.&lt;/P&gt;&lt;P&gt; You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 04:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088274#M8401</guid>
      <dc:creator>suma_success</dc:creator>
      <dc:date>2020-04-17T04:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088275#M8402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a CW for hcs12 v5.1 RTI demo code to you. the RTI can work well in simulation mode. Just FYI.&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>Fri, 17 Apr 2020 09:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088275#M8402</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-17T09:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088276#M8403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jun,&lt;/P&gt;&lt;P&gt;Thanks a bunch.&lt;/P&gt;&lt;P&gt;I just modified your code to toggle LED connected to PORTB in the visualisation tool with a delay generated by RTI . The code debugs , but the LED does not toggle.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Suma&lt;/P&gt;&lt;P&gt;#include &amp;lt;hidef.h&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /* common defines and macros &lt;STRONG&gt;/#include "derivative.h"&amp;nbsp; &amp;nbsp; &amp;nbsp; /&lt;/STRONG&gt; derivative-specific definitions */&lt;/P&gt;&lt;P&gt;int counter;&lt;/P&gt;&lt;P&gt;void main(void) {&amp;nbsp; /* put your own code here */&amp;nbsp; DDRB=0XFF;&amp;nbsp; counter=0;&amp;nbsp; RTICTL= 0x51;&amp;nbsp; CRGINT = 0x80;  // enable RTI interrupts EnableInterrupts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for(;;) {&amp;nbsp; &amp;nbsp; &lt;U&gt;FEED&lt;/U&gt;COP(); /* feeds the dog &lt;STRONG&gt;/&amp;nbsp; } /&lt;/STRONG&gt; loop forever &lt;STRONG&gt;/&amp;nbsp; /&lt;/STRONG&gt; please make sure that you never leave main */}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKEDvoid interrupt 7 RTI()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&amp;nbsp; if (counter==500){&amp;nbsp; &amp;nbsp; PORTB=0b00000001;&amp;nbsp; } else{&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; counter++ ;&amp;nbsp; }&amp;nbsp; CRGFLG = 0x80;&amp;nbsp;}&amp;nbsp;#pragma CODE_SEG DEFAULT&lt;/P&gt;&lt;P&gt;    On Friday, April 17, 2020, 01:59:13 PM GMT+4, ZhangJennie &amp;lt;admin@community.nxp.com&amp;gt; wrote:  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; #yiv8636840290 * &lt;SPAN __jive_macro_name="margin"&gt;&lt;/SPAN&gt;#yiv8636840290 a &lt;SPAN __jive_macro_name="color"&gt;&lt;/SPAN&gt;#yiv8636840290 body {font-family:Helvetica, Arial, sans-serif;}#yiv8636840290 #yiv8636840290 h1, #yiv8636840290 h2, #yiv8636840290 h3, #yiv8636840290 h4, #yiv8636840290 h5, #yiv8636840290 h6, #yiv8636840290 p, #yiv8636840290 hr {}#yiv8636840290 .yiv8636840290button td {} &lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  NXP Community  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| &lt;/P&gt;&lt;P&gt;Re: Codewarrior debugger to simulate ADC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from ZhangJennie in CodeWarrior Development Tools - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a CW for hcs12 v5.1 RTI demo code to you. the RTI can work well in simulation mode. Just FYI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Start a new discussion in CodeWarrior Development Tools by email or at NXP Community&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Following Re: Codewarrior debugger to simulate ADC in these streams: Inbox&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; This email was sent by NXP Community because you are a registered user.&lt;/P&gt;&lt;P&gt; You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088276#M8403</guid>
      <dc:creator>suma_success</dc:creator>
      <dc:date>2020-04-17T12:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior debugger to simulate ADC</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088277#M8404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please send me your modified demo project. and also step by step screenshots of how to reproduce your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 03:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-debugger-to-simulate-ADC/m-p/1088277#M8404</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-20T03:01:42Z</dc:date>
    </item>
  </channel>
</rss>

