<?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中的主题 Exporting Array/Memory data from S32DS to Host system ?</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Exporting-Array-Memory-data-from-S32DS-to-Host-system/m-p/672600#M1360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I need want to export the contents of an array to so I can plot it.&lt;/P&gt;&lt;P&gt;How do I export/copy/paste data from the debugger (S32DS) to my host system ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 16:44:10 GMT</pubDate>
    <dc:creator>markthompson170</dc:creator>
    <dc:date>2017-06-01T16:44:10Z</dc:date>
    <item>
      <title>Exporting Array/Memory data from S32DS to Host system ?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Exporting-Array-Memory-data-from-S32DS-to-Host-system/m-p/672600#M1360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I need want to export the contents of an array to so I can plot it.&lt;/P&gt;&lt;P&gt;How do I export/copy/paste data from the debugger (S32DS) to my host system ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 16:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Exporting-Array-Memory-data-from-S32DS-to-Host-system/m-p/672600#M1360</guid>
      <dc:creator>markthompson170</dc:creator>
      <dc:date>2017-06-01T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Array/Memory data from S32DS to Host system ?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Exporting-Array-Memory-data-from-S32DS-to-Host-system/m-p/672601#M1361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are several options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You can either printf() it using semihosting console (currently supported by S32DS for ARM).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/19927iD1EA7DB4450D1455/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/19964iA7A9E769CEE47E6E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can copy&amp;amp;paste array directly in the Expression View:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;IMG alt="pastedImage_4.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20166i0C1D2506DC58E119/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Pasted array:&lt;/P&gt;&lt;PRE&gt;array[0] float 1 
array[1] float 2 
array[2] float 3 
array[3] float 4.5 &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can perform memory dump of your "array" object:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;IMG alt="pastedImage_7.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20304i7300983B05F36D9C/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_7.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;IMG alt="pastedImage_8.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20346i6D827A4C7BBF0E6A/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_8.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several settings to customize the view (e.g. number of columns, precision...):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;IMG alt="pastedImage_10.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20415iAEBE6810CA94EBFC/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_10.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also copy&amp;amp;paste the content directly from view or export the dump as a binary/srec file (raw data):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;IMG alt="pastedImage_13.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20576i159EB0E616CC918E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_13.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pasted array:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;0x1FFFF000 1.000000E0 
0x1FFFF004 2.000000E0 
0x1FFFF008 3.000000E0 
0x1FFFF00C 4.500000E0 

&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_17.png"&gt;&lt;IMG alt="pastedImage_17.png" src="https://community.nxp.com/t5/image/serverpage/image-id/20488iBF015511E50C4F86/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_17.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exported raw binary file "array.txt":&lt;/P&gt;&lt;PRE&gt;0000803F 00000040 00004040 00009040&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Exporting-Array-Memory-data-from-S32DS-to-Host-system/m-p/672601#M1361</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-11-02T13:57:39Z</dc:date>
    </item>
  </channel>
</rss>

