<?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>i.MX RT Crossover MCUsのトピックRe: RT1170 Dual Core Example For CM4 Primary Core</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-Dual-Core-Example-For-CM4-Primary-Core/m-p/1711632#M26583</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220200"&gt;@frozen&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify" data-unlink="true"&gt;As you mentioned you could follow the &lt;A href="https://www.nxp.com/docs/en/application-note/AN13574.pdf" target="_self"&gt;AN13574.&amp;nbsp;i.MX RT1170 CM4 Primary Core Application&lt;/A&gt;. to change the primary core to CM4, but for that you need to burn fuses, as mentioned in the application note as follows: &lt;EM&gt;"By fusing 960[12], we can switch to CM4 primary core and then the system boots from CM4 core."&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Nonetheless, once you switch to CM4 as Primary Core Application you will not longer be able to change it again to CM7. As the readme in AN13574SW's&lt;EM&gt; example_iar&lt;/EM&gt; mentions: &lt;EM&gt;"Keep in mind that this operation is not reversible, i.e. once switching to Cortex-M4 entry it is not possible to change it back to Cortex-M7 entry."&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 20:22:14 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2023-08-25T20:22:14Z</dc:date>
    <item>
      <title>RT1170 Dual Core Example For CM4 Primary Core</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-Dual-Core-Example-For-CM4-Primary-Core/m-p/1709840#M26542</link>
      <description>&lt;P&gt;I need to configure M4 as a primary core, because M4 will handle CAN communication and system will wake up from CAN Interrupt.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is an app note&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13264.pdf" target="_self"&gt;AN13264&lt;/A&gt; for multicore example and&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13574.pdf" target="_self"&gt;AN13574&lt;/A&gt;&amp;nbsp;for CM4 Primary Core Application.&lt;BR /&gt;&lt;BR /&gt;I have downloaded AN13574SW but there is no buildable project for MCU Xpresso. I can't run it. I need a help to configure memory configurations, predefined macros and etc.&lt;/P&gt;&lt;P&gt;Then I made projects for CM4 and CM7 for MIMXRT1170-EVK. But here I can't debug it, I get an error as below. You can find projects attached.&lt;/P&gt;&lt;P&gt;Target error from Write register: Ep(08). Cannot access core regs when target running.&lt;BR /&gt;&lt;BR /&gt;Another question is about boot core. When change boot core as CM4, could I rechange to use CM7 as boot core ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MCUXpresso IDE RedlinkMulti Driver v11.7 (Mar 22 2023 09:52:55 - crt_emu_cm_redlink build 13)
