<?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: KL03 pin reinitialisation in bootloader in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598489#M67</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to force BootROM not to change unused pins to out of reset state. In other word, leave them as they are before entering BootROM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klemen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 10:43:18 GMT</pubDate>
    <dc:creator>kporenta</dc:creator>
    <dc:date>2016-10-27T10:43:18Z</dc:date>
    <item>
      <title>KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598486#M64</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;question related to ROM bootloader burned into KL03.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application enables&amp;nbsp;only I2C as interface for bootloader (in BCA) and then jumps to bootloader.&amp;nbsp;Will the ROM code change/reinitialise pin mux/state also for pins not used by bootloader or will leave them as they are on bootloader entry?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working on&amp;nbsp;MKL03Z8VFG4 part number.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Klemen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 09:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598486#M64</guid>
      <dc:creator>kporenta</dc:creator>
      <dc:date>2016-10-25T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598487#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klemen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the pins of enabled peirpherals are re-initialized in BootROM, the other pinmux of toher pin is the same with the state out of reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Fan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598487#M65</guid>
      <dc:creator>ramboyang</dc:creator>
      <dc:date>2016-10-26T08:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598488#M66</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a warning on this same topic. The bootloader uses the PIT (timer). Specifically, it chains the two timers together. This tripped me up; my application wasn't working properly after using the bootloader, and it was because my app uses the PIT, but the bootloader had chained the two timers together, affecting their operation.&lt;/P&gt;&lt;P&gt;Frank.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.frankvh.com"&gt;www.frankvh.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 04:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598488#M66</guid>
      <dc:creator>frankvanhooft</dc:creator>
      <dc:date>2016-10-27T04:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598489#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to force BootROM not to change unused pins to out of reset state. In other word, leave them as they are before entering BootROM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klemen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598489#M67</guid>
      <dc:creator>kporenta</dc:creator>
      <dc:date>2016-10-27T10:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598490#M68</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klemen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, BootROM doesn't change any unused pins, but I am not sure if the the pin mux would be restored to default state after reset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:19:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598490#M68</guid>
      <dc:creator>ramboyang</dc:creator>
      <dc:date>2016-10-28T13:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598491#M69</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fan,&lt;/P&gt;&lt;P&gt;we did a little test:&lt;/P&gt;&lt;P&gt;1. BCA flags were set to use I2C bus only (PTB3, PTB4), and peripheralDetectionTimeout timeout was set to 0xFFFF&lt;BR /&gt;2. execute application where we set muxing for pins PTA6 and PTA7 (GPIO)&lt;BR /&gt;3. inside application we jump to BootROM (runBootloaderAddress = **(uint32_t **)(0x1c00001c); runBootloader = (void (*)(void * arg))runBootloaderAddress; runBootloader(0);)&lt;BR /&gt;4. after few seconds we stop the MCU (PC is set to 0x1c000xxxx - BootROM) and pin muxing for PTA6 and PTA7 is reset to default value (DISABLED)&lt;/P&gt;&lt;P&gt;We have added also expression brake point to PORTA_PCR6 and PORTA_PCR7 but there are no accesses to this two register in BootROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WDT is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klemen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 15:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598491#M69</guid>
      <dc:creator>kporenta</dc:creator>
      <dc:date>2016-10-28T15:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598492#M70</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Klemen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling runBootloader API, device will reset itself (NVIC_SystemReset) and then boot from BootROM, so the GPIOs not touched by BootROM will be restored to default function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 12:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598492#M70</guid>
      <dc:creator>ramboyang</dc:creator>
      <dc:date>2016-10-31T12:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 pin reinitialisation in bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598493#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that explains everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klemen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KL03-pin-reinitialisation-in-bootloader/m-p/598493#M71</guid>
      <dc:creator>kporenta</dc:creator>
      <dc:date>2016-10-31T19:31:22Z</dc:date>
    </item>
  </channel>
</rss>

