<?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>MCU BootloaderのトピックRe: KL82 ROM KBOOT - Timeout Exit</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710238#M571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radu Toma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, please look for information about &lt;EM&gt;Pointer to function in Thumb state "ARM". &lt;/EM&gt;For more information please check the following post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2012/11/14/thumbs-up-with-assembly-on-arm-cortex/" title="https://mcuoneclipse.com/2012/11/14/thumbs-up-with-assembly-on-arm-cortex/"&gt;Thumbs up with Assembly on ARM Cortex | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could help.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 19:40:24 GMT</pubDate>
    <dc:creator>jorge_a_vazquez</dc:creator>
    <dc:date>2017-11-10T19:40:24Z</dc:date>
    <item>
      <title>KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710233#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;In my application I am getting into KBOOT by holding down pin 33 (NMI_B), while restarting the board. The BCA config area has been configure with the following parameters:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.tag = 0x6766636B, //!&amp;lt; Magic Number&lt;BR /&gt; .crcStartAddress = 0xFFFFFFFF, //!&amp;lt; Disable CRC check&lt;BR /&gt; .crcByteCount = 0xFFFFFFFF, //!&amp;lt; Disable CRC check&lt;BR /&gt; .crcExpectedValue = 0xFFFFFFFF, //!&amp;lt; Disable CRC check&lt;BR /&gt; .enabledPeripherals = 0xE1, //!&amp;lt; Enabled Peripheral: UART &lt;BR /&gt; .i2cSlaveAddress = 0xFF, //!&amp;lt; Use default I2C address(0x10)&lt;BR /&gt; .peripheralDetectionTimeoutMs = 0x03E8, //!&amp;lt; Use user-defined timeout(ms)&lt;BR /&gt; .usbVid = 0xFFFF, //!&amp;lt; Use default Vendor ID(0x15A2)&lt;BR /&gt; .usbPid = 0xFFFF, //!&amp;lt; Use default Product ID(0x0073)&lt;BR /&gt; .usbStringsPointer = 0xFFFFFFFF, //!&amp;lt; Use default USB String&lt;BR /&gt; .clockFlags = 0xFE, //!&amp;lt; Enable High speed mode&lt;BR /&gt; .clockDivider = 0xFD, //!&amp;lt; Use clock divider(2)&lt;BR /&gt; .bootFlags = 0xFF, //!&amp;lt; Enable communication with host&lt;BR /&gt; .mmcauConfigPointer = 0xFFFFFFFF, //!&amp;lt; No MMCAU configuration&lt;BR /&gt; .keyBlobPointer = 0xFFFFFFFF, //!&amp;lt; No key blob&lt;BR /&gt; .canConfig1 = 0xFF, //!&amp;lt; Use default canConfig1&lt;BR /&gt; .canConfig2 = 0xFFFF, //!&amp;lt; Use default canConfig2&lt;BR /&gt; .canTxId = 0xFFFF, //!&amp;lt; Use default CAN TX ID(0x123)&lt;BR /&gt; .canRxId = 0xFFFF, //!&amp;lt; Use default CAN RX ID(0x321)&lt;BR /&gt; .qspi_config_block_pointer = 0xFFFFFFFF, //!&amp;lt; No QSPI configuration&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am wondering how one can get the KBOOT to timeout and start the application. At the moment it doesn't as I can use blhost to talk to it. However it doesn't time out at all. I can wait more than 1s in between queries and nothing happens. (I would expect the KBOOT to timeout as there is no communication.)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there something I am missing? How can one get the KBOOT to time out after 1s?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 12:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710233#M566</guid>
      <dc:creator>rtoma</dc:creator>
      <dc:date>2017-10-18T12:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710234#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No clues anyone one?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 08:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710234#M567</guid>
      <dc:creator>rtoma</dc:creator>
      <dc:date>2017-10-23T08:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710235#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radu Toma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to &lt;EM&gt;Reference Manual Figure 7-2. Kinetis Bootloader Start-up Flowchart, you can find that when you enter to the Booloader with the bootpin assert, the timeout is disable.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/KL82P121M72SF0RM.pdf#page=127" title="https://www.nxp.com/docs/en/reference-manual/KL82P121M72SF0RM.pdf#page=127"&gt;https://www.nxp.com/docs/en/reference-manual/KL82P121M72SF0RM.pdf#page=127&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;I think that this was made with the assumption that if you are getting into the bootloader with the pin, you actually want to use the bootloader and then you don't want to get out until you program an application and jump to that application. You could use an jump to application instruction if you want to get of of bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could help&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710235#M568</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-10-24T17:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710236#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Makes sense what you've just described! However I am struggling jumping to application. How can this be achieved?&amp;nbsp;&lt;BR /&gt;I have noticed the blhost execute command, but where can I get the right values for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;stack pointer&lt;/LI&gt;&lt;LI&gt;program counter&lt;/LI&gt;&lt;LI&gt;R0&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 08:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710236#M569</guid>
      <dc:creator>rtoma</dc:creator>
      <dc:date>2017-11-03T08:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710237#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seemed to have cracked it. But I have a question (see below).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the binary file, the first 4 bytes are the SP and the next 4 bytes are the program counter. Hence an execute command will look like:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;blhost -p /dev/ttymxc2,56700 -- execute 0x000004E9 0 0x20012000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(see below the reason for choosing these addresses)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16659i38BB17E20D4C91DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here is my question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the .map file the start is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;presented as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;:&amp;nbsp;&lt;STRONG&gt;0x000004e8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reset_Handler&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Why is the start address incremented by one in the binary file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16617i11A901BDC1D15A48/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 13:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710237#M570</guid>
      <dc:creator>rtoma</dc:creator>
      <dc:date>2017-11-03T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710238#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radu Toma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply, please look for information about &lt;EM&gt;Pointer to function in Thumb state "ARM". &lt;/EM&gt;For more information please check the following post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2012/11/14/thumbs-up-with-assembly-on-arm-cortex/" title="https://mcuoneclipse.com/2012/11/14/thumbs-up-with-assembly-on-arm-cortex/"&gt;Thumbs up with Assembly on ARM Cortex | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could help.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 19:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710238#M571</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-11-10T19:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 ROM KBOOT - Timeout Exit</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710239#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge! Clear and concise explanation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 11:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL82-ROM-KBOOT-Timeout-Exit/m-p/710239#M572</guid>
      <dc:creator>rtoma</dc:creator>
      <dc:date>2017-12-08T11:43:02Z</dc:date>
    </item>
  </channel>
</rss>

