<?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>LPC MicrocontrollersのトピックRe: Simple dual core application</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564479#M16893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Heikon on Fri Jan 04 08:17:07 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can´t get a snapshot, "snapshot disabled" came when I try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also n email can be sent, "not accessible"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the example with the SCT PWM is not availible in the download *.zip file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what did I do wrong???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:48:21 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:48:21Z</dc:date>
    <item>
      <title>Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564473#M16887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Mon Nov 05 07:36:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can somebody share a simple Keil dual core application for flash based LPC43xx?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No RTOS, USB or anything fancy. Just proper Keil configuration, some initialization &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;functions and two blank main functions, one for M4 and one for M0. All the dual core &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;examples I found so far are way too complicated for me plus they are missing &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;files or have errors in the source files and I'm not able to compile them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to ARM and Keil and it's very hard to use the dual core feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using so little documentation available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564473#M16887</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564474#M16888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Mon Nov 05 11:00:22 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;look here and take a snapshot:&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%2Fsw.lpcware.com%2Findex.php%3Fp%3Dlpc43xx.git%26a%3Dsummary" rel="nofollow" target="_blank"&gt;http://sw.lpcware.com/index.php?p=lpc43xx.git&amp;amp;a=summary&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; In Examples go to DUALCORE\Int_Demo\Keil and use the multi project file M4_M0_ipc.uvmpw.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; This includes the M0 project and the M4 project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; Right mouse click on the M0 project --&amp;gt; Set as Active Project --&amp;gt; Build&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; Right mouse click on the M4 project --&amp;gt; Set as Active Project --&amp;gt; Build&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; At least for me everything is there and it compiles fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; Flash the result with ULINK2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default config puts the M0 image in flash bank #B (see link-CM0_flash.sct) and the M4 image in flash bank #A (see link-M4_internal_flash.sct). The M4 executes from bank #A and the M0 from bank #B, each with an own bus, so they don't interfere with other on code execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The example could be simpler, but there is not much overhead, just a small framework for master (M4) and slave (M0). That's just a definition, nothing else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could deal with the M4 and M0 projects independently, using the project files M4.uvproj and M0.uvproj, but the multi project file is really handy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Tech Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564474#M16888</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564475#M16889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Tue Nov 06 02:59:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply bavarian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This dual core example is fairly simple but a few things aren't clear to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you answer the following questions please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;M0 project questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target device is generic ARM&amp;nbsp; Cortex-M0. When I start a dual core project from sratch,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; should I select the generic M0 or should it be some NXP part?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IROM1 start address is 0x18000000, size is 0x200. According to the LPC43 user manual that area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; is reserved. IRAM1 and IRAM2 are also in the same reserved area. Should these settings be always &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; used to the M0 project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to build and debug the M0 project alone. Which CPU is used in this case, is it the M4? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M4 project questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target device for the M4 project is LPC4350, I'm using 4357, should I change the target device&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; setting to LPC4357?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no IROM defined for thr M4 project. Are the IROM settings important at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the debugger is started for M4 project (LPC43xx_M4_internal_flash target) and then stopped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; (the debugger session is ended without executting any lines in the program) it cannot be restarted.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error message is "ULINK - Cortex-M Error. Could not stop Cortem-M device! Please check the JTAG cable". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To restore the debugger operation I need to change the boot config pin state and reset CPU. Why is it happening &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;every time and how to correct that? In my application P2_7 is high - boot from internal flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something in platformInit() function that may be causing this but it also happens when that function is commented out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best case I am able to start debugging but the program will crash eventually&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the LPC43xx_M4_RAM target is selected the M4 project cannot be built due to "!!! M0_ROM_START &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; not defined, check platform_init.h !!!" error. How to correct that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;8. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the debugger will not start due to a Memory Mismatch at address 0x1A000004, value 0x9D, expected 0x89.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manually downloading to flash solves this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a document avaliable which describes how to do a dual core project step by step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564475#M16889</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564476#M16890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Tue Nov 06 13:03:53 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to modify the source code so the example now works on my custom board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I can't get to work is the debugging of the M0 C program. I can&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;only set breakpoints or run the program in step mode in the assembly code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is when 'Load application at startup' setting is not selecting. When it is selected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the M0 debug session will not start. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should the debugger setting be for the M0 project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564476#M16890</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564477#M16891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Wed Nov 21 10:24:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;See my comments below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;M0 project questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target device is generic ARM Cortex-M0. When I start a dual core project from scratch,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should I select the generic M0 or should it be some NXP part?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; Generic M0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IROM1 start address is 0x18000000, size is 0x200. According to the LPC43 user manual that area&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is reserved. IRAM1 and IRAM2 are also in the same reserved area. Should these settings be always&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;used to the M0 project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; I'm pretty sure that this project works with scatter files and not with the settings in the target tab. So whatever is inserted in these fields, it's not used anyway. And 0x1800000 is indeed no SRAM area which can be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to build and debug the M0 project alone. Which CPU is used in this case, is it the M4?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; if you compile for an M0, if you selected the M0 core in the debugger tab, if you start the debugger, then of course you work with the M0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;M4 project questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target device for the M4 project is LPC4350, I'm using 4357, should I change the target device&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setting to LPC4357?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; For the compiler this is a don't care. If you select the target from the list of NXP devices you get some pre-settings for memory areas (which you don't need because you work with scatter files) and the registers are listed in the debugger if you like. So change it to LPC4357, ignore the memory areas which are filled into the fields of the target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no IROM defined for the M4 project. Are the IROM settings important at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; same thing: please always check if the memeory areas are defined in this tab or in a scatter file !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the debugger is started for M4 project (LPC43xx_M4_internal_flash target) and then stopped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(the debugger session is ended without executting any lines in the program) it cannot be restarted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error message is "ULINK - Cortex-M Error. Could not stop Cortem-M device! Please check the JTAG cable".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To restore the debugger operation I need to change the boot config pin state and reset CPU. Why is it happening&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;every time and how to correct that? In my application P2_7 is high - boot from internal flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something in platformInit() function that may be causing this but it also happens when that function is commented out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best case I am able to start debugging but the program will crash eventually&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; I will check the SW package. Most likely related to the debugger ini scripts &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the LPC43xx_M4_RAM target is selected the M4 project cannot be built due to "!!! M0_ROM_START&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;not defined, check platform_init.h !!!" error. How to correct that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; I will check the SW package. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the debugger will not start due to a Memory Mismatch at address 0x1A000004, value 0x9D, expected 0x89.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manually downloading to flash solves this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; no idea&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a document avaliable which describes how to do a dual core project step by step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; No, not yet. But I think it's worthwhile to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But here are some basic thoughts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The M4 always starts up the LPC43xx, the M0 is in reset state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- When the M4 is in its execution area (e.g. the ResetHandler or later) it must provide the start address &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; for the M0 code to the M0, before taking it out of reset state. Otherwise the M0 runs into HardFaults.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Again, the M4 is always responsible for setting up the chip and prepare the ground for the M0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The M4 and the M0 can execute from any memory region, the way you create the binaries for the respective regions &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (linker settings of your M4/M0 projects) and the method you use to program them is fully up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; e.g. M4 code in flash bank #A, M0 code in flash bank #B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; o create M0 image, integrate it into M4 image, program it into flash as one image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; o create M4 image, program it into flash bank #A, create M0 image, program it into flash bank #B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; e.g. M4 code in flash bank #A, M0 code runs from SRAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; o create M0 image, integrate it into M4 image, program it into flash as one image, the M4 will relocate the M0 image after &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; startup from flash into the SRAM execution region (specified by you) for the M0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see there are various ways to set this up, important is to understand the basics, specify the memory map for your own &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;application and then realize it in your toolchain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging is a little bit more tricky, because it depends on the debugger hardware/software. But if you either debug the M0 or &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the M4 then it should work fine with the common solutions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support Team&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564477#M16891</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564478#M16892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Thu Nov 22 06:54:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply bavarian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed it's simple to use the dual core feature of the LPC43&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;once you know how to do that. It's very hard to learn using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the existing documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The biggest problem I had was how to debug the M0 program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the internal flash memory of the LPC4347. In particular&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how to reset M0 CPU. I was using keil debugger. It was really hard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to do properly. The only good enough way I found was to load the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;M0 application and don't run it, just set a breakpoint somewhere&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at the beginning of the program and run it. Then switch to M4 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;debugger and force M0 reset there (preferably by resetting the M4 core).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The M0 debugger stops at the breakpoint and works fine since then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without setting a breakpoint at the beginning of the M0 program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;debugging sometimes didn't work properly, in step mode the CPU jumped &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into the middle of the program instead of executing it line by line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That initially made me think something was wrong with my program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or the debugger. Everything was fine, the debugger just needs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a breakpoint to stop at, otherwise the M0 CPU will keep running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while the debugger is stopped at some line and when a step is made is will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try to catch up with the CPU. Is that how it works?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564478#M16892</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564479#M16893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Heikon on Fri Jan 04 08:17:07 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can´t get a snapshot, "snapshot disabled" came when I try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also n email can be sent, "not accessible"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the example with the SCT PWM is not availible in the download *.zip file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what did I do wrong???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564479#M16893</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564480#M16894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Fri Jan 04 10:13:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Snapshots have been disabled on purpose due to some problems/misuse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can still pull a snapshot for the latest LPC43xx repo using the following link:&lt;/SPAN&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%2Fsw.lpcware.com%2F%3Fp%3Dlpc43xx.git%26a%3Dsnapshot%26h%3DHEAD%26fmt%3Dzip" rel="nofollow" target="_blank"&gt;http://sw.lpcware.com/?p=lpc43xx.git&amp;amp;a=snapshot&amp;amp;h=HEAD&amp;amp;fmt=zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564480#M16894</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564481#M16895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Heikon on Tue Jan 08 05:41:49 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, that´s it, thank you...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564481#M16895</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564482#M16896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kaveh.Firouzi on Mon May 19 08:20:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the exact same problem as the original poster. The links that you have provided doesn't work anymore, could you please let me know where I can find the simplified dual core project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaveh Firouzi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564482#M16896</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564483#M16897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by funkyguy4000 on Mon May 19 18:21:11 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have the same issue as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564483#M16897</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564484#M16898</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 Mon May 19 23:47:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The multicore examples are in the LPCOpen package for LPC43xx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[The links provided above were produced &amp;gt;18 months ago for a pre-release version]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564484#M16898</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564485#M16899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kaveh.Firouzi on Wed May 21 11:12:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I already have the package. I meant the simpler example project that Bavarian had linked. As the original poster mentioned, the examples in the LPCOpen package are too complicated. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564485#M16899</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple dual core application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564486#M16900</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 May 21 23:40:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using LPCXpresso IDE, then we do provide a simple dual core example based on the old Peripheral Driver Library within the Examples directory of your installation, for example for the MCB4357 board. Also for LPCXpresso, I would advise reading...&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%2Flpc43xx-multicore-apps" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/lpc43xx-multicore-apps&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>Wed, 15 Jun 2016 18:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Simple-dual-core-application/m-p/564486#M16900</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:48:25Z</dc:date>
    </item>
  </channel>
</rss>

