<?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のトピックs32k144 command line flash</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805235#M3469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently using the S32 Design Studio to flash the S32K144 evaluation board, but for our automated build and testing framework I need a means of flashing the board through command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured&amp;nbsp;I could do this simply by copying our generated .elf file to the USB device, since the board supports OpenSDA, but I haven't been able to get feature of OpenSDA to work (I have tried on both Mac and Linux).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are my options for command line flashing of the board?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 17:46:16 GMT</pubDate>
    <dc:creator>ainwood</dc:creator>
    <dc:date>2018-08-20T17:46:16Z</dc:date>
    <item>
      <title>s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805235#M3469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently using the S32 Design Studio to flash the S32K144 evaluation board, but for our automated build and testing framework I need a means of flashing the board through command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured&amp;nbsp;I could do this simply by copying our generated .elf file to the USB device, since the board supports OpenSDA, but I haven't been able to get feature of OpenSDA to work (I have tried on both Mac and Linux).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are my options for command line flashing of the board?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 17:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805235#M3469</guid>
      <dc:creator>ainwood</dc:creator>
      <dc:date>2018-08-20T17:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805236#M3470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ainwood"&gt;ainwood&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OpenSDA works with s-record files only, it will not work with ELF. Check out this guide&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-340965"&gt;https://community.nxp.com/docs/DOC-340965&lt;/A&gt;&amp;nbsp;to see how to generate an s-record file from your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 20:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805236#M3470</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-08-20T20:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805237#M3471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I have tried s-records without success already. My method is to use objcopy directly to generate the srec from elf (I need command line build/deploy), start the board in BOOTLOADER mode, copy the file over, and then restart the board. I always find that the new code doesn't "stick", and when I reboot I'm left with the previous code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there steps I'm missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 11:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805237#M3471</guid>
      <dc:creator>ainwood</dc:creator>
      <dc:date>2018-08-21T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805238#M3472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use PE micro debug server and client directly. &lt;STRONG&gt;pegdbserver_console.exe&lt;/STRONG&gt; is located in&amp;nbsp;&lt;/P&gt;&lt;P&gt;[YOUR_S32DS_INSTALL_PATH]\S32DS_ARM_v2018.R1/eclipse/plugins/com.pemicro.debug.gdbjtag.pne_3.6.5.201808141630/win32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67136i8BE688BA70C3C846/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use gdb client &lt;STRONG&gt;arm-none-eabi-gdb.exe&lt;/STRONG&gt; located in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[YOUR_S32DS_INSTALL_PATH]\&lt;/SPAN&gt;S32DS_ARM_v2018.R1\Cross_Tools\gcc-arm-none-eabi-4_9\bin\&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67137iB65D78726F47748B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add your commands into file - in my case my_commands.txt which contains (attached for reference):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;target remote localhost:7224&lt;BR /&gt;load c:/nxp/hello_world_s32k144.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This flashes&amp;nbsp;&lt;SPAN&gt;hello_world_s32k144.elf into board. You can find more gdb client commands with help command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67192iC69D2D5930BB4055/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 12:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805238#M3472</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-08-21T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805239#M3473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to that, there is an article on that subject available here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/" title="https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/"&gt;Command Line Programming and Debugging with GDB | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 12:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805239#M3473</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-08-21T12:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 command line flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805240#M3474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i select the option "preserve partitioning of the device" ,&amp;nbsp;i am trying to flash s32k144 board using command line.&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64213iFA5FF754EE0F2622/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt; if&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 06:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/s32k144-command-line-flash/m-p/805240#M3474</guid>
      <dc:creator>raghavendra_sai</dc:creator>
      <dc:date>2019-02-04T06:25:58Z</dc:date>
    </item>
  </channel>
</rss>

