<?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>MCX MicrocontrollersのトピックRe: N947 Dual Boot - knowing which image was booted</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835686#M171</link>
    <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;it should be possible to read image version stored in the image.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 19:32:15 GMT</pubDate>
    <dc:creator>marek-trmac</dc:creator>
    <dc:date>2024-03-26T19:32:15Z</dc:date>
    <item>
      <title>N947 Dual Boot - knowing which image was booted</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835638#M170</link>
      <description>&lt;P&gt;Once I boot from Image 1, is there an attribute that I can programmatically check to indicate that I booted from Image 1 and an update image should be written to Image 0?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dual Boot and the Secure Provisioning Tool both work great!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:56:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835638#M170</guid>
      <dc:creator>JohnKay</dc:creator>
      <dc:date>2024-03-26T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: N947 Dual Boot - knowing which image was booted</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835686#M171</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;it should be possible to read image version stored in the image.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 19:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835686#M171</guid>
      <dc:creator>marek-trmac</dc:creator>
      <dc:date>2024-03-26T19:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: N947 Dual Boot - knowing which image was booted</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835722#M172</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The question is, in a dual boot configuration, how can i determine which image i booted from, 0 or 1.&lt;/P&gt;&lt;P&gt;If I booted from Image 0, then I know that I should load the new firmware into Image 1, or vise versa.&lt;/P&gt;&lt;P&gt;I could read and compare the versions in both Images, but if the validation failed on the new Image 0, then I would fallback to Image 1, but comparing the header data, I would think I booted from Image 0.&lt;/P&gt;&lt;P&gt;Not a show stopper, I'll find a workaround.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 21:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835722#M172</guid>
      <dc:creator>JohnKay</dc:creator>
      <dc:date>2024-03-26T21:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: N947 Dual Boot - knowing which image was booted</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835779#M173</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Got it. All I have to do is check the PC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;__inline__&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN&gt;get_pc&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt; *pc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;asm&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;mov&lt;/SPAN&gt;&lt;SPAN&gt; %0, &lt;/SPAN&gt;&lt;SPAN&gt;pc&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"=r"&lt;/SPAN&gt;&lt;SPAN&gt;(pc));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; pc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Mar 2024 00:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/N947-Dual-Boot-knowing-which-image-was-booted/m-p/1835779#M173</guid>
      <dc:creator>JohnKay</dc:creator>
      <dc:date>2024-03-27T00:07:31Z</dc:date>
    </item>
  </channel>
</rss>

