<?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>S32 Design StudioのトピックHow to read the address between bootloader and APP</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-read-the-address-between-bootloader-and-APP/m-p/1417052#M8224</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;In my program, the Bootloader program starts at address 0 and then jump to app starts at address 0x6040.&lt;/SPAN&gt;&lt;SPAN class=""&gt; I need to read 4 bytes of address 0x6000 in the app routine.&lt;/SPAN&gt;&lt;SPAN class=""&gt; I used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;vl32 = *((*uint32_t)0x6000);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;vl8 [i] = * ((* uint8_t) (0 x6000 + i));&lt;/SPAN&gt;&lt;SPAN class=""&gt; (i = 0...&lt;/SPAN&gt;&lt;SPAN class=""&gt; 3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;two way to read.&lt;/SPAN&gt;&lt;SPAN class=""&gt; The result is a reset of the MCU.&lt;/SPAN&gt;&lt;SPAN class=""&gt; How can I read the data of this address&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 01:32:59 GMT</pubDate>
    <dc:creator>chcd007</dc:creator>
    <dc:date>2022-02-22T01:32:59Z</dc:date>
    <item>
      <title>How to read the address between bootloader and APP</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-read-the-address-between-bootloader-and-APP/m-p/1417052#M8224</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;In my program, the Bootloader program starts at address 0 and then jump to app starts at address 0x6040.&lt;/SPAN&gt;&lt;SPAN class=""&gt; I need to read 4 bytes of address 0x6000 in the app routine.&lt;/SPAN&gt;&lt;SPAN class=""&gt; I used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;vl32 = *((*uint32_t)0x6000);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;vl8 [i] = * ((* uint8_t) (0 x6000 + i));&lt;/SPAN&gt;&lt;SPAN class=""&gt; (i = 0...&lt;/SPAN&gt;&lt;SPAN class=""&gt; 3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;two way to read.&lt;/SPAN&gt;&lt;SPAN class=""&gt; The result is a reset of the MCU.&lt;/SPAN&gt;&lt;SPAN class=""&gt; How can I read the data of this address&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 01:32:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-read-the-address-between-bootloader-and-APP/m-p/1417052#M8224</guid>
      <dc:creator>chcd007</dc:creator>
      <dc:date>2022-02-22T01:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the address between bootloader and APP</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-read-the-address-between-bootloader-and-APP/m-p/1417317#M8226</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the first expression can't be compiled - there must be some error message in build console (if it is copy/pasted code snippet).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can use for example:&lt;BR /&gt;data=*(uint32_t*)0x6000;&lt;/P&gt;
&lt;P&gt;where data is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;uint32_t data;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or you can use memcpy function:&lt;BR /&gt;memcpy(target,(uint8_t*)0x6000,4);&lt;/P&gt;
&lt;P&gt;where target is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;uint8_t target[4];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 08:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-read-the-address-between-bootloader-and-APP/m-p/1417317#M8226</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2022-02-22T08:27:21Z</dc:date>
    </item>
  </channel>
</rss>

