<?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のトピックstartup time is too long</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140326#M5595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;i am using MC68HC908JL16 loaded with C program. alough using crystal oscillator:6MHZ, several dword variables and the STACKSIZE: 0x100, the chip starts up costing long time: 80ms. i suspect to cut down start08.c,maybe it can make the chip start up less than 1ms.&lt;/DIV&gt;&lt;DIV&gt;i would appreciate if anyone could instruct me to get it through,thank you.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Dec 2006 11:29:36 GMT</pubDate>
    <dc:creator>hotdog</dc:creator>
    <dc:date>2006-12-16T11:29:36Z</dc:date>
    <item>
      <title>startup time is too long</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140326#M5595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;i am using MC68HC908JL16 loaded with C program. alough using crystal oscillator:6MHZ, several dword variables and the STACKSIZE: 0x100, the chip starts up costing long time: 80ms. i suspect to cut down start08.c,maybe it can make the chip start up less than 1ms.&lt;/DIV&gt;&lt;DIV&gt;i would appreciate if anyone could instruct me to get it through,thank you.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2006 11:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140326#M5595</guid>
      <dc:creator>hotdog</dc:creator>
      <dc:date>2006-12-16T11:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: startup time is too long</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140327#M5596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I assume you are referring to the POR period.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;For the JL device, it appears that the POR delay is determined by the internal oscillator signal ICLK, and this runs at approximately 50kHz.&amp;nbsp; Since the POR delay corresponds to 4163 cycles of ICLK, this would amount to about 80 milliseconds - what you are observing.&amp;nbsp; This delay cannot be reduced.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;If you must have a shorter POR period, you might need to consider an alternative MCU device, perhaps one with a higher frequency internal clock.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2006 08:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140327#M5596</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-12-17T08:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: startup time is too long</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140328#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are using CodeWarrior for your development.&lt;/DIV&gt;&lt;DIV&gt;According to your message it looks like the application is taking too much time initializing the global variables and the watchdog is generating a reset at startup time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There are different ways to avoid that from happening:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; 1- You can&amp;nbsp;build your application (particularly the file start08.c) with&amp;nbsp;option -D__ONLY_INIT_SP. This will&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;disable initialization of global variables at Startup. In you are going that way, make sure to initialize all&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; global variables through&amp;nbsp;assignment in your application.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; 2- You can decide to disable initialization for some variables only (for instance you know that you are&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;initializing some variables through assignment). Just define these variables in a user defined section&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and place it in a segment with attribute NO_INIT (instead of READ_WRITE).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; 3- You can also adjust the startup code in the Start08.c source file and add some reset watchdog code&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in there to prevent COP to reset the CPU.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; If you are using another development tool chain than CodeWarrior you may have to go to your tool vendor and ask him how to fix that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 16:36:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/startup-time-is-too-long/m-p/140328#M5597</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-12-18T16:36:06Z</dc:date>
    </item>
  </channel>
</rss>

