<?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: jump using blhost in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1299780#M45685</link>
    <description>&lt;P&gt;Someone?&lt;/P&gt;&lt;P&gt;Before the "execute" command, I'm running:&lt;/P&gt;&lt;P&gt;./blhost -u 0x1fc9,0x0022 write-memory 0x00000000 file.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 14:29:21 GMT</pubDate>
    <dc:creator>embedded_eng_</dc:creator>
    <dc:date>2021-06-29T14:29:21Z</dc:date>
    <item>
      <title>jump using blhost</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1299013#M45667</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using blhost to jump to my image (execute).&lt;/P&gt;&lt;P&gt;the first 8 bytes of my bin file are:&amp;nbsp;00 00 01 20 71 01 00 00&lt;/P&gt;&lt;P&gt;So my command is:&lt;/P&gt;&lt;P&gt;./blhost -u 0x1fc9,0x0022 execute 0x00000171 0 0x20010000&lt;/P&gt;&lt;P&gt;Now, I've noticed that it will work with every address I pass to the command, for example:&lt;/P&gt;&lt;P&gt;./blhost -u 0x1fc9,0x0022 execute 0xaaaaaaaa 0 0x20010000&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;&lt;P&gt;What is the correct way to do it?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 12:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1299013#M45667</guid>
      <dc:creator>embedded_eng_</dc:creator>
      <dc:date>2021-06-28T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: jump using blhost</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1299780#M45685</link>
      <description>&lt;P&gt;Someone?&lt;/P&gt;&lt;P&gt;Before the "execute" command, I'm running:&lt;/P&gt;&lt;P&gt;./blhost -u 0x1fc9,0x0022 write-memory 0x00000000 file.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 14:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1299780#M45685</guid>
      <dc:creator>embedded_eng_</dc:creator>
      <dc:date>2021-06-29T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: jump using blhost</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1301108#M45707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;First one is correct.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 10:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1301108#M45707</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-01T10:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: jump using blhost</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1302074#M45733</link>
      <description>&lt;P&gt;Hi, Thanks for the response.&lt;/P&gt;&lt;P&gt;Why does the jump command with an invalid address works as well?&lt;/P&gt;&lt;P&gt;Any Address that I've tried worked..&lt;/P&gt;&lt;P&gt;The commands fails only when I try a different stack pointer.&lt;/P&gt;&lt;P&gt;Another question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before the jump I'm writing to address 0x00000000, should I write instead to address&amp;nbsp;&lt;SPAN&gt;0x00000171 (taken from 8 first bytes)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 06:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1302074#M45733</guid>
      <dc:creator>embedded_eng_</dc:creator>
      <dc:date>2021-07-04T06:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: jump using blhost</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1304406#M45794</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm not sure the inside processing of command "execute", I think the reason for "Why does the jump command with an invalid address works as well?" is your image start from 0x00000, so no matter the address is , it always start up from 0x0000, it can work well.&lt;/P&gt;
&lt;P&gt;If image start from other address, for example, in mcu, a secondary bootloader +APP module, APP&lt;/P&gt;
&lt;P&gt;start from 0x1000, then the &amp;lt;address&amp;gt; should the exactly data as User's Guide said.&lt;/P&gt;
&lt;P&gt;Or image is in RAM, also &amp;lt;address&amp;gt; need read from first 8 bytes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 03:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/jump-using-blhost/m-p/1304406#M45794</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-08T03:15:24Z</dc:date>
    </item>
  </channel>
</rss>

