<?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>Vybrid Processors中的主题 Re: Sample-based profiling</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Sample-based-profiling/m-p/360087#M3701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind. I am going to "manually" generate the program counter samples by periodically reading DBGPCSR through the debugger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 06:06:54 GMT</pubDate>
    <dc:creator>keanmariotti</dc:creator>
    <dc:date>2014-10-02T06:06:54Z</dc:date>
    <item>
      <title>Sample-based profiling</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Sample-based-profiling/m-p/360086#M3700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to profile the A5 core of my Vybrid VF6xx by periodically sampling the program counter (PC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see from the "ARMv7-M architecture reference manual" and the "Vybrid reference manual (section 20.9)" that the M4 core provides a Data Watchpoint and Trace (DWT) unit that can be configured to sample the PC at regular intervals. The sampled PC can then be streamed to the SWO interface which I can read with my debugger. This is exactly what I would like to do with the A5 core, instead of the M4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to achieve the same result (stream of PC information to SWO) with the A5 core? As far as I understand the A5 does provide a program counter sampling register (DBGPCSR), but lacks of a mechanism to stream it. Am I wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Kean Mariotti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Sample-based-profiling/m-p/360086#M3700</guid>
      <dc:creator>keanmariotti</dc:creator>
      <dc:date>2014-10-01T08:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sample-based profiling</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Sample-based-profiling/m-p/360087#M3701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind. I am going to "manually" generate the program counter samples by periodically reading DBGPCSR through the debugger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 06:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Sample-based-profiling/m-p/360087#M3701</guid>
      <dc:creator>keanmariotti</dc:creator>
      <dc:date>2014-10-02T06:06:54Z</dc:date>
    </item>
  </channel>
</rss>

