<?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>MQX Software Solutionsのトピックmqx boot</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153433#M569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run a simple test application (twr 60N512) &amp;nbsp;initial with intvect =0x0 , and all was OK , I try to change the Linker parameters Intvect to 0xb800 and also&amp;nbsp;the ROM start to 0xb800,&amp;nbsp;and the application crashes . I work &amp;nbsp;with IAR 6.1 and MQX&amp;nbsp;3.7&amp;nbsp;&amp;nbsp;, in debug mode with Go command the application terminate at address 0xfffffffe in dissasembly window.&amp;nbsp; Can anyone help me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jul 2011 15:42:01 GMT</pubDate>
    <dc:creator>dingo</dc:creator>
    <dc:date>2011-07-23T15:42:01Z</dc:date>
    <item>
      <title>mqx boot</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153433#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run a simple test application (twr 60N512) &amp;nbsp;initial with intvect =0x0 , and all was OK , I try to change the Linker parameters Intvect to 0xb800 and also&amp;nbsp;the ROM start to 0xb800,&amp;nbsp;and the application crashes . I work &amp;nbsp;with IAR 6.1 and MQX&amp;nbsp;3.7&amp;nbsp;&amp;nbsp;, in debug mode with Go command the application terminate at address 0xfffffffe in dissasembly window.&amp;nbsp; Can anyone help me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 15:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153433#M569</guid>
      <dc:creator>dingo</dc:creator>
      <dc:date>2011-07-23T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: mqx boot</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153434#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mean time I read more and I reformulate the question. A simple gpio program on TWR 60N512 and MQX3.7 &amp;nbsp;with intvect at 0xb800 and ROM start at the same address (configured in Linker options) run correct in debug mode (Go command) . If I try to run the program without debuger, &amp;nbsp;the program didn't work, and I think that is normal (after reset the&amp;nbsp;processor run from flash address 0x0000) &amp;nbsp;but my question is : &amp;nbsp;how the debuger can make run this program ? The memory window for addresses 0x0000 to 0xb7FF is blank (0xff in each location) .&lt;/P&gt;&lt;P&gt;It is important to&amp;nbsp;get an answe&amp;nbsp;to these , &amp;nbsp;because the same procedure can be applied in bootloader applications to start the application code that resides at a different address in flash than 0x0000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 01:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153434#M570</guid>
      <dc:creator>dingo</dc:creator>
      <dc:date>2011-07-26T01:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: mqx boot</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153435#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;dingo wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;but my question is : &amp;nbsp;how the debuger can make run this program ? The memory window for addresses 0x0000 to 0xb7FF is blank (0xff in each location) .&lt;/P&gt;&lt;P&gt;It is important to&amp;nbsp;get an answe&amp;nbsp;to these , &amp;nbsp;because the same procedure can be applied in bootloader applications to start the application code that resides at a different address in flash than 0x0000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi, Going through a similar process (in thought anyway)&lt;/P&gt;&lt;P&gt;The debugger (if you are using SWD or JTAG or some emulation), can set the Instruction Pointer and other registers directly.&amp;nbsp; Without a debugger, you can't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A stub application at 0x0000 which sets teh vector table and jumps to your start address would be the basis of a bootloader.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But beware you cannot delete the code you are running from!&amp;nbsp; So if your bootloader does a flash-erase-all, it had better be running from RAM by then, or you have a dead board and will need a debugger to get it alive again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plus, if the power goes out between flaash-erase-all and re-programming the bootloader, you have a dead board anyway.&lt;IMG alt=":robotsad:" class="emoticon emoticon-robotsad" id="robotsad" src="http://freescale.i.lithium.com/i/smilies/16x16_robot-sad.gif" title="Robot Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 19:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153435#M571</guid>
      <dc:creator>OldNick</dc:creator>
      <dc:date>2011-07-26T19:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: mqx boot</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153436#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿OldNick thank you,&amp;nbsp;I don't think that what the debugger can make, &amp;nbsp;the bootloder didn't , so the program counter PC can be loaded in the bootloader with the application start address in this case 0xb800 , I try this (with my experimental bootloder) &amp;nbsp;but didn't work, &amp;nbsp;probable the intvect must be moved also to 0xb800 . I don't know if the intvect can be moved ( from 0x0000 to 0xb800 in internal flash) at run time in bootloader.&amp;nbsp; Also I tried to move the intvect in RAM for an application that previous work OK with intvect at 0x0000, but after I configure ﻿﻿﻿﻿﻿﻿﻿﻿#define MQX_ROM_VECTORS 0,&amp;nbsp; rebuild bsp and make the original project the application didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 22:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/mqx-boot/m-p/153436#M572</guid>
      <dc:creator>dingo</dc:creator>
      <dc:date>2011-07-26T22:25:07Z</dc:date>
    </item>
  </channel>
</rss>

