<?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>topic Re: Reading code (my own) using the True-Time Simulator in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072210#M7722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;JohnP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, it's correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2020 01:39:55 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2020-04-10T01:39:55Z</dc:date>
    <item>
      <title>Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072205#M7717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I'm using Metrowerks CW v3.1 with v6.1 True-Time Simulator, working with a 9s12c32.&lt;/P&gt;&lt;P&gt;I revived an old project and forget what version of my code I have working on the target pcb.&lt;/P&gt;&lt;P&gt;Is there a way to read the code, so I can compare it to my project files?&lt;/P&gt;&lt;P&gt;I don't know if it makes a difference, but I use assembly.&lt;/P&gt;&lt;P&gt;I connected my PE Multilink USB programmer and powered up the board, then established a connection and clicked F5, and it's running.&lt;/P&gt;&lt;P&gt;The True-Time Simulator is showing the last project in the "Source" window, which is unrelated to the code I want to read from the target.&lt;/P&gt;&lt;P&gt;I don't want to accidentally erase the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JohnP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 02:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072205#M7717</guid>
      <dc:creator>JohnnyP</dc:creator>
      <dc:date>2020-04-08T02:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072206#M7718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="14859" data-username="JohnnyP" href="https://community.nxp.com/people/JohnnyP" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;John Pizzuto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have a given project, you don't know which build of compiler built it.&lt;/P&gt;&lt;P&gt;I suggest you check the map file, normally the compiler information is recorded there.&lt;/P&gt;&lt;P&gt;or you can also use decoder.exe under your CW install to decode its abs file, checking the compiler version.&lt;/P&gt;&lt;P&gt;if you still can't get this information anyway, create a private ticket to nxp support team, sending them your project, they will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 10:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072206#M7718</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-08T10:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072207#M7719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jun:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are talking over my head, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The target is running the code it was programmed with two years ago, but the True-Time Simulator's "Source" window shows the code from a different product that I was working on yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I copy the code from the target back into one of the windows on the Simulator so I can read it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JohnP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 10:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072207#M7719</guid>
      <dc:creator>JohnnyP</dc:creator>
      <dc:date>2020-04-08T10:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072208#M7720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;JohnP,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Your target If you don't have the source project/code, you can't upload source code from the target.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The code that written in chip is an optimized binary code but not your originally written assembly. The chip never records your original assembly code. So it is not possible to get your original assembly or c code from chip.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your can use the SAVE command to save a specified block of memory to a specified file in S-record format. Reload the memory block later using the load S-record (SREC) command.&amp;nbsp; SAVE command is used in debugger command window.&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;in&amp;gt;SAVE 0x1000..0x2000 DUMP.S19 ;A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way can can read binary opcode from flash to s19 file. Appends the memory range 0x1000..0x2000 to the DUMP.S19 file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 02:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072208#M7720</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-09T02:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072209#M7721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jun:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see.&amp;nbsp; Thanks very much for the explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, a pirate can duplicate the s19 record if he finds a product with an unsecured chip, but he won't know how the program works.&amp;nbsp; At least, not right away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JohnP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 17:49:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072209#M7721</guid>
      <dc:creator>JohnnyP</dc:creator>
      <dc:date>2020-04-09T17:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading code (my own) using the True-Time Simulator</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072210#M7722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;JohnP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes, it's correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 01:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Reading-code-my-own-using-the-True-Time-Simulator/m-p/1072210#M7722</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-04-10T01:39:55Z</dc:date>
    </item>
  </channel>
</rss>

