<?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: Informations on LPC11C24 Can Onchip in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548689#M10643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 04:46:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I still don't know which code you use as 'Can Onchip driver' :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even NXP samples include a modern version (without changing linker script) to reserve ROM-RAM &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&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;
__BSS(RESERVED) char CAN_driver_memory[184];&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* reserve 184 bytes for CAN driver */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Working LPCXpresso sample: &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;&amp;nbsp; AN11238&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;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/an11238-lpc11cxx-canopen-network-demo-0&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:25:57 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:25:57Z</dc:date>
    <item>
      <title>Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548680#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 01:31:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, I've an LPC11C24 board with Can Onchip driver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanna logging my CAN receive into my SDcard with &lt;/SPAN&gt;&lt;A href="http://http://elm-chan.org/fsw/ff/00index_e.html"&gt;elm-chanFSmodule&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to use Can Onchip Interrupts but after a f_write function, Can Onchip Interrupts is no longer caught.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how to fix it, so I want to check to manually catch Incoming Message in a while(true) but I find few documentation. Is it possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548680#M10634</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548681#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 01:52:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: pollo89&lt;/STRONG&gt;&lt;BR /&gt;I don't know how to fix it..., so I want to check to manually catch Incoming Message in a while(true) but I find few documentation. Is it possible?&lt;BR /&gt;Can anyone help me?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use Debugger and Peripherals View as the rest of the world ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548681#M10635</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548682#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 02:03:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I see, Zero but i'm new in this world. I try to see NVIC register but i found no differents before and after f_write. I retry, any advice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548682#M10636</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548683#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 02:12:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: pollo89&lt;/STRONG&gt;&lt;BR /&gt;... any advice?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check your 'CanOpen Driver'. Does it reserve ROM-RAM? Did you increase Stack offset?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548683#M10637</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548684#M10638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 02:28:07 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Check your 'CanOpen Driver'. Does it reserve ROM-RAM? Did you increase Stack offset?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry but i'm don't speak english very well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I user Can onchip driver, it's not mine. If I understand well, Drivers should be stored in ROM by board. It should works because I can receive/translate message very well ( with interrupts ) but adding a f_write Interrupts work no longer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that I can't directly see Stack pointer or Driver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548684#M10638</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548685#M10639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 02:42:12 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I user Can onchip driver, it's not mine.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main question is: Is your CAN code faulty or your SD code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know which 'onchip driver' :confused: you are using and which project settings you made, but I would strongly recommend to check ROM-RAM and Stack offset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548685#M10639</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548686#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 02:48:20 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.nxp.com/documents/user_manual/UM10398.pdf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Chapter 17&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The on-chip drivers are stored in boot ROM and offer CAN and CANopen initialization and&lt;BR /&gt;communication features to user applications via a defined API.&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548686#M10640</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548687#M10641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 02:58:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: pollo89&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.nxp.com/documents/user_manual/UM10398.pdf&lt;/A&gt;&lt;BR /&gt;Chapter 17&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And did you read this chapter :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;17.4.1 Calling the C_CAN API&lt;BR /&gt;A fixed location in ROM contains a pointer to the ROM driver table i.e. 0x1FFF 1FF8. This location is the same for all LPC11Cxx parts. The ROM driver table contains pointer to the CAN API table. Pointers to the various CAN API functions are stored in this table. CAN API functions can be called by using a C structure. Figure 67 illustrates the pointer mechanism used to access the on-chip CAN API. [B][COLOR=Red]On-chip RAM from address 0x1000 0050 to 0x1000 00B8 is used by the CAN API. This address range should not be used by the application.[/COLOR][/B] For applications using the on-chip CAN API, the linker control file should be modified appropriately to prevent usage of this area for application’s variable storage.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548687#M10641</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548688#M10642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 04:36:15 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right as always.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FSmodule use a struct FIL that it's my File Pointer and it's allocated into that range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I'm going understand how change linker files, I'll post if it's resolved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Zero. Again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548688#M10642</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548689#M10643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 25 04:46:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I still don't know which code you use as 'Can Onchip driver' :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even NXP samples include a modern version (without changing linker script) to reserve ROM-RAM &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&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;
__BSS(RESERVED) char CAN_driver_memory[184];&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* reserve 184 bytes for CAN driver */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Working LPCXpresso sample: &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;&amp;nbsp; AN11238&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;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/an11238-lpc11cxx-canopen-network-demo-0&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548689#M10643</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Informations on LPC11C24 Can Onchip</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548690#M10644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pollo89 on Thu Oct 25 05:11:46 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Resolved!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;added this at top of my main.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;#if defined (&amp;nbsp; __GNUC__&amp;nbsp; )/* only for LPCXpresso, for keil/IAR this is done by linker */
#include "cr_section_macros.h"
__BSS(RESERVED) char CAN_driver_memory[184]; /* reserve 184 bytes for CAN driver */
#endif&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Zero!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Informations-on-LPC11C24-Can-Onchip/m-p/548690#M10644</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:25:58Z</dc:date>
    </item>
  </channel>
</rss>

