<?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: MICROCONTROLLER RECORD INITIAL PARAMETERS in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201274#M16494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hi&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Derrick&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Sorry I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;took so long&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answer&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but sometimes I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;more&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;serious&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;problems&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I must&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;leave&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;some issues&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The code that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have said is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;just what I needed&lt;/SPAN&gt;, I never &lt;SPAN class="hps"&gt;would have thought&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to put&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;"&lt;/SPAN&gt;const" &lt;SPAN class="hps"&gt;because I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;saw it as a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Thank you very much&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2012 10:16:03 GMT</pubDate>
    <dc:creator>Superdiode</dc:creator>
    <dc:date>2012-10-08T10:16:03Z</dc:date>
    <item>
      <title>MICROCONTROLLER RECORD INITIAL PARAMETERS</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201271#M16491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;I'm currently using&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;flash&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to record&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;HC08GZ60&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;both the program and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;certain parameters for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the user&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;My intention&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when recording&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the microcontroller&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;these parameters&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;are in their&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;initial defaults&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recorded&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;flash&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="hps"&gt;In other&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;words&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;want&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the compiler to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;generate code that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;record&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;certain values&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in certain positions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;flash&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="hps"&gt;I've tried with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;directives&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"#&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pragma&lt;/SPAN&gt;" &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;many inventions&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I get nothing&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;I hope&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you can help me&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="hps"&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 09:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201271#M16491</guid>
      <dc:creator>Superdiode</dc:creator>
      <dc:date>2012-09-26T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: MICROCONTROLLER RECORD INITIAL PARAMETERS</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201272#M16492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly, you want to store a group of values at a specific Flash memory address location when you compile your code.&amp;nbsp; I usually do this by declaring a constant string or structure.&amp;nbsp; The following will store the byte values 0x00, 0x01, 0x02, and 0x03 starting at address 0x8000:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const byte FlashData [] @0x8000 = { 0x00, 0x01, 0x02, 0x03};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the linker will locate any constant values in Flash.&amp;nbsp; So 0x8000 will need to be a valid Flash address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Derrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 14:52:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201272#M16492</guid>
      <dc:creator>Derrick</dc:creator>
      <dc:date>2012-09-28T14:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: MICROCONTROLLER RECORD INITIAL PARAMETERS</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201273#M16493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derrick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer... i'm, testing. I need some time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 08:45:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201273#M16493</guid>
      <dc:creator>Superdiode</dc:creator>
      <dc:date>2012-10-01T08:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: MICROCONTROLLER RECORD INITIAL PARAMETERS</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201274#M16494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hi&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Derrick&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Sorry I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;took so long&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answer&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but sometimes I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;more&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;serious&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;problems&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I must&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;leave&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;some issues&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The code that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have said is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;just what I needed&lt;/SPAN&gt;, I never &lt;SPAN class="hps"&gt;would have thought&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to put&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;"&lt;/SPAN&gt;const" &lt;SPAN class="hps"&gt;because I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;saw it as a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Thank you very much&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 10:16:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MICROCONTROLLER-RECORD-INITIAL-PARAMETERS/m-p/201274#M16494</guid>
      <dc:creator>Superdiode</dc:creator>
      <dc:date>2012-10-08T10:16:03Z</dc:date>
    </item>
  </channel>
</rss>

