<?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のトピックRe: Program counter inadvertently jump to Boot ROM location</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343444#M61522</link>
    <description>&lt;P&gt;It can deepened on your CPU core to some degree.&lt;/P&gt;&lt;P&gt;M0+ do not allow unaligned access so they would cause a hardware fault exception on a odd (vs even) return value 'returned' from the stack.&lt;BR /&gt;&lt;BR /&gt;Otherwise execution will go to the address 'returned' via the stack and hard to say what can happen.&lt;BR /&gt;&lt;BR /&gt;One theoretical scenario is the part of the bootloader initialization gets missed by jumping past it, so the bootloader ends up in some endless loop.&lt;BR /&gt;&lt;BR /&gt;These are the cases that Watchdogs where meant to handle.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 18:47:40 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2021-09-21T18:47:40Z</dc:date>
    <item>
      <title>Program counter inadvertently jump to Boot ROM location</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343138#M61511</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am using MKE18F512VLH16 controller for my project. I want to understand that if there is any prevention or mitigation present to&amp;nbsp;&lt;SPAN&gt;inadvertently update program counter to ROM Boot location (other than&amp;nbsp;loader entry point) while running application from flash and if there is this control jump is possible then what will be behavior of controller.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 09:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343138#M61511</guid>
      <dc:creator>aporvasrivastava</dc:creator>
      <dc:date>2021-09-21T09:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program counter inadvertently jump to Boot ROM location</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343246#M61514</link>
      <description>&lt;P&gt;To be a little clearer, are you saying that you have running code now, that is randomly ending up in the bootloader?&amp;nbsp; The three most likely causes are a corrupted stack, a bad pointer-to-function, or hardware transients.&lt;BR /&gt;&lt;BR /&gt;Or are you saying&amp;nbsp; that you want to control entry to the bootloader to prevent it from your application?&lt;BR /&gt;That is somewhat dependent on the CPU you are using.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 11:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343246#M61514</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2021-09-21T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Program counter inadvertently jump to Boot ROM location</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343375#M61520</link>
      <description>&lt;P&gt;My main question is regarding corrupted stack. What will be concurrence if stack is corrupted to ROM Loader location&amp;nbsp;&lt;SPAN&gt;(other than&amp;nbsp;loader entry point). Will this lead to any exception or execution will start from ROM?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 15:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343375#M61520</guid>
      <dc:creator>aporvasrivastava</dc:creator>
      <dc:date>2021-09-21T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Program counter inadvertently jump to Boot ROM location</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343444#M61522</link>
      <description>&lt;P&gt;It can deepened on your CPU core to some degree.&lt;/P&gt;&lt;P&gt;M0+ do not allow unaligned access so they would cause a hardware fault exception on a odd (vs even) return value 'returned' from the stack.&lt;BR /&gt;&lt;BR /&gt;Otherwise execution will go to the address 'returned' via the stack and hard to say what can happen.&lt;BR /&gt;&lt;BR /&gt;One theoretical scenario is the part of the bootloader initialization gets missed by jumping past it, so the bootloader ends up in some endless loop.&lt;BR /&gt;&lt;BR /&gt;These are the cases that Watchdogs where meant to handle.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 18:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-counter-inadvertently-jump-to-Boot-ROM-location/m-p/1343444#M61522</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2021-09-21T18:47:40Z</dc:date>
    </item>
  </channel>
</rss>

