<?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 9S08DZ60 0x1080-0x13FF flash area in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9S08DZ60-0x1080-0x13FF-flash-area/m-p/865448#M22743</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;I have a question regarding the flash area located at addresses 0x1080-0x13FF on 9S08DZ60.&lt;/P&gt;&lt;P&gt;The datasheet mentions a sector size of 768 bytes for the 9S08DZ60.&lt;/P&gt;&lt;P&gt;Of course the area 0x1080-0x13FF is not 768 but 896 bytes.&lt;/P&gt;&lt;P&gt;After doing some testing, I have found the following :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;- From 0x1080 to 0x12FF&amp;nbsp; first "sector" of 640 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;- From 0x1300 to 0x13FF second "sector" 256 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;As I do not like to make a rule from experiments, I wonder if anyone has ever asked the same question ? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2019 09:29:14 GMT</pubDate>
    <dc:creator>nicolaskouznetz</dc:creator>
    <dc:date>2019-03-04T09:29:14Z</dc:date>
    <item>
      <title>9S08DZ60 0x1080-0x13FF flash area</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9S08DZ60-0x1080-0x13FF-flash-area/m-p/865448#M22743</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;I have a question regarding the flash area located at addresses 0x1080-0x13FF on 9S08DZ60.&lt;/P&gt;&lt;P&gt;The datasheet mentions a sector size of 768 bytes for the 9S08DZ60.&lt;/P&gt;&lt;P&gt;Of course the area 0x1080-0x13FF is not 768 but 896 bytes.&lt;/P&gt;&lt;P&gt;After doing some testing, I have found the following :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;- From 0x1080 to 0x12FF&amp;nbsp; first "sector" of 640 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;- From 0x1300 to 0x13FF second "sector" 256 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana',sans-serif;"&gt;As I do not like to make a rule from experiments, I wonder if anyone has ever asked the same question ? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 09:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/9S08DZ60-0x1080-0x13FF-flash-area/m-p/865448#M22743</guid>
      <dc:creator>nicolaskouznetz</dc:creator>
      <dc:date>2019-03-04T09:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: 9S08DZ60 0x1080-0x13FF flash area</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/9S08DZ60-0x1080-0x13FF-flash-area/m-p/865449#M22744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's interesting. I think you figured it right. Looking at DZ16/32/48 memory maps, flash sectors seem being top aligned. I mean that for DZ16 with bottom flash address 0x7c00:&lt;/P&gt;&lt;P&gt;(0x7C00 % 768) != 0&amp;nbsp; // not bottom aligned&lt;/P&gt;&lt;P&gt;((0x10000 - 0x7C00) % 768) == 0 // top aligned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same applies to DZ32 and DZ48 and should be valid as well for DZ60, though&amp;nbsp;we don't see bottom physical flash address on DZ60, it must be&amp;nbsp;hidden under RAM. We still can assume that DZ60 flash is similar to DZ16/32/48 flash and that flash&amp;nbsp;pages in 0x1080..0x13FF area should end/start at&lt;/P&gt;&lt;P&gt;0x10000 - ((int)((0x10000 - 0x1080) / 768) * 768 = 0x1300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 08:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/9S08DZ60-0x1080-0x13FF-flash-area/m-p/865449#M22744</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-03-05T08:08:47Z</dc:date>
    </item>
  </channel>
</rss>

