<?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>MCUXpresso General中的主题 Re: How to start firmware application using LinkServer command line</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1731104#M5117</link>
    <description>&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;From the log i noticed that, at the end of the procedure, the RT1160_reset.scp script is called&lt;/P&gt;&lt;P&gt;I changed the device in MIMXRT1166xxxxx:MIMXRT1160-EVK-CM7-ONLY to solve the problem:&lt;/P&gt;&lt;P&gt;Nt: Reset target (system)&lt;BR /&gt;Wc: ============= SCRIPT: RT1160_reset_M7.scp =============&lt;BR /&gt;Wc: SYSTEM Reset&lt;BR /&gt;Wc: DpID = 6BA02477&lt;BR /&gt;Wc: TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: 01000001*&lt;BR /&gt;Wc: TAP 0: 6BA02477 AP 1: APID: 24770011 ROM Table: E00FF003&lt;BR /&gt;Wc: TAP 0: 6BA02477 AP 2: APID: 54770002 ROM Table: 00000002&lt;BR /&gt;Wc: APID = 0x84770001&lt;BR /&gt;Wc: View cores on the DAP AP&lt;BR /&gt;Wc: TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: 01000001*&lt;BR /&gt;Wc: R15 = 0x00223104&lt;BR /&gt;Wc: Vector table SP/PC is the reset context.&lt;BR /&gt;Wc: PC = 0x2000246D&lt;BR /&gt;Wc: SP = 0x20040000&lt;BR /&gt;Wc: XPSR = 0x01000000&lt;BR /&gt;Wc: VTOR = 0x30002000&lt;BR /&gt;Wc: Set DEMCR = 0x010007F1&lt;BR /&gt;Wc: ============= END SCRIPT ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this, i come back in the same error if i do the verify command. I saw that in this case the reset is not automatically issued. Is there a way to execute the reset script aoutside the LinkServer verify command?&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 07:42:30 GMT</pubDate>
    <dc:creator>mm0505</dc:creator>
    <dc:date>2023-09-28T07:42:30Z</dc:date>
    <item>
      <title>How to start firmware application using LinkServer command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1725998#M5108</link>
      <description>&lt;P&gt;I'd like to know if there's a way to start the firmware application at the end of the flash command.&lt;/P&gt;&lt;P&gt;I'm running the following command in a script:&lt;/P&gt;&lt;P&gt;./LinkServer flash MIMXRT1166xxxxx:MIMXRT1160-EVK load /path/to/firmware.bin -a 0x30000000 -e&lt;/P&gt;&lt;P&gt;At the end of this command i need to start the firmware. Is there something like the "g" command in JLink?&lt;/P&gt;&lt;P&gt;I'm using LinkServer 1.2.45 command line tool (Ubuntu 20.04).&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 07:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1725998#M5108</guid>
      <dc:creator>mm0505</dc:creator>
      <dc:date>2023-09-20T07:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to start firmware application using LinkServer command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1726351#M5109</link>
      <description>&lt;P&gt;A reset is automatically issued at the end of flash programming sequence, so your app should be executed afterwards. You can inspect the LinkServer logs and look for something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Nt: Reset target (system)
Nc: Starting execution using system reset with a stall address&lt;/LI-CODE&gt;
&lt;P&gt;Maybe your app is not loaded by the bootrom or ends in some exception handler?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 13:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1726351#M5109</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2023-09-20T13:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to start firmware application using LinkServer command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1731104#M5117</link>
      <description>&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;From the log i noticed that, at the end of the procedure, the RT1160_reset.scp script is called&lt;/P&gt;&lt;P&gt;I changed the device in MIMXRT1166xxxxx:MIMXRT1160-EVK-CM7-ONLY to solve the problem:&lt;/P&gt;&lt;P&gt;Nt: Reset target (system)&lt;BR /&gt;Wc: ============= SCRIPT: RT1160_reset_M7.scp =============&lt;BR /&gt;Wc: SYSTEM Reset&lt;BR /&gt;Wc: DpID = 6BA02477&lt;BR /&gt;Wc: TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: 01000001*&lt;BR /&gt;Wc: TAP 0: 6BA02477 AP 1: APID: 24770011 ROM Table: E00FF003&lt;BR /&gt;Wc: TAP 0: 6BA02477 AP 2: APID: 54770002 ROM Table: 00000002&lt;BR /&gt;Wc: APID = 0x84770001&lt;BR /&gt;Wc: View cores on the DAP AP&lt;BR /&gt;Wc: TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: 01000001*&lt;BR /&gt;Wc: R15 = 0x00223104&lt;BR /&gt;Wc: Vector table SP/PC is the reset context.&lt;BR /&gt;Wc: PC = 0x2000246D&lt;BR /&gt;Wc: SP = 0x20040000&lt;BR /&gt;Wc: XPSR = 0x01000000&lt;BR /&gt;Wc: VTOR = 0x30002000&lt;BR /&gt;Wc: Set DEMCR = 0x010007F1&lt;BR /&gt;Wc: ============= END SCRIPT ==============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this, i come back in the same error if i do the verify command. I saw that in this case the reset is not automatically issued. Is there a way to execute the reset script aoutside the LinkServer verify command?&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 07:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1731104#M5117</guid>
      <dc:creator>mm0505</dc:creator>
      <dc:date>2023-09-28T07:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to start firmware application using LinkServer command line</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1734814#M5125</link>
      <description>&lt;P&gt;The execution of "verify" command does not end with a reset. You can inspect the help page for each of the commands (i.e. "LinkServer help flash &amp;lt;operation&amp;gt;") for some details.&lt;/P&gt;
&lt;P&gt;The only way to reset the target once you execute the "verify", would to execute an independent script through "redlinkserv" (see "--script" parameter). However, you'll have to wait till the end of October to have a new LinkServer released because there's an issue with this particular functionality. I suggest you take a look at the available commands supported by "redlinkserv". Your script should be a sequence of: list probes, open desired probe, execute system reset, close probe.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 11:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-to-start-firmware-application-using-LinkServer-command-line/m-p/1734814#M5125</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2023-10-06T11:31:47Z</dc:date>
    </item>
  </channel>
</rss>

