<?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: Tracing Interrupts in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554062#M13060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Tue Jul 22 14:50:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you reserve On-chip RAM somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, just add :&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;#include "cr_section_macros.h"
__BSS(RESERVED) char CAN_driver_memory[184]; /* reserve 184 bytes for CAN driver */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If CAN API is using 'used' RAM you'll see a lot of funny effects&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:09:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:09:10Z</dc:date>
    <item>
      <title>Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554059#M13057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jdeas on Tue Jul 22 11:37:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Brand new to IDE, On the LPC11C24 chip I am trying to combine both the UART and CAN example programs by simply sending all CAN messages up the UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After re-arranging a few variables I was able to get the basic function but after just 3 or 4 exchanges the debugger crashes into a un-handled interrupt. I have tried both a Segger jtag unit and the NXP-link but can not figure out how to trace back where this problem interrupt is coming from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any tracing abilities with the IDE or does one have to purchase the Red stuff?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554059#M13057</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554060#M13058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Tue Jul 22 11:52:29 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Start here:&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%2Fdebugging-hard-fault" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debugging-hard-fault&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure which example we are talking about in detail and how you've generated the new project, so exporting and posting your project could also be a good idea...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyway, this link above should give you a hint if you have a CAN or UART problem&amp;nbsp; :) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554060#M13058</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554061#M13059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jdeas on Tue Jul 22 11:59:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking into that now. Here is the code&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554061#M13059</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554062#M13060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Tue Jul 22 14:50:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you reserve On-chip RAM somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, just add :&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;#include "cr_section_macros.h"
__BSS(RESERVED) char CAN_driver_memory[184]; /* reserve 184 bytes for CAN driver */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If CAN API is using 'used' RAM you'll see a lot of funny effects&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554062#M13060</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554063#M13061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jdeas on Tue Jul 22 15:37:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting. I don't have the CANopen ROM API, just the provided CCAN_API header file and example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the ROM is using 'random' memory blocks then I'm surprised I got this far. I would assume that I need to both reserve AND reference the location for the ROM driver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Considering the LPCXpresso example does not show the need for RAM outside msgblks and the subcall return block, where can I get the actual API showing a proper CCAN init?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554063#M13061</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554064#M13062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Tue Jul 22 16:03:02 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not too familiar with all this examples...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A lot of them are let's say 'problematic'...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using CAN with LPC11Cxx since years (and LPC15xx since March) I'm using own libraries...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But anyway, all examples should reserve RAM as explained in UM and several times in good old LPCXpresso Forum:&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%2Fforum%2Fhow-to-reserve-lpc11cxx-ram" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/how-to-reserve-lpc11cxx-ram&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554064#M13062</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tracing Interrupts</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554065#M13063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jdeas on Wed Jul 23 08:13:33 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The C_CAN driver was overwriting my ring buffers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found the reference in UM10398 Ch 17.4 and added the appropriate reservation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks for pointing me in the right direction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Tracing-Interrupts/m-p/554065#M13063</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:09:12Z</dc:date>
    </item>
  </channel>
</rss>

