<?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>S32KのトピックRe: S32K144 cann't download program</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873085#M3916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is something wrong because last programing process aborted unexpected, then&amp;nbsp;the program&amp;nbsp;doesn't run normally after restart. But I am sure the application program is normal if download successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how to recover the board? event&amp;nbsp;if&amp;nbsp;the download&amp;nbsp;program is not OK and the reset event exists.&lt;/P&gt;&lt;P&gt;In addition, I see the PC pointe to 0xFFFF FFFE readed by debugger&amp;nbsp;as following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="122.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63954iA18C1574C3B396CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="122.png" alt="122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jan 2019 01:19:34 GMT</pubDate>
    <dc:creator>yiting_zhang</dc:creator>
    <dc:date>2019-01-19T01:19:34Z</dc:date>
    <item>
      <title>S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873081#M3912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'am working on S32K144(100*PIN), now I can't reprogram the flash while I can do it successfully earlier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I see it's always staying &lt;STRONG&gt;#cyclic reset&lt;/STRONG&gt; that is indicated by TRACE32, after the board is powered on. And then when I run TRACE32script to download program, it will run to stay &lt;STRONG&gt;#erasing flash and never exit&lt;/STRONG&gt; then. During this progress, I use flash.UNSECUREerase command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How should I do to download a program in this condition? Hopefully you will give me some instruction. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEV environment: Eclipse+IAR, TRACE32, Lauterbach debugger, S32K144&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 06:25:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873081#M3912</guid>
      <dc:creator>yiting_zhang</dc:creator>
      <dc:date>2019-01-14T06:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873082#M3913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What did you load to the MCU the last time?&lt;/P&gt;&lt;P&gt;Have you tried to halt the MCU and reprogram it right after POR?&lt;/P&gt;&lt;P&gt;I mean, disconnect the power supply, run the below script, connect the power supply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sys.CPU S32K144&lt;BR /&gt;wait state.power()&lt;BR /&gt;system.up&lt;/P&gt;&lt;P&gt;DO c:/t32/demo/arm/flash/s32k CPU=S32K144 PREPAREONLY&lt;/P&gt;&lt;P&gt;FLASH.ReProgram ALL /Erase&lt;BR /&gt;DATA.LOAD.ELF "project.elf"&lt;BR /&gt;FLASH.ReProgram off&lt;/P&gt;&lt;P&gt;data.list&lt;BR /&gt;GO main&lt;BR /&gt;WAIT !RUN()&lt;/P&gt;&lt;P&gt;ENDDO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873082#M3913</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-01-14T14:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873083#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Your solution is effective, and I recover my board successfully. But unfortunately when I&amp;nbsp;reproduce my problem above&amp;nbsp;again, I&amp;nbsp;try&amp;nbsp;the script but not affect any more this time, and it shows "target reset detected" that I think it may be&amp;nbsp;interrupted by "reset event". How should I do for this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76884i5FDF37AE7A27FF51/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;sys.CPU S32K144&lt;BR /&gt;wait state.power()&lt;BR /&gt;system.up&lt;BR /&gt;DO C:\DevApp\T32\demo\arm\flash\s32k CPU=S32K144 PREPAREONLY&lt;BR /&gt;FLASH.ReProgram ALL /Erase&lt;BR /&gt;DATA.LOAD.ELF "Application.elf"&lt;BR /&gt;FLASH.ReProgram off&lt;BR /&gt;data.list&lt;BR /&gt;GO main&lt;BR /&gt;WAIT !RUN()&lt;BR /&gt;ENDDO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 03:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873083#M3914</guid>
      <dc:creator>yiting_zhang</dc:creator>
      <dc:date>2019-01-15T03:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873084#M3915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tony,&lt;/P&gt;&lt;P&gt;It is hard to say.&amp;nbsp;What is the application?&lt;/P&gt;&lt;P&gt;There must be something in the application that resets the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 09:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873084#M3915</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-01-16T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873085#M3916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is something wrong because last programing process aborted unexpected, then&amp;nbsp;the program&amp;nbsp;doesn't run normally after restart. But I am sure the application program is normal if download successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how to recover the board? event&amp;nbsp;if&amp;nbsp;the download&amp;nbsp;program is not OK and the reset event exists.&lt;/P&gt;&lt;P&gt;In addition, I see the PC pointe to 0xFFFF FFFE readed by debugger&amp;nbsp;as following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="122.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63954iA18C1574C3B396CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="122.png" alt="122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2019 01:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873085#M3916</guid>
      <dc:creator>yiting_zhang</dc:creator>
      <dc:date>2019-01-19T01:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 cann't download program</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873086#M3917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The root cause of all the problem faced above is that,&amp;nbsp;the connection between debugger and board is not stable. Just one of the wires is broken, and that is not easy to be found by visual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 02:07:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-cann-t-download-program/m-p/873086#M3917</guid>
      <dc:creator>yiting_zhang</dc:creator>
      <dc:date>2019-01-23T02:07:55Z</dc:date>
    </item>
  </channel>
</rss>

