<?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: Dual-core project error in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592110#M22326</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 Tue Jan 19 07:16:19 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you create your projects? You should create the M0 slave project first. Then create the M4 master project that pulls in the slave project output. You might want to read:&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=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Flpc43xx-multicore-apps" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/lpc43xx-multicore-apps&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the following video might be useful too:&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=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIIF8A8A_CGA" rel="nofollow" target="_blank"&gt;https://www.youtube.com/watch?v=IIF8A8A_CGA&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[jump to about 26mins in the the multicore specific section.]&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 19:17:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:17:27Z</dc:date>
    <item>
      <title>Dual-core project error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592109#M22325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by turiB on Tue Jan 19 05:54:54 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some advice about multicore projects on LPC4370. I made new projects for M0 (M0APP) and M4. I just wanted test cr_start_m0() (later i want test IPC) but when i build it than i got this msg (below).&amp;nbsp; Here is my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13:01:28 **** Clean-only build of configuration Debug for project m4 ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make -r clean &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rm -rf&amp;nbsp; ./src/cr_start_m0.o ./src/cr_startup_lpc43xx.o ./src/crp.o ./src/m4.o&amp;nbsp; ./src/cr_start_m0.d ./src/cr_startup_lpc43xx.d ./src/crp.d ./src/m4.d&amp;nbsp; m4.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13:01:28 Build Finished (took 90ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13:01:29 **** Incremental Build of configuration Debug for project m4 ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make -r all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/cr_start_m0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/cr_start_m0.d" -MT"src/cr_start_m0.o" -MT"src/cr_start_m0.d" -o "src/cr_start_m0.o" "../src/cr_start_m0.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/cr_start_m0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/cr_startup_lpc43xx.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/cr_startup_lpc43xx.d" -MT"src/cr_startup_lpc43xx.o" -MT"src/cr_startup_lpc43xx.d" -o "src/cr_startup_lpc43xx.o" "../src/cr_startup_lpc43xx.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/cr_startup_lpc43xx.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/crp.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/crp.d" -MT"src/crp.o" -MT"src/crp.d" -o "src/crp.o" "../src/crp.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/crp.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/m4.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -DDEBUG -D__CODE_RED -DCORE_M4 -D__LPC43XX__ -D__REDLIB__ -DLPC43_MULTICORE_M0APP -D__MULTICORE_MASTER -D__MULTICORE_MASTER_SLAVE_M0APP -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -specs=redlib.specs -MMD -MP -MF"src/m4.d" -MT"src/m4.o" -MT"src/m4.d" -o "src/m4.o" "../src/m4.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/m4.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: m4.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -Xlinker -Map="m4.map" -Xlinker --gc-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "m4_Debug.ld" -o "m4.axf"&amp;nbsp; ./src/cr_start_m0.o ./src/cr_startup_lpc43xx.o ./src/crp.o ./src/m4.o&amp;nbsp; C:/test2/m0/Debug/m0.axf.o &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;./src/m4.o: In function `main':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\test2\m4\Debug/../src/m4.c:44: undefined reference to `__core_m0app_START__'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2.exe: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [m4.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13:01:30 Build Finished (took 835ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338023"&gt;test2.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592109#M22325</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dual-core project error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592110#M22326</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 Tue Jan 19 07:16:19 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you create your projects? You should create the M0 slave project first. Then create the M4 master project that pulls in the slave project output. You might want to read:&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=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Flpc43xx-multicore-apps" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/lpc43xx-multicore-apps&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the following video might be useful too:&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=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIIF8A8A_CGA" rel="nofollow" target="_blank"&gt;https://www.youtube.com/watch?v=IIF8A8A_CGA&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[jump to about 26mins in the the multicore specific section.]&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 19:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592110#M22326</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dual-core project error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592111#M22327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by turiB on Tue Jan 19 09:18:43 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the reply. I discovered my mistake from the video which is linked by you. MCU setting was wrong in my project. Debuging on multi-core is also was success on first try :'D .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MCU on M0APP side: i had to change up orders of RamLoc128-..72 &amp;amp; FLASH_A-.._B (and yeah i had to split FLASH on M4 also)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating order is not taked my liking. Why does M0APP should create first ? Ok, i know M4 need M0 code, but i tried to convert existing project to multi-core project by set properties// C/C++ Build // Setting // Multicore (Symbols, ..) and by deleting Debug folder(s) &amp;amp; projectfolder/.metadata/.plugins/arg.eclipse.debug.ui (from my old Eclipse experience, i did this) , but dind't make success with this method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fresh new projects are working now for me, that's made my day, thank you! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Dual-core-project-error/m-p/592111#M22327</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:28Z</dc:date>
    </item>
  </channel>
</rss>

