<?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>S12 / MagniV Microcontrollersのトピックstandalone operation</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133809#M1958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I've been running a prototype MC9S12E128 via a Nohau emulator but when I program the code into the chip, it does appear to operate at all on power up. I am using the P&amp;amp;E Micro USB Multilink to program the chip and have verified the reset vector at FFFFE and the main code at FC000.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have checked the reset line and the clock inputs which appear to be ok. Does anyone have suggestions for what else I could look for?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Eagle Beak&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Oct 2006 00:47:18 GMT</pubDate>
    <dc:creator>EagleBeak</dc:creator>
    <dc:date>2006-10-21T00:47:18Z</dc:date>
    <item>
      <title>standalone operation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133809#M1958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I've been running a prototype MC9S12E128 via a Nohau emulator but when I program the code into the chip, it does appear to operate at all on power up. I am using the P&amp;amp;E Micro USB Multilink to program the chip and have verified the reset vector at FFFFE and the main code at FC000.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have checked the reset line and the clock inputs which appear to be ok. Does anyone have suggestions for what else I could look for?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Eagle Beak&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2006 00:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133809#M1958</guid>
      <dc:creator>EagleBeak</dc:creator>
      <dc:date>2006-10-21T00:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: standalone operation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133810#M1959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Have you tried to single step?&lt;BR /&gt;&lt;BR /&gt;I'm assuming that the prototype is a known good design, right? So you know it works.&lt;BR /&gt;&lt;BR /&gt;If this is your own design, are you sure the PLL is starting up? I had some PLL and crystal problems with one of my designs, and it just wouldn't start. I went back and redid the PLL filter design, then changed my crystal configuration and haven't had a sniff of problems (at least in that area) ever since.&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2006 05:55:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133810#M1959</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2006-10-21T05:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: standalone operation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133811#M1960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The hardware was done by a different division in another city. I have had it going under the emulator, which has quite a different clock setup than this board's but it is the same&amp;nbsp;design used across the board on our&amp;nbsp;B32 products. This is an E128. It just doesn't jump to the start up vector so I know there's no register setting issues because it doesn't get that far.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The reset circuit could use some work but I used the P&amp;amp;E USB Multilink to program the chip, and that program will issue a reset to chip of 6mS, which should cause it to see a hard reset.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good suggestions though. I will look further into the clock circuit. Is there an issue if the clock doesn't become stable within a set period of time?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Eagle Beak&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2006 06:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133811#M1960</guid>
      <dc:creator>EagleBeak</dc:creator>
      <dc:date>2006-10-21T06:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: standalone operation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133812#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;It turns out that the PLL was part of the problem, it was enabled for the sake of the emulator but the standalone target uses a crystal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Secondly, I had programmed the MISC register incorrectly. My intention was to program the&amp;nbsp;write once registers at startup so that a program bug doesn't accidently hit them. The documentation was a little confusing in the data sheet as the contents of the MISC are an extension of INITEE register. The bit field descriptions table for the MISC register is labeled 'INITEE Field Descriptions'. In my haste and lack of understanding I put&amp;nbsp; zero in the MISC register which disabled the FLASH EEPROM from the memory map. The emulator uses it's own RAM to simulate program space so the setting has no effect.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Summary:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1. PLL bit was enabled when the circuit uses a crystal. The problem was resolved by&amp;nbsp;clearing &amp;nbsp;the PLLSEL bit in the CLKSEL register in the start up code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2. The FLASH EEPROM was disabled from the memory map. The was resolved by setting the&amp;nbsp;ROMON bit in the MISC register.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;E. Beak&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2006 23:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/standalone-operation/m-p/133812#M1961</guid>
      <dc:creator>EagleBeak</dc:creator>
      <dc:date>2006-10-23T23:31:49Z</dc:date>
    </item>
  </channel>
</rss>

