<?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>Kinetis MicrocontrollersのトピックSREC file bad address</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SREC-file-bad-address/m-p/723282#M44283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a bootloader program for a Kinetis K60 chip.&amp;nbsp; I am using KDS.&amp;nbsp; I set my code (interrupts and data) to start at address 0x8000 so that my bootloader can reside in 0x0 - 0x7fff.&amp;nbsp; When I generate my application code, the first line is at address 0x400, then the rest of the lines are at 0x8000 +.&amp;nbsp; Is this line necessary to be programmed by the bootloader?&amp;nbsp; That block of addresses (less than 0x8000, is protected in my bootloader program to keep parts of my bootloader from being overwritten by the application.&amp;nbsp; Here are the first 3 lines of my SREC file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S0150000537072696E675F5465737465722E73726563C6&lt;BR /&gt;S214000&lt;STRONG&gt;400&lt;/STRONG&gt;FFFFFFFFFFFFFFFFFEFFFFFF7EFFFFFF79&lt;BR /&gt;S21400&lt;STRONG&gt;8000&lt;/STRONG&gt;00000020C500010099130100B51301000F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 18:04:14 GMT</pubDate>
    <dc:creator>barrypurtymun</dc:creator>
    <dc:date>2018-04-11T18:04:14Z</dc:date>
    <item>
      <title>SREC file bad address</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SREC-file-bad-address/m-p/723282#M44283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a bootloader program for a Kinetis K60 chip.&amp;nbsp; I am using KDS.&amp;nbsp; I set my code (interrupts and data) to start at address 0x8000 so that my bootloader can reside in 0x0 - 0x7fff.&amp;nbsp; When I generate my application code, the first line is at address 0x400, then the rest of the lines are at 0x8000 +.&amp;nbsp; Is this line necessary to be programmed by the bootloader?&amp;nbsp; That block of addresses (less than 0x8000, is protected in my bootloader program to keep parts of my bootloader from being overwritten by the application.&amp;nbsp; Here are the first 3 lines of my SREC file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S0150000537072696E675F5465737465722E73726563C6&lt;BR /&gt;S214000&lt;STRONG&gt;400&lt;/STRONG&gt;FFFFFFFFFFFFFFFFFEFFFFFF7EFFFFFF79&lt;BR /&gt;S21400&lt;STRONG&gt;8000&lt;/STRONG&gt;00000020C500010099130100B51301000F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SREC-file-bad-address/m-p/723282#M44283</guid>
      <dc:creator>barrypurtymun</dc:creator>
      <dc:date>2018-04-11T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: SREC file bad address</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SREC-file-bad-address/m-p/723283#M44284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the flash configuration values, which are at a fixed address.&lt;/P&gt;&lt;P&gt;You MUST remove them from an application working with a boot loader since they cannot be programmed (only the boot loader can define them) - they are redundant at the application too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find problems removing them there are two other workarounds:&lt;BR /&gt;1. Remove the fixed location that they are at so that they are just anywhere in the application.&lt;BR /&gt;2. When receiving them in the boot loader just ignore them if their address is not in the valid application area.&lt;BR /&gt;&lt;SPAN&gt;The second is also done (as a general safe-guard) in the uTasker SREC/iHEX loader: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerSerialLoader.pdf" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 22:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SREC-file-bad-address/m-p/723283#M44284</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-04-11T22:26:20Z</dc:date>
    </item>
  </channel>
</rss>

