<?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>8-bit MicrocontrollersのトピックRe: TWR-S08DC-PT60 Labs Tutorial</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162644#M9952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what exactly is your Problem ? Are you new to Codewarrior or new to HCS08 or both.&lt;/P&gt;&lt;P&gt;You can find a lot of helpful information on this page : &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on CodeWarrior, Microcontrollers and Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It´ll show you how to use eclipse and create projects with processor expert. It is allways the same, no matter which processor core you use.&lt;/P&gt;&lt;P&gt;Look at the schematic of the board to see where the leds etc are connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eckhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 08:20:58 GMT</pubDate>
    <dc:creator>eckhard</dc:creator>
    <dc:date>2012-11-06T08:20:58Z</dc:date>
    <item>
      <title>TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162642#M9950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've TWR-S08DC-PT60 daughter board, I need any document/guide which explains about TWR-S08DC-PT60 Labs codes.&lt;/P&gt;&lt;P&gt;Please help me with the document.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 06:20:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162642#M9950</guid>
      <dc:creator>mithunp_s</dc:creator>
      <dc:date>2012-11-02T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162643#M9951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question seconded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if someone answers please also add any documents or other sample programs that can help in learning this daughter board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 15:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162643#M9951</guid>
      <dc:creator>aseembansal</dc:creator>
      <dc:date>2012-11-05T15:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162644#M9952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what exactly is your Problem ? Are you new to Codewarrior or new to HCS08 or both.&lt;/P&gt;&lt;P&gt;You can find a lot of helpful information on this page : &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on CodeWarrior, Microcontrollers and Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It´ll show you how to use eclipse and create projects with processor expert. It is allways the same, no matter which processor core you use.&lt;/P&gt;&lt;P&gt;Look at the schematic of the board to see where the leds etc are connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eckhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 08:20:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162644#M9952</guid>
      <dc:creator>eckhard</dc:creator>
      <dc:date>2012-11-06T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162645#M9953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to both. Thanks for the link. I will check it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 17:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162645#M9953</guid>
      <dc:creator>aseembansal</dc:creator>
      <dc:date>2012-11-06T17:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162646#M9954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ECKHARD/All,&lt;/P&gt;&lt;P&gt;I've problem with debugging TWR-S08DC-PT60 board, when I was running sample code this was working properly. I wanted to test how Watchdog resets once timeout happens, so enabled WDOG and gave value to TOVAL as below. Once I tried to load this i'm getting attached errors,I'm not getting what mistake I did....&lt;span class="lia-inline-image-display-wrapper" image-alt="error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/38720i7D9A152BD289539A/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error_continued.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37901iE59D4A85B6E850D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_continued.png" alt="error_continued.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error_details.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37961i01909061CE57998D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error_details.png" alt="Error_details.png" /&gt;&lt;/span&gt; please help me to sort this.&lt;/P&gt;&lt;P&gt;#include &amp;lt;hidef.h&amp;gt; /* for EnableInterrupts macro */&lt;/P&gt;&lt;P&gt;#include "derivative.h" /* include peripheral declarations */&lt;/P&gt;&lt;P&gt;#define LED0 PORT_PTCD_PTCD0 //O/P&amp;nbsp; Pin&lt;/P&gt;&lt;P&gt;#define LED6 PORT_PTBD_PTBD4 //O/P&amp;nbsp; Pin&lt;/P&gt;&lt;P&gt;#define LED7 PORT_PTBD_PTBD5 //O/P&amp;nbsp; Pin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void MCU_Init(void);&lt;/P&gt;&lt;P&gt;void Peripharals_Init(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; _asm SEI; // disable interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp; MCU_Init(); // Initialize MCU registers&lt;/P&gt;&lt;P&gt;&amp;nbsp; Peripharals_Init(); &lt;/P&gt;&lt;P&gt;&amp;nbsp; _asm CLI;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for(;;) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LED7=0b00100000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } /* loop forever */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* please make sure that you never leave main */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;void MCU_Init(void) &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//1&amp;gt;Configure Watch dog Timer - disable************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_CNT = 0xC520U; //Unlock write sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_CNT = 0xD928U; //Unlock write sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp; _asm SEI;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_TOVAL = 0x0ff;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_CS2 = 0x01U;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_CS1 = 0b11100100;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WDOG_WIN = 0; //Must be added as UPDATE = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; _asm CLI;&lt;/P&gt;&lt;P&gt;//2&amp;gt;:Disable the LVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; PMC_SPMSC1=0b00010101; //LVD reset Enable, LVD Enable, Band gap Buffer Enable&lt;/P&gt;&lt;P&gt;&amp;nbsp; PMC_SPMSC2=0b00000000; //LVD trip low, LVD Warning low&lt;/P&gt;&lt;P&gt;//3&amp;gt;:Enable the BKGD &amp;amp; RESET for the Debugging and STOP for the Low power mode&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; SYS_SOPT1=0b00001101; //BKGD-&amp;gt;Enable, RESET-&amp;gt;Enable, STOP-&amp;gt;Enable&lt;/P&gt;&lt;P&gt;//4&amp;gt;Clock Source Initialization****************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp; ICS_C1=0b00000100; // FEI Mode, CLKS=00, RDIV=000, IREFS=1, IRCLKEN=1, IREFSTEN=0&lt;/P&gt;&lt;P&gt;// Clock source=FLL, reference divisor=1, IREFS=1 Interrupt Reference Clock, ICSIRCLK active, ICSIRCLK disable in STOP &lt;/P&gt;&lt;P&gt;&amp;nbsp; ICS_C2_BDIV=0x00; // Go to full bus speed&lt;/P&gt;&lt;P&gt;// Trim Oscillator frequency for 20MHz bus frequency&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(*(unsigned char *far)0xFF6FU != 0xFFU)&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ICS_C3 = 0x86;&amp;nbsp; // 16mhz 4D @20mHz&lt;/P&gt;&lt;P&gt;&amp;nbsp; ICS_C4 =(unsigned char)((*(unsigned char *far)0xFF6FU) &amp;amp; (unsigned char)0x01U);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;void Peripharals_Init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;//Steps to Initialize the GPIO&lt;/P&gt;&lt;P&gt;//1&amp;gt;:PORT_PTxD&amp;nbsp; data register to read or write depend upon the configuration of the Pin&lt;/P&gt;&lt;P&gt;//2&amp;gt;:PORT_PTxOE to configure Pin in Output Direction mode&lt;/P&gt;&lt;P&gt;//3&amp;gt;:PORT_PTxIE to configure Pin in Input&amp;nbsp; Direction mode&lt;/P&gt;&lt;P&gt;//Data&amp;nbsp; Register&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PTBD=0b00100000;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; //PORT_PTCD=0b00101010;&lt;/P&gt;&lt;P&gt;// Common_Cathode=1; //or&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PTDD=0b00000001;&lt;/P&gt;&lt;P&gt;// Pin configuration for the input mode*******************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp; //PORT_PTBIE=?? ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //PORT_PTCIE=?? ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //PORT_PTDIE=?? ;&lt;/P&gt;&lt;P&gt;// Pin configuration for the output mode*******************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PTBOE=0b00100000 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // PORT_PTCOE=0b000101010;&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_PTDOE=0b00000001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 12:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162646#M9954</guid>
      <dc:creator>mithunp_s</dc:creator>
      <dc:date>2012-11-08T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-S08DC-PT60 Labs Tutorial</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162647#M9955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do really exists a TWR-S08DC-PT60_LAB document which is cited on TWR-S08DC-PT60 Quick Start Guide?&lt;/P&gt;&lt;P&gt;More than 3 years later this original question, I was still unable to find it on the Freescale/NXP site nor elsewhere on the web.&lt;/P&gt;&lt;P&gt;I was pretty able to find the sw code project with no explanation on it and it was almost useless untill I succeed to find a video demo at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/video/an-introduction-to-twr-s08dc-pt60-demo-board:S08P-Eng500_VID"&gt;http://www.nxp.com/video/an-introduction-to-twr-s08dc-pt60-demo-board:S08P-Eng500_VID&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fortunately the video was enlightening to understand the way of operation of the board with the Demo_lab code on it. In no other way I could imagine how to get information on the status via the PE Terminal Window or how to switch lab1 to lab2 and lab2-1 to lab2-4 through the potentiometer or the different operation of the accelerometer unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really someone at Freescale made so much effort to design such a pretty complex little board with such a complicate demo Lab program without making a short manual on how to operate them? How did other peoples who acquired this board to operate it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After studying the board schematic diagram also the question on how to connect the TWR_S08DC-PT60 daughter board on the TRW-S08UNIV module does not seem so obvious as in the answer on &lt;A _jive_internal="true" href="https://community.nxp.com/message/320591#320591"&gt;https://community.freescale.com/message/320591#320591&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;In fact on the diagram there are components which may be supplied at +5 or +3.3V, jumpers to be inserted or not and at least 2 resistors which are warned they must be alternately populated in case of connection to 3.3 or 5V:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21792i168E8BFA3F2D031F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Really is it all so simple you have to do anything other than remove J10 BKGD jumper?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salvatore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jan 2016 21:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/TWR-S08DC-PT60-Labs-Tutorial/m-p/162647#M9955</guid>
      <dc:creator>Encoder1</dc:creator>
      <dc:date>2016-01-09T21:16:10Z</dc:date>
    </item>
  </channel>
</rss>

