<?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>MPC5xxx中的主题 Command line tool for OpenSDA Flashing</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Command-line-tool-for-OpenSDA-Flashing/m-p/711381#M9302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got around to working more on my command line tool to flash the DEVKIT-MPC57xx boards without having to launch Eclipse:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/jed-frey/opensda_flasher/" rel="nofollow noopener noreferrer" title="https://github.com/jed-frey/opensda_flasher/" target="_blank"&gt;GitHub - jed-frey/opensda_flasher&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It uses Python to call GDB and the PE GDB Server. Can be added to Jenkins to flash files after they've been compiled for unit testing. Can load to flash and to RAM (to avoid wear).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Install:&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;pip install git+https://github.com/jed-frey/opensda_flasher.git#egg=opensda_flasher&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;OL style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device flash:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher flash C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="2" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device RAM:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher debug C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug_RAM\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="3" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Create a local init. This can be used to customize the settings. By default this is saved to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf.ini&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher init&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="4" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device flash with local config settings.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;STRONG&gt;osf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;may be used interchangeably with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;STRONG&gt;opensda_flasher&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config osf.ini flash C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="5" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Create a custom local init. The elf files can also be stored in the init.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config=adc.ini init C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;Then use the config to flash the elf.&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config=adc.ini flash&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 18:28:54 GMT</pubDate>
    <dc:creator>jfrey</dc:creator>
    <dc:date>2017-09-22T18:28:54Z</dc:date>
    <item>
      <title>Command line tool for OpenSDA Flashing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Command-line-tool-for-OpenSDA-Flashing/m-p/711381#M9302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got around to working more on my command line tool to flash the DEVKIT-MPC57xx boards without having to launch Eclipse:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/jed-frey/opensda_flasher/" rel="nofollow noopener noreferrer" title="https://github.com/jed-frey/opensda_flasher/" target="_blank"&gt;GitHub - jed-frey/opensda_flasher&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It uses Python to call GDB and the PE GDB Server. Can be added to Jenkins to flash files after they've been compiled for unit testing. Can load to flash and to RAM (to avoid wear).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Install:&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;pip install git+https://github.com/jed-frey/opensda_flasher.git#egg=opensda_flasher&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;OL style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device flash:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher flash C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="2" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device RAM:&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher debug C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug_RAM\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="3" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Create a local init. This can be used to customize the settings. By default this is saved to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf.ini&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;opensda_flasher init&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="4" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Program an elf to the device flash with local config settings.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;STRONG&gt;osf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;may be used interchangeably with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;STRONG&gt;opensda_flasher&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config osf.ini flash C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;OL start="5" style="color: #24292e; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;Create a custom local init. The elf files can also be stored in the init.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config=adc.ini init C:\NXP\workspaceS32DS.Power12\ADC_MPC5744P\Debug\ADC_MPC5744P.elf&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;Then use the config to flash the elf.&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;osf --config=adc.ini flash&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P style="color: #24292e; margin-bottom: 16px;"&gt;&lt;CODE style="background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0px;"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 18:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Command-line-tool-for-OpenSDA-Flashing/m-p/711381#M9302</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-22T18:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Command line tool for OpenSDA Flashing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Command-line-tool-for-OpenSDA-Flashing/m-p/711382#M9303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed issue with&amp;nbsp;&lt;A href="https://github.com/jed-frey/opensda_flasher/issues/1"&gt;DEVKIT-MPC5748G timing out.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added command line option "ports" to show what devices are connected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 04:21:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Command-line-tool-for-OpenSDA-Flashing/m-p/711382#M9303</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-26T04:21:32Z</dc:date>
    </item>
  </channel>
</rss>

