<?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: Where to store serial numbers.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139187#M5248</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;Perhaps you could&amp;nbsp;store the static&amp;nbsp;data in the top flash page,&amp;nbsp;below $FFB0, sharing with the interrupt vectors, etc.&amp;nbsp; It would also mean that this data would be protected when flash block protection was implemented.&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>Wed, 06 Dec 2006 12:21:07 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2006-12-06T12:21:07Z</dc:date>
    <item>
      <title>Where to store serial numbers.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139185#M5246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to store static serial numbers, channel and frequency preferences in flash, for a production run of a GT60(MC13213) device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best location in memory to store this? Considering this is going to be a max of 10 or 15 bytes I don't quite know if I need to write/dedicate a whole page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I think I'll use manually edited S19 files to increment the serial numbers (yes I've seen PEmicros serialize, i'll need to further edit the info in there for some of the other data elements so ends up beign twice the work)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 11:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139185#M5246</guid>
      <dc:creator>kbu</dc:creator>
      <dc:date>2006-12-06T11:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store serial numbers.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139186#M5247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi kbu,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm not sure there is a "correct" place, but I put my serial numbers at $FDF0&lt;/DIV&gt;&lt;DIV&gt;This is the top 16 bytes of the second last page.&lt;/DIV&gt;&lt;DIV&gt;This way I'm very high and out of the way, but not so high as to be in the vector/non-volatile register page.&lt;/DIV&gt;&lt;DIV&gt;Seems as good a place as any to me.&lt;/DIV&gt;&lt;DIV&gt;BTW, you only need to dedicate a whole page if you are likely to want to change them with out re-loading all the code (or the rest of the page).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139186#M5247</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-12-06T12:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store serial numbers.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139187#M5248</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;Perhaps you could&amp;nbsp;store the static&amp;nbsp;data in the top flash page,&amp;nbsp;below $FFB0, sharing with the interrupt vectors, etc.&amp;nbsp; It would also mean that this data would be protected when flash block protection was implemented.&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>Wed, 06 Dec 2006 12:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139187#M5248</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-12-06T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where to store serial numbers.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139188#M5249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;okay I'm a little confused about reading and writing serial numbers in to a GT60 device:&lt;BR /&gt;&lt;BR /&gt;I have a srecord line which contains my serial number and some data:&lt;BR /&gt;S113FDF0000000013C0200000000000000000000C0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I manually created this line and put it into a S19 file from my application. The first time it writes this data just fine but if I recompile the application and reporgram the device, the data previously in FDF0 dissapears, I guess true-time mass erases everything before programming the device.&lt;BR /&gt;&lt;BR /&gt;How can I store this custom data in my devices, along with my application? I need to do this for 100 or so devices. I've seen the serialize application from PE micro but it doesn't seem to create a S19 record, just something of its own format. and I don't think I'll be buying any addition hardware (cyclone pro) anytime soon.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 02:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139188#M5249</guid>
      <dc:creator>kbu</dc:creator>
      <dc:date>2006-12-19T02:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to store serial numbers.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139189#M5250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Kbu,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mass erase is compulsory as soon as the device is &lt;STRONG&gt;secured&lt;/STRONG&gt; or any page &lt;STRONG&gt;protected&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;Debugger will normally erase the device &lt;STRONG&gt;fully&lt;/STRONG&gt;. &lt;EM&gt;As it states when it does it&lt;/EM&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What I advise, not buying anything, is to write a &lt;STRONG&gt;PERL&lt;/STRONG&gt; script (or any other text manipulation) which will change the S19 between each Flash programming.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Either you call the PERL script from a &lt;STRONG&gt;PostSomething.cmd&lt;/STRONG&gt; in the debugger.&lt;/DIV&gt;&lt;DIV&gt;Or you call the debugger to program from you PERL script for even more automation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 06:52:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Where-to-store-serial-numbers/m-p/139189#M5250</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-12-19T06:52:49Z</dc:date>
    </item>
  </channel>
</rss>

