<?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のトピックRe: problem while flashing program to MPC5744</title>
    <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1216935#M17138</link>
    <description>&lt;P&gt;Hi Wayne,&lt;/P&gt;
&lt;P&gt;DEBUG or DEBUG FLASH forces the code to the flash memory, it will run also after disconnection of debugger. DEBUG_RAM forces everything to RAM memory - it's for fast testing and debugging when the project is not too large (less than size of RAM). It does not touch the flash ever, obviously it won't work after reset. There are separate linker files for both modes.&lt;/P&gt;
&lt;P&gt;Not sure what's wrong on your side. Could you make a screenshot of your Debug Configurations window? I would like to see Main and Startup tabs.&lt;/P&gt;
&lt;P&gt;If you can see that old version of your project is running after reset, it really looks like you use DEBUG_RAM target by mistake.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 14:14:18 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2021-01-19T14:14:18Z</dc:date>
    <item>
      <title>problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1212946#M17104</link>
      <description>&lt;P&gt;I met a problem while flashing program to MPC5744.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firstly, when I set [un-check] to "Attatch to Running Target" in Startup page of Flash configuration,&amp;nbsp; i can see my project running with PE debugger. But when I reset the MPC5744, or when I disconnect my PE and use 12V power, an elder version of project runs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondly, when I set [check] of this item, the error show as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "54999" to 7224&lt;BR /&gt;PE-ERROR: Warning. Can't read registers while part is running.&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @4002d44(4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running. @4002d44(4 bytes)&lt;BR /&gt;PE-ERROR: Warning. Can't read memory while part is running.&amp;nbsp; @4002d44(4 bytes)&lt;BR /&gt;Interrupt command received. Halting execution.&lt;BR /&gt;No breakpoints currently set.&lt;BR /&gt;Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "54999" from 7224&lt;BR /&gt;Target Disconnected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In conclusion, I try these method, but neither of them can make me flashing my new project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HELP!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 04:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1212946#M17104</guid>
      <dc:creator>WayneCherish</dc:creator>
      <dc:date>2021-01-18T04:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1213503#M17127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you can see that old version of your project is running after disconnection of PE or after power-on - are you sure that you didn't select RAM target in Debug Configurations by mistake?&lt;/P&gt;
&lt;P&gt;There are two typical use-cases how to configure it:&lt;/P&gt;
&lt;P&gt;1. You want to load new code to flash. In this case, it's necessary to enable "Load executable" and also "Load symbols" to see the source code when debugging. Do not select "Attach to Running Target" here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1610987599078.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135083i61FC6D219A250A27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1610987599078.png" alt="lukaszadrapa_0-1610987599078.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lukaszadrapa_0-1610987599078.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You want to do a "hot attach" only to debug code which is already programmed in flash and which is running (you are not going to program the flash again). In this case, disable "Load executable" and enable "Attach to Running Target":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1610987729053.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135085i42F5386D4C5D8BB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1610987729053.png" alt="lukaszadrapa_1-1610987729053.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lukaszadrapa_1-1610987729053.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can get a message that the debugger can't read some registers or memory because the device is already running (real-time access is not supported by this debugger). Just stop the execution to see all resources.&lt;/P&gt;
&lt;P&gt;Note: Source level debug of a running target is only possible if the sources of the project to be attached exactly match the binary code running on the target.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 16:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1213503#M17127</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-01-18T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1216780#M17134</link>
      <description>&lt;P&gt;Hi, Lukas:&lt;/P&gt;&lt;P&gt;Thank you for your explanation!&lt;/P&gt;&lt;P&gt;I follow your instruction and especially&amp;nbsp;&lt;SPAN&gt;not select "Attach to Running Target"&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Still, new code can run normally in debug mode, but after reset old version runs, it driving me crazy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my concern:&lt;/P&gt;&lt;P&gt;1-I can not set my project to DEBUG_FLASH mode(only DEBUG, DEBUG_RAM available)&amp;nbsp;&lt;/P&gt;&lt;P&gt;2-What is the difference between&amp;nbsp;&lt;STRONG&gt;DEBUG_FLASH mode&lt;/STRONG&gt; and the &lt;STRONG&gt;flash function&lt;/STRONG&gt;(with the "lightning" symbol)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 10:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1216780#M17134</guid>
      <dc:creator>WayneCherish</dc:creator>
      <dc:date>2021-01-19T10:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1216935#M17138</link>
      <description>&lt;P&gt;Hi Wayne,&lt;/P&gt;
&lt;P&gt;DEBUG or DEBUG FLASH forces the code to the flash memory, it will run also after disconnection of debugger. DEBUG_RAM forces everything to RAM memory - it's for fast testing and debugging when the project is not too large (less than size of RAM). It does not touch the flash ever, obviously it won't work after reset. There are separate linker files for both modes.&lt;/P&gt;
&lt;P&gt;Not sure what's wrong on your side. Could you make a screenshot of your Debug Configurations window? I would like to see Main and Startup tabs.&lt;/P&gt;
&lt;P&gt;If you can see that old version of your project is running after reset, it really looks like you use DEBUG_RAM target by mistake.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1216935#M17138</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-01-19T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1217705#M17145</link>
      <description>&lt;P&gt;Hi Lukas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem solved!&lt;/P&gt;&lt;P&gt;It is that I use DEBUG_RAM mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 07:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1217705#M17145</guid>
      <dc:creator>WayneCherish</dc:creator>
      <dc:date>2021-01-20T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem while flashing program to MPC5744</title>
      <link>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1943187#M26605</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TTTTXXXXX_0-1724916339370.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295984i63E9D68F4E5D483C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TTTTXXXXX_0-1724916339370.png" alt="TTTTXXXXX_0-1724916339370.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;TTTTXXXXX_0-1724916339370.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;MPC5744P 检测到设备。&lt;BR /&gt;当前未设置断点。&lt;BR /&gt;通过 127.0.0.1 与 “127.0.0.1” 断开连接。通过端口 “53887” 与 7224&lt;BR /&gt;Target 断开连接。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TTTTXXXXX_1-1724916504874.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295988iA2BA3DA558938EEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TTTTXXXXX_1-1724916504874.png" alt="TTTTXXXXX_1-1724916504874.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;TTTTXXXXX_1-1724916504874.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TTTTXXXXX_2-1724916542673.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295989i66D777C522F6D8AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TTTTXXXXX_2-1724916542673.png" alt="TTTTXXXXX_2-1724916542673.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;TTTTXXXXX_2-1724916542673.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;我在使用 5744P 开发板进行烧录时遇到了上述错误。端口选择是正确的，我尝试了上面提到的方法，但还是出错了。我该如何解决这个问题&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 07:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/problem-while-flashing-program-to-MPC5744/m-p/1943187#M26605</guid>
      <dc:creator>TTTTXXXXX</dc:creator>
      <dc:date>2024-08-29T07:37:55Z</dc:date>
    </item>
  </channel>
</rss>

