<?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: PT2000 trace module error in Powertrain and Electrification Analog Drivers</title>
    <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326280#M21</link>
    <description>&lt;P&gt;I noticed that in the previous post that tracing was set up for microcore 1.&amp;nbsp; Microcore 0 is the core which runs this code.&amp;nbsp; I reset the trace_config register for microcore 0 and reran the trace, but it seems nothing has changed (new trace results attached).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_0-1629377473160.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153477i21BB0F27BE035434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="glenndoiron_0-1629377473160.png" alt="glenndoiron_0-1629377473160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 12:52:33 GMT</pubDate>
    <dc:creator>glenndoiron</dc:creator>
    <dc:date>2021-08-19T12:52:33Z</dc:date>
    <item>
      <title>PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1320429#M18</link>
      <description>&lt;P&gt;I am attempting to debug some PT2000 firmware that I wrote.&amp;nbsp; This is a prototype board using a PT2000 to drive some H-bridges.&lt;/P&gt;&lt;P&gt;When I attempt to capture a trace, the console that pops up shows the following messages.&lt;/P&gt;&lt;P&gt;***** begin console message&lt;/P&gt;&lt;P&gt;Asic Tracer 2.0.0.0&lt;BR /&gt;8/9/2021 10:49:21 AM&lt;/P&gt;&lt;P&gt;Asic Compiler 3.3.0.0&lt;BR /&gt;Compiling code from file c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.psc&lt;BR /&gt;Asic instruction set from file C:\Program Files (x86)\NXP\PT2000DevStudio\syntax_pt2000.xml&lt;BR /&gt;Syntax file version 1.9.2 of 23 Jun 2015&lt;BR /&gt;Writing report file:&lt;BR /&gt;c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.rep&lt;BR /&gt;Writing binary file:&lt;BR /&gt;c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.bin&lt;BR /&gt;Writing hexadecimal file:&lt;BR /&gt;c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.hex&lt;BR /&gt;Writing Trace 32 file:&lt;BR /&gt;c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.t32&lt;BR /&gt;Writing Trace metadata:&lt;BR /&gt;c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.trace.dat&lt;BR /&gt;Microcode metadata read from c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\microcodech3\ch3.trace.dat&lt;BR /&gt;Device under test is pt2000&lt;BR /&gt;Saturn tracer board detected&lt;BR /&gt;HW version 1.0&lt;BR /&gt;Reading data from port&lt;BR /&gt;Press 'q' to abort operation at any time&lt;BR /&gt;Trace Start&lt;BR /&gt;Fw version 2.1&lt;BR /&gt;First Data received&lt;BR /&gt;881676&lt;BR /&gt;Trace Stop&lt;/P&gt;&lt;P&gt;Acquisition Complete&lt;BR /&gt;Decoding content of file c:\svn\jvs-jvcb3\trunk\hardware\pt2000\pt2000_design_studio_project\tracer\stream.dat&lt;BR /&gt;Decoding stream recorded from Saturn 1.0 tracer board&lt;BR /&gt;Tracer board FW version 2.0&lt;BR /&gt;Clock cycles acquired in the trace operation: 4193957&lt;/P&gt;&lt;P&gt;Decoding operation stopped after 41 steps:&lt;BR /&gt;Unexpected Code : code 5 is not legal for instruction at line 570&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are you sure you want to exit [Y]?&lt;/P&gt;&lt;P&gt;***** end of console message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The path.txt file shows:&lt;/P&gt;&lt;P&gt;***** begin path.txt&lt;/P&gt;&lt;P&gt;529 X 1&lt;BR /&gt;530 X 1&lt;BR /&gt;531 X 1&lt;BR /&gt;532 X 1&lt;BR /&gt;533 X 1&lt;BR /&gt;534 X 1&lt;BR /&gt;535 X 1&lt;BR /&gt;536 X 1&lt;BR /&gt;537 X 1&lt;BR /&gt;538 X 1&lt;BR /&gt;539 X 1&lt;BR /&gt;540 X 1&lt;BR /&gt;541 X 1&lt;BR /&gt;542 X 1&lt;BR /&gt;543 X 1&lt;BR /&gt;544 X 1&lt;BR /&gt;545 X 1&lt;BR /&gt;546 X 1&lt;BR /&gt;547 X 1&lt;BR /&gt;548 X 1&lt;BR /&gt;549 X 1&lt;BR /&gt;550 X 1&lt;BR /&gt;551 X 1&lt;BR /&gt;552 X 1&lt;BR /&gt;553 X 1&lt;BR /&gt;554 X 1&lt;BR /&gt;555 X 1&lt;BR /&gt;556 X 1&lt;BR /&gt;557 X 1&lt;BR /&gt;558 X 1&lt;BR /&gt;559 X 1&lt;BR /&gt;560 X 1&lt;BR /&gt;561 X 1&lt;BR /&gt;562 X 1&lt;BR /&gt;563 X 1&lt;BR /&gt;564 X 1&lt;BR /&gt;565 X 1&lt;BR /&gt;566 X 1&lt;BR /&gt;567 X 1&lt;BR /&gt;568 X 1&lt;BR /&gt;569 X 1&lt;BR /&gt;570 X 1&lt;/P&gt;&lt;P&gt;***** end path.txt&lt;/P&gt;&lt;P&gt;Here's the screen grab from developer studio.&amp;nbsp; 0x23A is a jump relative command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_0-1628521104907.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152298iC9840F9D45246A00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="glenndoiron_0-1628521104907.png" alt="glenndoiron_0-1628521104907.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The prototype PCB is using a 1.5" 50-ohm Z0 trace between the PT2000 and the BNC connector.&amp;nbsp; I'm using a 6" 50-ohm BNC cable to connect the trace module to the PCB.&amp;nbsp; I attempted to hook up an oscope to examine signal quality, but putting a T-connector and scope extension caused the trace module to error out on the first sample, unsurprisingly.&lt;/P&gt;&lt;P&gt;This issue is very repeatable.&lt;/P&gt;&lt;P&gt;I attempted to sample the debug cable to see if I had SI issues.&amp;nbsp; I used a 3' cable to a T-connector on the oscilloscope, then a 6" cable from the tee to the trace capture card.&amp;nbsp; The scope capture is attached. Based on the layout, it seems that the KITPSCEVM tracer module may not be terminated.&lt;/P&gt;&lt;P&gt;I attempted to put the oscope on the end of the bus (6" from prototype board to tee, (tee connected directly to trace module) and 3' from tee to oscope) and turn on 50-ohm termination on the oscope, but the trace module didn't even start a capture when I did that.&lt;/P&gt;&lt;P&gt;Am I having SI issues here, or is there a problem with my trace setup or the trace software?&amp;nbsp; Trace configuration is as shows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_1-1628522858988.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152314iE19E0987858254BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="glenndoiron_1-1628522858988.png" alt="glenndoiron_1-1628522858988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 15:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1320429#M18</guid>
      <dc:creator>glenndoiron</dc:creator>
      <dc:date>2021-08-09T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1325518#M19</link>
      <description>&lt;P&gt;Hi Glenn, some comments from internal apps team:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at error code I would think it is more a code issue.&lt;/P&gt;
&lt;P&gt;Can they try a code example from the web and see if the trace is also failing?&lt;/P&gt;
&lt;P&gt;Or even change their code to the minimum to see if a trace can be completed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can your customer send us their full project in order to see if the code is ok or if there is some error?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 14:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1325518#M19</guid>
      <dc:creator>jamesmc2</dc:creator>
      <dc:date>2021-08-18T14:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326274#M20</link>
      <description>&lt;P&gt;This code is running on a prototype solenoid driver board, not the NXP demo board.&amp;nbsp; The NXP demo board was never used in the development, as our board is driving 3x H-bridges as well as high and low side supply rails shutoffs for the bridges, and has next to nothing in common with the dev board's schematic.&lt;/P&gt;&lt;P&gt;As such, the value of the full project is of limited use without the accompanying PCB.&amp;nbsp; I'd rather not go through all the NDA stuff unless its determined that it is needed to diagnose the issue.&lt;/P&gt;&lt;P&gt;Attached is a zip file for the trace being run.&lt;/P&gt;&lt;P&gt;Here is a shot of the trace configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_0-1629376792931.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153474i29F2F67BD7671A84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="glenndoiron_0-1629376792931.png" alt="glenndoiron_0-1629376792931.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Code from 0x008 - 0x028:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_1-1629376914670.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153475iB0532AE628597403/image-size/large?v=v2&amp;amp;px=999" role="button" title="glenndoiron_1-1629376914670.png" alt="glenndoiron_1-1629376914670.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;code from 0x028 - 0x041 (note that the trace aborts at the jump at 0x038, and the previous step loaded the address into JR1 so the trace module shouldn't have any problem realizing that code is passing to post_step_2 @&amp;nbsp;0x043&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_2-1629376995668.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153476iADBB9720C19B13BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="glenndoiron_2-1629376995668.png" alt="glenndoiron_2-1629376995668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326274#M20</guid>
      <dc:creator>glenndoiron</dc:creator>
      <dc:date>2021-08-19T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326280#M21</link>
      <description>&lt;P&gt;I noticed that in the previous post that tracing was set up for microcore 1.&amp;nbsp; Microcore 0 is the core which runs this code.&amp;nbsp; I reset the trace_config register for microcore 0 and reran the trace, but it seems nothing has changed (new trace results attached).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="glenndoiron_0-1629377473160.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153477i21BB0F27BE035434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="glenndoiron_0-1629377473160.png" alt="glenndoiron_0-1629377473160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326280#M21</guid>
      <dc:creator>glenndoiron</dc:creator>
      <dc:date>2021-08-19T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326292#M22</link>
      <description>&lt;P&gt;I'd also like to add, that this path.txt trace seems to be mostly incorrect, as there are subroutine calls at 0x10, 0x30, and 0x32 which are not showing up in the path.&amp;nbsp; &amp;nbsp;The busy loop in 0x2C may or may not be taken as it is likely that the other channels start executing code earlier and the rail power may already be on.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 13:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1326292#M22</guid>
      <dc:creator>glenndoiron</dc:creator>
      <dc:date>2021-08-19T13:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: PT2000 trace module error</title>
      <link>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1337869#M252</link>
      <description>&lt;P&gt;here are some comments/questions from the trace developer.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There could be a number of issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does tracing fails (with a specific setup) all the time? Or only sometimes? If the answer is sometimes, it probably is a SI issues, otherwise we should look at the setup&lt;/LI&gt;&lt;LI&gt;It could be due to mis-alignment of tracer input to PT2000 inputs:&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Check that the registers (tracer_start/stop/config/entrypoint/ISR_addresses) are configured in the PT2000 in the same way as the tracer configuration (this is the cause of 90% of the failure I had with the tracer L )&lt;/LI&gt;&lt;LI&gt;Code file supplied to the tracer is the same as the one downloaded in the PT2000? It should be in case SPIgen is used, but better check&lt;/LI&gt;&lt;LI&gt;There are multiple PT2000 on the board? Is the correct one being traced?&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Sep 2021 17:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Powertrain-and-Electrification/PT2000-trace-module-error/m-p/1337869#M252</guid>
      <dc:creator>jamesmc2</dc:creator>
      <dc:date>2021-09-09T17:49:38Z</dc:date>
    </item>
  </channel>
</rss>

