<?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: MKE06 BootLoader  and MKE16F512BootLoader</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257036#M60087</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which bootloader do you use? What problem you are facing? Can't jump to application? In MCUXpresso, you needn't change the .ld file manually. Just let flash start from 50k. The compiler will put vector table at the head of 0xc800. The bootloader should know it and get Reset_handler address and SP address from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 06:59:35 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2021-04-06T06:59:35Z</dc:date>
    <item>
      <title>MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1254561#M60040</link>
      <description>&lt;P&gt;I use MKE06 debug bootloader ,please sent to me some files about it,best chinese files,&lt;/P&gt;&lt;P&gt;thank you !!!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 01:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1254561#M60040</guid>
      <dc:creator>ahjg_xu</dc:creator>
      <dc:date>2021-03-31T01:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1255437#M60057</link>
      <description>&lt;P&gt;Hi ahjg_xu,&lt;/P&gt;
&lt;P&gt;There are several bootloader projects you can use. Which one do you use? KE06 need Flash base bootloader and KE16F has ROM bootloader.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 02:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1255437#M60057</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-04-01T02:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1256847#M60083</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;Thank you for your feedback,&lt;BR /&gt;Now, I use the mke06z128xxx4 chip, debug the bootloader.&lt;BR /&gt;My design is to use the first 50K flash for bootdemo, and then (128k-50k) for appdemo. The bootdemo is the bootloader.&lt;BR /&gt;I think we should change "mke06z4_ Project_ c_ Debug.ld ”File, and redefine interrupt vector table, but I changed several versions of the program, failed.&lt;BR /&gt;Please give me some advice.&lt;BR /&gt;My current compiler is mcuxpresso 11. thank you !&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 01:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1256847#M60083</guid>
      <dc:creator>ahjg_xu</dc:creator>
      <dc:date>2021-04-06T01:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257036#M60087</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which bootloader do you use? What problem you are facing? Can't jump to application? In MCUXpresso, you needn't change the .ld file manually. Just let flash start from 50k. The compiler will put vector table at the head of 0xc800. The bootloader should know it and get Reset_handler address and SP address from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 06:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257036#M60087</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-04-06T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257585#M60102</link>
      <description>Hello, thank you for your reply. The address of the. LD file of "bootloader" is "0x0 - 0xa000"; The address of the. LD file of "appdemo" is 0xb000 - 0x15000 Now, I have two problems here Question 1 "============== When "bootloader" Jmp to "AppDemo" " // unsigned int * pSCB_VTOR = (unsigned int *) 0xE000ED08; // *pSCB_VTOR = (unsigned int) 0X0000B000; // (* (void (*) ()) (0x0000B410 + 4)) (); 0x0000B410 is the "AppDemo" main () entry address. " The Debug result was unsuccessful. Question 2 "=============== I thought there might be a problem with the jump address, and I added some demo in "main" of "BootLoader" " // unsigned int * pSCB_VTOR = (unsigned int *) 0xE000ED08; // *pSCB_VTOR = (unsigned int) 0X00000000; // (* (void (*) ()) (0x00000410 + 4)) (); 0x00000410 is the "BootLoader" main () entry address. " When I single step through with Jlink, the program "BootLoader" can jump normally, every time. But when I debug continuously, "MCUXpressoIDE" reports "HardFault" and "IPSR = 0X00000003" Is there a problem with my jump function? Why ? Thank you very much for your help!</description>
      <pubDate>Wed, 07 Apr 2021 01:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257585#M60102</guid>
      <dc:creator>ahjg_xu</dc:creator>
      <dc:date>2021-04-07T01:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257621#M60104</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Before you jump to App, you should set SP pointer and PC pointer. If the App start address is 0xb000, the SP pointer initial address is 0xb000 and PC pointer initial address is 0xb004.&lt;/P&gt;
&lt;P&gt;Please refer to below code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;appEntry =(*(unsigned int*)0xb0004);
appStack = (*(unsigned int*)0xb0000);
static void (*farewellBootloader)(void) = 0;
farewellBootloader = (void (*)(void))appEntry ;

// Set the VTOR to the application vector table address.
SCB-&amp;gt;VTOR = 0xb000;

// Set stack pointers to the application stack pointer.
__set_MSP(appStack );
__set_PSP(appStack );

// Jump to the application.
farewellBootloader();
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 03:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257621#M60104</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-04-07T03:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257753#M60108</link>
      <description>&lt;P&gt;Thank you very much for your help.&lt;BR /&gt;MKE06 bootLoader is ready to use.&lt;BR /&gt;Without your help, I don't know how longTime to debug.&lt;BR /&gt;Now,I have a question about setting "MCUXpresso IDE". How to output the.S19 file and how to set the output length of each line of the file?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 07:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1257753#M60108</guid>
      <dc:creator>ahjg_xu</dc:creator>
      <dc:date>2021-04-07T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1258556#M60114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can generate .s19 file in MCUXpresso directly. Right click the .axf file -&amp;gt;Binary Utilities-&amp;gt;Create S-record. But it can't set output length of each line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 05:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1258556#M60114</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-04-08T05:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1258710#M60121</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;But it can't set output length of each line.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Actually this is possible, see &lt;A href="https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/," target="_blank"&gt;https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/,&lt;/A&gt; there is an option page for the command in the workspace settings.&lt;/P&gt;&lt;P&gt;You can simply add --srec-len (see&amp;nbsp; &lt;A href="https://mcuoneclipse.com/2013/10/29/s-record-manipulation-with-gnu-objcopy-and-burner-utility/" target="_blank"&gt;https://mcuoneclipse.com/2013/10/29/s-record-manipulation-with-gnu-objcopy-and-burner-utility/&lt;/A&gt;) to the options.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 08:32:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1258710#M60121</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-04-08T08:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1259455#M60135</link>
      <description>Hello! Your screenshot link should be "CodeWarrior ide", which can change ". 19" file. There is no place to set the length of each line of ". 19" file in "mcuxpress ide"</description>
      <pubDate>Fri, 09 Apr 2021 07:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1259455#M60135</guid>
      <dc:creator>ahjg_xu</dc:creator>
      <dc:date>2021-04-09T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: MKE06 BootLoader  and MKE16F512BootLoader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1259458#M60136</link>
      <description>&lt;P&gt;See&lt;/P&gt;&lt;PRE&gt;--srec-len&lt;/PRE&gt;&lt;P&gt;in the above article&amp;nbsp; &lt;A href="https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/" target="_blank"&gt;https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 07:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE06-BootLoader-and-MKE16F512BootLoader/m-p/1259458#M60136</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-04-09T07:34:45Z</dc:date>
    </item>
  </channel>
</rss>

