<?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: SWO Support in 7.7.2 ... how? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558124#M14865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Apr 29 09:32:03 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read the user guide. It explains exactly what to do and how to use the features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:09:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:09:24Z</dc:date>
    <item>
      <title>SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558123#M14864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mubes on Wed Apr 29 09:15:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just saw that 7.7.2 has some level of tracing support via SWO so I thought I'd give it a go.&amp;nbsp; I know it's sticky fingers, but I don't see how I'm supposed to access the functions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I click on 'Profile+' with an active debugging session, for example, I just get a message that "SWV is currently only supported via the Red Probe+ debug probe".&amp;nbsp; I've checked I'm running 7.7.2 and I've power cycled the debug board (LPCLink2) and the target (custom LPC1346) with no effect. I'm on a Mac but have started the app from the shortcut in the subdirectory, as instructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any guidance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DAVE&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558123#M14864</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558124#M14865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Apr 29 09:32:03 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read the user guide. It explains exactly what to do and how to use the features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558124#M14865</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558125#M14866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Apr 29 10:32:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;And the read the FAQs, starting at ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Ftrace-overview" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/trace-overview&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The classic problem with SWO tracing is not having the SWO pin actually accessible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558125#M14866</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558126#M14867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mubes on Wed Apr 29 15:59:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Grr, now I feel silly, sorry for that. A lot further along now I've RTFM&amp;nbsp; 8-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running on a 1346, but I seem to be getting empty packets back.&amp;nbsp; I thought perhaps was that the issue was that IOCON for P0.9 needs to be set to FUNC3 (ARM_TRACE_SWV, Pg 72 of UM10524) but that didn't seem to make any difference either.&amp;nbsp; According to the scope there's nothing coming out of that pin....more digging I guess. Looking at the functionality it gives, it's going to be worth the effort.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...all lights in the configuration panel are green BTW.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, edited with a bit more information.&amp;nbsp; The value in 0x40044024 is 0x93 and the clock for IOCON is powered up....P0.9 is absolutely flat.&amp;nbsp; I _have_ checked that this pin is wired through to the LPCLink2 too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's time to sleep on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DAVE&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558126#M14867</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558127#M14868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Apr 30 00:54:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to configuring P0.9, you also need to need turn on the trace clock. Thus you need some setup code like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&amp;nbsp; volatile unsigned int *TRACECLKDIV = (unsigned int *) 0x400480AC;
&amp;nbsp; volatile unsigned int *IOCON_PIO_0_9 = (unsigned int *) 0x40044024;
&amp;nbsp; // Write 1 to TRACECLKDIV&amp;nbsp; – Trace divider
&amp;nbsp; *TRACECLKDIV = 1;
&amp;nbsp; // Write 0x93 to I/O configuration for pin PIO0_9 to select ARM_TRACE_SWV
&amp;nbsp; *IOCON_PIO_0_9 = 0x93;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also note that if you are using the SSP0 peripheral, it looks like you won't be able to do SWO trace, as the SWO and MOSI0 signals are only available on the same pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll look at adding a new FAQ to cover this, and also look at updating the startup code to do this configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[For anyone using LPC1311/13/42/43 rather than LPC1315/16/46/47, on those parts IOCON_PIO_0_9 is at 0x40044064]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558127#M14868</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558128#M14869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mubes on Thu Apr 30 01:14:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although I'm supposed to be working on something else, I couldn't resist giving this a try.&amp;nbsp; It fixes the problem perfectly and the functionality is very useful indeed.....consequence attached.&amp;nbsp; Please keep working on this kind of stuff - it truely differentiates you against the competition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(...and you're right about the SSP0, the major effort in even trying this was to move the SSP0 functions to SSP1&amp;nbsp; :~ ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DAVE&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558128#M14869</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: SWO Support in 7.7.2 ... how?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558129#M14870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Apr 30 04:16:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad to hear you are now up and running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've now published an FAQ on this too (though for the moment it just duplicates the above information):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fswo-trace-setup-lpc13xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/swo-trace-setup-lpc13xx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SWO-Support-in-7-7-2-how/m-p/558129#M14870</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:09:27Z</dc:date>
    </item>
  </channel>
</rss>

