<?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 Re: NMI_b explanation in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434187#M25232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bob, I think that's one of the solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll probably include a RESET button on my board too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I can pick from the solutions:&lt;/P&gt;&lt;P&gt;1) Hold NMI_b to GND and do a manual power cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Hold NMI_b to GND and use the RESET button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Make the NMI isr call the bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Make the NMI isr cause a reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 15:54:45 GMT</pubDate>
    <dc:creator>joeygouly</dc:creator>
    <dc:date>2015-11-23T15:54:45Z</dc:date>
    <item>
      <title>NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434179#M25224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Just want a quick clarification about the NMI_b pin / ROM boot loader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine the MCU is powered and running, if I connect NMI_b to GND, is that all it takes to reset the MCU into the bootloader? Or do I need to pull NMI_b to GND and then RESET_b?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully an easy answer, I'm just a bit confused!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 00:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434179#M25224</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-11-23T00:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434180#M25225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NMI_b pin could lead to generate a non-maskable interrupt (NMI), which could not cause chip reset.&lt;/P&gt;&lt;P&gt;If customer want to re-enter ROM-Bootloader, it need to using RESET_b pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 05:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434180#M25225</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-11-23T05:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434181#M25226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible with a single button like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="zh0YIBe.png" class="image-1 jive-image" src="http://i.imgur.com/zh0YIBe.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that can't I could also implement the NMI isr to generate a reset or jump to the bootloader. I would prefer a hardware solution, if it's easier.&lt;/P&gt;&lt;P&gt;Or perhaps I can hold NMI_b to GND with a switch, and "reset" by unplugging/plugging in the USB cable?&lt;/P&gt;&lt;P&gt;Please advise!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 08:36:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434181#M25226</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-11-23T08:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434182#M25227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your hardware design, the chip will be reset with external RESET_b pin as expected.&lt;/P&gt;&lt;P&gt;I wonder why you using NMI_b pin here.&lt;/P&gt;&lt;P&gt;When the button was pressed/released, the NMI_b could not be recognized until the chip out of the reset process.&lt;/P&gt;&lt;P&gt;Customer just need RESET_b pin here.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:05:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434182#M25227</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-11-23T09:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434183#M25228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to put the MCU in ROM bootloader mode by pressing a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to look for how to achieve this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434183#M25228</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-11-23T09:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434184#M25229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use NMI as NMI and call this function.&amp;nbsp; Button bounce will probably be a problem. /* Function Pointer returning void, past void pointer: */ void (*_boot_loader_start)( void * arg ); void boot_loader_start( void ) {&amp;nbsp;&amp;nbsp; /* Read the function address from the ROM API tree: */&amp;nbsp;&amp;nbsp; uint32_t const _boot_loader_start_address = **(uint32_t **)(0x1C00001CUL);&amp;nbsp;&amp;nbsp; /* Turn address in to a funciton pointer: */&amp;nbsp;&amp;nbsp; _boot_loader_start = (void (*)(void * arg))_boot_loader_start_address;&amp;nbsp;&amp;nbsp; _boot_loader_start( NULL ); /* Call the function.&amp;nbsp; Will not return from here */ } It is also possible to set up FCFG to always run the bootloader at reset which may or may not be what you really want to do. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 13:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434184#M25229</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-11-23T13:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434185#M25230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I get out of this brain dead editor that hoses everything into the advanced editor?&lt;/P&gt;&lt;P&gt;Please don't tell me to hit something in the corner, it is NOT there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 13:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434185#M25230</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-11-23T13:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434186#M25231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use NMI as NMI and call this function.&amp;nbsp; Button bounce will probably be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Function Pointer returning void, past void pointer: */&lt;/P&gt;&lt;P&gt;void (*_boot_loader_start)( void * arg );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void boot_loader_start( void )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Read the function address from the ROM API tree: */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; uint32_t const _boot_loader_start_address = **(uint32_t **)(0x1C00001CUL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Turn address in to a funciton pointer: */&lt;/P&gt;&lt;P&gt;&amp;nbsp; _boot_loader_start = (void (*)(void * arg))_boot_loader_start_address;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _boot_loader_start( NULL ); /* Call the function.&amp;nbsp; Will not return from here */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is also possible to set up FCFG to always run the bootloader at reset which may or may not be what you really want to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 13:08:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434186#M25231</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-11-23T13:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: NMI_b explanation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434187#M25232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bob, I think that's one of the solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll probably include a RESET button on my board too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I can pick from the solutions:&lt;/P&gt;&lt;P&gt;1) Hold NMI_b to GND and do a manual power cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Hold NMI_b to GND and use the RESET button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Make the NMI isr call the bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Make the NMI isr cause a reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NMI-b-explanation/m-p/434187#M25232</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-11-23T15:54:45Z</dc:date>
    </item>
  </channel>
</rss>

