<?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: Full Chip Simulator, TPM and TIM in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132506#M3071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi quipu&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I had a similar problem with the "wait" interrupt on the MC9RS08, and was told by the helpful people here that the full chip simulator simply didn't simulate that aspect of my MCU.&amp;nbsp; So maybe&amp;nbsp;the&amp;nbsp;FCS for your device has a similar problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My solution&amp;nbsp;has been to include a few lines of code in my programs that simulate&lt;/DIV&gt;&lt;DIV&gt;the interrupt behavior when I run it on the full chip simulator!&amp;nbsp; Sounds crazy -- but it&lt;/DIV&gt;&lt;DIV&gt;works, and lets me do a lot of testing without downloading my code into my MCU.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 06:04:53 GMT</pubDate>
    <dc:creator>Curt</dc:creator>
    <dc:date>2007-05-03T06:04:53Z</dc:date>
    <item>
      <title>Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132505#M3070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using Device Initialization tool I create a very simple application using CW 5.7.0 (Special Edition) for target MC9S08QG8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I initialize only CPU and TMP. I configured TMP with interrupt enable (every ~16ms).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the TPM_ISR simple manage interrupt us follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;__interrupt void TPM_ISR(void){&amp;nbsp; TPMSC;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // read the timer overflow status&amp;nbsp; TPMSC_TOF = 0;&amp;nbsp; // and clear it}&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to debug code with Full Chip Simulator. I setted a breakpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the TPM_ISR, but execution never stop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I build similar project using MC68HC908LJ12 and T1SC0 and I able to break in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T1SC0 ISR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 04:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132505#M3070</guid>
      <dc:creator>quipu</dc:creator>
      <dc:date>2007-05-03T04:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132506#M3071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi quipu&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I had a similar problem with the "wait" interrupt on the MC9RS08, and was told by the helpful people here that the full chip simulator simply didn't simulate that aspect of my MCU.&amp;nbsp; So maybe&amp;nbsp;the&amp;nbsp;FCS for your device has a similar problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My solution&amp;nbsp;has been to include a few lines of code in my programs that simulate&lt;/DIV&gt;&lt;DIV&gt;the interrupt behavior when I run it on the full chip simulator!&amp;nbsp; Sounds crazy -- but it&lt;/DIV&gt;&lt;DIV&gt;works, and lets me do a lot of testing without downloading my code into my MCU.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 06:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132506#M3071</guid>
      <dc:creator>Curt</dc:creator>
      <dc:date>2007-05-03T06:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132507#M3072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;As Curt mentioned the simulator for most of the HCS08 devices does not fire the TPM interrupt in OC mode. If you use the MOD mode it will work! But i do not see in what mode you will put the MPU!&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;??? Did you declare the Interrupt routine in the PRM file ??????&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;A working example can be found on my home page :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.systech-gmbh.ch" rel="nofollow" target="_blank"&gt;www.systech-gmbh.ch&lt;/A&gt;&amp;nbsp; -&amp;gt; EBS08 -&amp;gt; EBS08C_QG8&lt;BR /&gt;&lt;BR /&gt;Saluti Joerg&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 14:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132507#M3072</guid>
      <dc:creator>joerg</dc:creator>
      <dc:date>2007-05-03T14:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132508#M3073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi quipu:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;jeorg is the "helpful people" mentioned in my previous note!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hi jeorg!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 20:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132508#M3073</guid>
      <dc:creator>Curt</dc:creator>
      <dc:date>2007-05-03T20:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132509#M3074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Curt and Joreg,&lt;BR /&gt;&lt;BR /&gt;and thanks for fast answer.&lt;BR /&gt;I generated my TPM test project with CW and Device Initializazion Tool.&lt;BR /&gt;I not changed the default initialization of CPU and configured the TPM&lt;BR /&gt;with Clock Source=bus rate clock and enabled interrpt overflow.&lt;BR /&gt;&lt;BR /&gt;I see that in di generated code MCUInit.c the interrupt is declared in&lt;BR /&gt;vector table.&lt;BR /&gt;&lt;BR /&gt;I have attached my project.&lt;BR /&gt;&lt;BR /&gt;If the TPM module is not supported under simulation, can I workaround&lt;BR /&gt;the problem ?&lt;BR /&gt;&lt;BR /&gt;Where I can find information on the Full Chip Simulator that they say what&lt;BR /&gt;is and what isn't notsupported ?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2007 15:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132509#M3074</guid>
      <dc:creator>quipu</dc:creator>
      <dc:date>2007-05-05T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132510#M3075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;I have tried to get running your project. Since i never used the processor expert it was a interesting experience too!&lt;BR /&gt;First to the simulator:&lt;BR /&gt;How i &lt;SPAN&gt;said&lt;/SPAN&gt; the TPM does not fire or change any flags (TOF, etc.) the only thing that is working is when you set the MOD register to a value different to 0x0000 or 0xFFFF!&lt;BR /&gt;&lt;B&gt;It would be nice from P&amp;amp;E to fix this bug!&lt;BR /&gt;&lt;/B&gt;I have put different service requests for that issue month ago!!&lt;BR /&gt;I have uploaded the now working version, but i think the ISR does not make really sense this way.&lt;BR /&gt;&lt;BR /&gt;My impressions using the processor expert are somewhat &lt;SPAN&gt;insecure&lt;/SPAN&gt; about the benefits. &lt;SPAN&gt;Sure&lt;/SPAN&gt; it helps to get into the different &lt;SPAN&gt;MPUs&lt;/SPAN&gt; and their &lt;SPAN&gt;comments&lt;/SPAN&gt;. But it creates a lot of overhead as the example shows clearly!&lt;BR /&gt;It seems that those tools did not make any progress since i am programming and this are quiet some years now (my first &lt;SPAN&gt;programs&lt;/SPAN&gt; are form 1981 or so!). So i prefer the handmade way.&lt;BR /&gt;&lt;BR /&gt;It would be nice to have somewhat like a database, where we could look up the &lt;SPAN&gt;known&lt;/SPAN&gt; issues for the MPU used!&lt;BR /&gt;&lt;BR /&gt;Hoping this helps&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Saluti&lt;/SPAN&gt; &lt;SPAN&gt;Joerg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 20:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132510#M3075</guid>
      <dc:creator>joerg</dc:creator>
      <dc:date>2007-05-06T20:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132511#M3076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Joerg,&lt;BR /&gt;&lt;BR /&gt;The &lt;B&gt;Simulator&lt;/B&gt; is not done by P&amp;amp;E Microcomputers, but by CodeWarrior, I believe.&lt;BR /&gt;I would suggest a Service Request so, if your bug report is validated (I didn't check), it will be entered in the bug list to be fixed.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 02:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132511#M3076</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-05-07T02:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132512#M3077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi &lt;SPAN&gt;&lt;SPAN&gt;Alban&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;Strange thing! When i reported i was said, this is a P&amp;amp;E problem an will be fixed until march or so. But i do not see any &lt;SPAN&gt;improvements&lt;/SPAN&gt; until yet. I hope the bugs are fixed i version 6.0000!&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Saluti&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;Joerg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:06:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132512#M3077</guid>
      <dc:creator>joerg</dc:creator>
      <dc:date>2007-05-07T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132513#M3078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Joerg, All:&lt;BR /&gt;&lt;BR /&gt;This was a reported issue on our HCS08 simulation; the updated simulators in v6.0 will indeed address this issue!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Mark&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 22:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132513#M3078</guid>
      <dc:creator>P_EMark</dc:creator>
      <dc:date>2007-05-08T22:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulator, TPM and TIM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132514#M3079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Just the guy we needed !&lt;BR /&gt;Thanks for the clarification, Mark.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 22:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Full-Chip-Simulator-TPM-and-TIM/m-p/132514#M3079</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-05-08T22:02:14Z</dc:date>
    </item>
  </channel>
</rss>