Found chip XML file in C:/FO-Workspace/BedSideModule/Software/z_M4MASTER/Debug\MIMXRT1176xxxxx.xml
(  5) Remote configuration complete
Reconnected to existing LinkServer process.
============= SCRIPT: RT1170_connect_M7_wake_M4.scp =============
RT1170 Connect M7 and Wake M4 Script
DpID = 6BA02477
APID = 0x84770001
Setting M4 spin code
Setting M4 clock
Resetting M4 core
View cores on the DAP AP
DpID = 6BA02477
TAP 0: 6BA02477 Core 0: M7  APID: 84770001 ROM Table: E00FD003
TAP 0: 6BA02477 Core 1: M4  APID: 24770011 ROM Table: E00FF003*
============= END SCRIPT ========================================
Probe Firmware: CMSIS-DAP (ARM)
Serial Number:  024400003ac6ec1b00000000000000000000000097969905
VID:PID:  0D28:0204
USB Path: \\?\hid#vid_0d28&amp;amp;pid_0204&amp;amp;mi_03#9&amp;amp;db0cf90&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 1 after searching for a good core
debug interface type      = CoreSight DP (DAP DP ID 6BA02477) over SWD TAP 0
processor type            = Cortex-M4 (CPU ID 00000C24) on DAP AP 1
number of h/w breakpoints = 6
number of flash patches   = 2
number of h/w watchpoints = 4
Probe(0): Connected&amp;amp;Reset. DpID: 6BA02477. CpuID: 00000C24. Info: &amp;lt;None&amp;gt;
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)
ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)
ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core
ROM 1 E0043000: CID B105900D PID 04001BB908 CSt CSTF type 0x12 Trace Link - Trace funnel/router
ROM 1 E0042000: CID B105900D PID 04005BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT
CM4 Rev. 4.0  LMEM
NXP: MIMXRT1176xxxxx
DAP stride is 4096 bytes (1024 words)
Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1170_SFDP_QSPI.cfx
Image 'iMXRT1170_SFDP_FlexSPI1_A_QSPI Mar 21 2023 13:05:46'
Opening flash driver MIMXRT1170_SFDP_QSPI.cfx
Sending VECTRESET to run flash driver
Flash variant 'iMXRT1170_SFDP_FlexSPI1_A_QSPI Mar 21 2023 13:05:46' detected (16MB = 256*64K at 0x8000000)
Closing flash driver MIMXRT1170_SFDP_QSPI.cfx
Connected: was_reset=true. was_stopped=false
Awaiting telnet connection to port 3335 ...
GDB nonstop mode enabled
============= SCRIPT: RT1170_reset.scp =============
SYSTEM Reset
DpID = 6BA02477
TAP 0: 6BA02477 Core 0: M7  APID: 84770001 ROM Table: E00FD003
TAP 0: 6BA02477 AP   1:     APID: 24770011 ROM Table: E00FF003
TAP 0: 6BA02477 AP   2:     APID: 54770002 ROM Table: 00000002
APID = 0x84770001
Setting M4 spin code
Setting M4 clock
Resetting M4 core
Releasing M4
View cores on the DAP AP
DpID = 6BA02477
TAP 0: 6BA02477 Core 0: M7  APID: 84770001 ROM Table: E00FD003
TAP 0: 6BA02477 Core 1: M4  APID: 24770011 ROM Table: E00FF003*
R15 = 0x00223104
Vector table SP/PC is the reset context.
PC = 0x300024C9
SP = 0x20040000
XPSR = 0x01000000
VTOR = 0x30002000
Set DEMCR = 0x010007F1
============= END SCRIPT ===========================
Target error from Write register: Ep(08). Cannot access core regs when target running.
GDB stub (C:\NXP\MCUXpressoIDE_11.7.1_9221\ide\plugins\com.nxp.mcuxpresso.tools.bin.win32_11.7.1.202303220859\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 09:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-Dual-Core-Example-For-CM4-Primary-Core/m-p/1709840#M26542</guid>
      <dc:creator>frozen</dc:creator>
      <dc:date>2023-08-25T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 Dual Core Example For CM4 Primary Core</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-Dual-Core-Example-For-CM4-Primary-Core/m-p/1711632#M26583</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220200"&gt;@frozen&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify" data-unlink="true"&gt;As you mentioned you could follow the &lt;A href="https://www.nxp.com/docs/en/application-note/AN13574.pdf" target="_self"&gt;AN13574.&amp;nbsp;i.MX RT1170 CM4 Primary Core Application&lt;/A&gt;. to change the primary core to CM4, but for that you need to burn fuses, as mentioned in the application note as follows: &lt;EM&gt;"By fusing 960[12], we can switch to CM4 primary core and then the system boots from CM4 core."&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Nonetheless, once you switch to CM4 as Primary Core Application you will not longer be able to change it again to CM7. As the readme in AN13574SW's&lt;EM&gt; example_iar&lt;/EM&gt; mentions: &lt;EM&gt;"Keep in mind that this operation is not reversible, i.e. once switching to Cortex-M4 entry it is not possible to change it back to Cortex-M7 entry."&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 20:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-Dual-Core-Example-For-CM4-Primary-Core/m-p/1711632#M26583</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-08-25T20:22:14Z</dc:date>
    </item>
  </channel>
</rss>

