<?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: Re: K60 Bootloader AN4368 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322280#M14554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe your problems?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 14:58:52 GMT</pubDate>
    <dc:creator>mruetti</dc:creator>
    <dc:date>2014-09-16T14:58:52Z</dc:date>
    <item>
      <title>K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322276#M14550</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;I would like to test the USB bootloader on my TWR-K60D100M+TWR-SER. I'm using CW 10.2 and MQX 3.8.&lt;/P&gt;&lt;P&gt;I have the AN 4368 and the associated example projects (&lt;SPAN style="font-family: courier new,courier;"&gt;kinetis_k60&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;mfs_usb_twrk60n512&lt;/SPAN&gt;). The good think is that I can compile both examples w/o errors. The bootloader itself is running too and it is possible to insert an USB stick and to get an image copied (&lt;SPAN style="font-family: courier new,courier;"&gt;mfs_usb_twrk60n512&lt;/SPAN&gt;). But the copied image doesn't work. I only get the message "&lt;SPAN style="font-family: courier new,courier;"&gt;User application is running...&lt;/SPAN&gt;" but nothing happens.&lt;/P&gt;&lt;P&gt;The strange thing is that if I'm using the pre-compiled example (&lt;SPAN style="font-family: courier new,courier;"&gt;mfs_usb_twrk60n512&lt;/SPAN&gt;) everything is working well. This leads me to the conclusion that the bootloader itself is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the applications &lt;SPAN style="font-family: courier new,courier;"&gt;intflash.lcf&lt;/SPAN&gt; file to&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MEMORY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00010000, LENGTH = 0x00000400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;#&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (R): ORIGIN = 0x00010400, LENGTH = 0x00000020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; rom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00010420, LENGTH = 0x0006FBE0&amp;nbsp; # Code + Const data&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; ram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00020000&amp;nbsp; # SRAM - RW data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I miss???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322276#M14550</guid>
      <dc:creator>mruetti</dc:creator>
      <dc:date>2014-06-20T13:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322277#M14551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is also necessary to set #define MQX_ROM_VECTORS 0 in user_config.h and recompile MQX libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 01:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322277#M14551</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2014-06-25T01:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322278#M14552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the &lt;SPAN style="font-family: courier new,courier;"&gt;#define MQX_ROM_VECTORS 0&lt;/SPAN&gt; in &lt;SPAN style="font-family: courier new,courier;"&gt;user_config.h&lt;/SPAN&gt; and I recompiled my libs (bsp, psp, shell and example). It doesn't work.&lt;/P&gt;&lt;P&gt;I had a look into the S19 file and I think this looks good - at least it starts at address 0x10000:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;S0 030000FC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;S3 51 00010000 FFFB 0020 9183 0100 FD730100FD730100FD730100FD730100FD73010000000000000000000000 .... 30100FD7301009D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging the bootloader I can see the addresses from above again:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;New_sp&amp;nbsp; = IMAGE_ADDR[0]; --&amp;gt; 0x2000FBFF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;New_pc&amp;nbsp; = IMAGE_ADDR[1]; --&amp;gt; 0x00018391&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assembler code uses this addresses and jumps to the given memory location where some code is executed. But not mine which should show some printf's...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt; Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:22:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322278#M14552</guid>
      <dc:creator>mruetti</dc:creator>
      <dc:date>2014-07-15T14:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322279#M14553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario, I'm having the same problem as you.&amp;nbsp; Did you figure out the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 17:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322279#M14553</guid>
      <dc:creator>ARQuattr</dc:creator>
      <dc:date>2014-09-07T17:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322280#M14554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe your problems?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 14:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322280#M14554</guid>
      <dc:creator>mruetti</dc:creator>
      <dc:date>2014-09-16T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322281#M14555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;Hi: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;I have developed a BootLoader based on Application Note AN-4368. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The BootLoader works: I can load a simple application with interrupts and vectors in Flash. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The problem arises when I try to load a Bootable MQX-based program: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;I modified the Linker Command File…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;(${MQX_ROOT_DIR}\lib\DLG_V2.cw10gcc\debug\bsp\BootIntFlash.ld)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #0099ff;"&gt;MEMORY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vectorrom (RX): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x0000C000, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x00000410&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* cfmprotrom (R): ORIGIN = 0x00000400, LENGTH = 0x00000020 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rom (RX): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x0000C420, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = (0x0007FFFF-0xC420)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Code + Const data */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ram (RW): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x1FFF0000, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x00020000&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* SRAM - RW data */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* kernel space starts after RAM variables (Location of MQX Kernel data + MQX heap) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end_of_kd (RW): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x2000FFF0, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x00000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Boot stack reused by MQX Kernel data */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bstack (RW): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x2000FA00, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x00000200&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Boot stack */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end_bstack (RW): &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;ORIGIN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x2000FC00, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #006699;"&gt;LENGTH&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; = 0x00000000&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Boot stack end address requires 4B alignment */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #0099ff;"&gt;SECTIONS&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_BASE&amp;nbsp; = 0x1FFF0000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_SIZE&amp;nbsp; = 0x00020000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_FLASH_BASE = 0x00000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_FLASH_SIZE = 0x00080000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_FLEXNVM_BASE = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;__INTERNAL_FLEXNVM_SIZE = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_BASE&amp;nbsp; = 0x70000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_SIZE&amp;nbsp; = 0x00080000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_ROM_BASE = 0x70000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_ROM_SIZE = 0x00000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_RAM_BASE = 0x70000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_MRAM_RAM_SIZE = 0x00080000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_LCD_BASE = 0x60000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_LCD_SIZE = 0x1FFFF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __EXTERNAL_LCD_DC_BASE = 0x60010000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* MQX link time configurations */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __DEFAULT_PROCESSOR_NUMBER = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __DEFAULT_INTERRUPT_STACK_SIZE = 1024;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __KERNEL_DATA_VERIFY_ENABLE = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Test SDRAM read/write */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/* Flashx configurations */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __FLASHX_SECT_SIZE = 0x800;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .vectors :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __vector_table = .;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __VECTOR_TABLE_ROM_START = __vector_table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #0099ff;"&gt;KEEP&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;(*(.vectors_rom))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #0099ff;"&gt;ALIGN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt; (0x4); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; vectorrom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;/*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .cfmprotect :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP(*(.cfmconfig))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN (0x4);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; cfmprotrom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 5.0pt; font-family: Consolas; color: #cc0000;"&gt;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;I modified the user_config.h (MQX_ROM_VECTOR false). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;After problems with the WatchDog and other components in PE… &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;Finally The BootLoader Starts, check the existence off user App, Read The initial Stack and Program Counter and Jumps to execute de user App.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The Call Stack is this (user App Code):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;PRB_MQX41 ATTACH [CodeWarrior] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM Processors, PRB_MQX41.elf (Suspended) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thread [ID: 0x0] (Suspended)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 (AsmSection)() dispatch.S:95 0x0000c420 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 _mqx() mqx.c:342 0x0001089e&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 main() mqx_main.c:67 0x00014494&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 __thumb_startup() __arm_start.c:279 0x00020eec&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\DLG_V54\PRB_MQX41\DLG_V2_Boot\PRB_MQX41.elf (10/6/14 5:39 PM)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The user App completes all the steps in the function _mqx (), the last call in this function is&amp;nbsp; “_sched_start_internal ()”;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The first instruction in&amp;nbsp; “_sched_start_internal () is,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: Consolas; color: black; background: silver;"&gt;&amp;nbsp; svc SVC_RUN_SCHED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;(formerly SWI) is “Supervisor Call”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;The SVC vector (11) is at Offset 2c. In the ram_vector the vector points to 0xc455 (_svc_handler) &lt;STRONG&gt;but the processor Reset in this instruction…&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;… This is my ram_vector&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;ram_vector 0x1fff0000 0x1fff0000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[0 ... 99] 0x1fff0000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[0] 0x2000fc00 0x1fff0000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[1] 0x0000d6fd 0x1fff0004 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[2] 0x0001438d 0x1fff0008 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[3] 0x0001438d 0x1fff000c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[4] 0x0001438d 0x1fff0010 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[5] 0x0001438d 0x1fff0014 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[6] 0x0001438d 0x1fff0018 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[7] 0x00000000 0x1fff001c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[8] 0x00000000 0x1fff0020 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[9] 0x00000000 0x1fff0024 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[10] 0x00000000 0x1fff0028 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[11] 0x0000c455 0x1fff002c &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[12] 0x0001438d 0x1fff0030 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;[13] 0x00000000 0x1fff0034 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;… this is the listing..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;0000c454 &amp;lt;_svc_handler&amp;gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;END * ------------------------------------------------ ------------------------- * / &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp; ASM_PUBLIC_BEGIN (_svc_handler) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp; ASM_PUBLIC_FUNC (_svc_handler) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;ASM_LABEL (_svc_handler) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt; i cpsid.n &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C454: i cpsid B672 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt; tst lr, # 0x4 / * test EXC_RETURN number in LR bit 2 * / &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New';"&gt;C456: 0f04 f01e tst.w lr, # 4 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;ite eq / * if zero (equal) then * / &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c45a: ite bf0c eq &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt; mrseq r1, MSP / * Main Stack was used, put MSP in R1 * / &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c45c: f3ef mrseq 8108 r1, MSP &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt; mrsne r1, PSP / * else, Process Stack was used, put PSP in R1 * / &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New';"&gt;C460: 8109 f3ef mrsne r1, PSP &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;…and the VTOR register is&amp;nbsp; 0x1ffff0000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;In the bit Fields presentation 0x3ffe00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Courier New';"&gt;¿Any Idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 15:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322281#M14555</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2014-10-06T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: K60 Bootloader AN4368</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322282#M14556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benitoar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late answer. I had a similar problem but I couldnt remember the solution. Have a look at this thread: &lt;A href="https://community.nxp.com/thread/330758"&gt;_sched_start_internal crash (svc)&lt;/A&gt;. I installed the new interrupt handler that is described here: &lt;A href="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/" title="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/"&gt;A Processor Expert Component to Help with Hard Faults | MCU on Eclipse&lt;/A&gt;. (I only used the interrupt handler). After trapping into the interrupt this handler shows&amp;nbsp; the pc of the problematic code in register r1, Using the disassembly view of the debugger you can find the source line.&lt;/P&gt;&lt;P&gt;If I remember right in my case the initialization of dma failed somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps&lt;/P&gt;&lt;P&gt; Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Oct 2014 17:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-Bootloader-AN4368/m-p/322282#M14556</guid>
      <dc:creator>mruetti</dc:creator>
      <dc:date>2014-10-11T17:24:31Z</dc:date>
    </item>
  </channel>
</rss>

