<?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 MCIMXRT1052 Failed to initialize RAMCode in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MCIMXRT1052-Failed-to-initialize-RAMCode/m-p/1586343#M16490</link>
    <description>&lt;P&gt;Hi, I am facing problem in programing&amp;nbsp;MCIMXRT1052, it a custom board, I am using J-link 5.1 and segger j-link 6.32. it return with error code -5 . please help its urgent .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V6.32 (Compiled Apr 20 2018 17:25:19)&lt;BR /&gt;DLL version V6.32, compiled Apr 20 2018 17:25:02&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link Ultra V5-1 compiled Mar 30 2022 10:17:26&lt;BR /&gt;Hardware version: V5.10&lt;BR /&gt;S/N: 505103349&lt;BR /&gt;License(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt;VTref=3.300V (fixed)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: MCIMXRT1052&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;TIF&amp;gt;s&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "MCIMXRT1052" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;Found SW-DP with ID 0x0BD11477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x04770041)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FD000&lt;BR /&gt;CPUID register: 0x411FC271. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M7 r1p1, Little endian.&lt;BR /&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FD000&lt;BR /&gt;ROMTbl[0][0]: E00FE000, CID: B105100D, PID: 000BB4C8 ROM Table&lt;BR /&gt;ROMTbl[1] @ E00FE000&lt;BR /&gt;ROMTbl[1][0]: E00FF000, CID: B105100D, PID: 000BB4C7 ROM Table&lt;BR /&gt;ROMTbl[2] @ E00FF000&lt;BR /&gt;ROMTbl[2][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;BR /&gt;ROMTbl[2][1]: E0001000, CID: B105E00D, PID: 000BB002 DWT&lt;BR /&gt;ROMTbl[2][2]: E0002000, CID: B105E00D, PID: 000BB00E FPB-M7&lt;BR /&gt;ROMTbl[2][3]: E0000000, CID: B105E00D, PID: 000BB001 ITM&lt;BR /&gt;ROMTbl[1][1]: E0041000, CID: B105900D, PID: 001BB975 ETM-M7&lt;BR /&gt;ROMTbl[1][2]: E0042000, CID: B105900D, PID: 004BB906 CTI&lt;BR /&gt;ROMTbl[0][1]: E0040000, CID: B105900D, PID: 000BB9A9 TPIU-M7&lt;BR /&gt;ROMTbl[0][2]: E0043000, CID: B105F00D, PID: 001BB101 TSG&lt;BR /&gt;Cache: Separate I- and D-cache.&lt;BR /&gt;I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way&lt;BR /&gt;D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way&lt;BR /&gt;Cortex-M7 identified.&lt;BR /&gt;J-Link&amp;gt;exec EnableEraseAllFlashBanks&lt;BR /&gt;J-Link&amp;gt;r&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;J-Link&amp;gt;erase&lt;BR /&gt;Erasing device (MCIMXRT1052)...&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 15 (R15) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 7 (R7) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 6 (R6) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 5 (R5) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 4 (R4) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 3 (R3) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 2 (R2) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 1 (R1) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 0 (R0) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 15 (R15) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: PC of target system has unexpected value after preparing target. (PC = 0x00000000)!&lt;BR /&gt;---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------&lt;BR /&gt;PC = 00000000&lt;BR /&gt;Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Failed to initialize RAMCode&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 20 (CFBP) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: CPU is not halted&lt;BR /&gt;J-Link: Flash download: Total time needed: 3.028s (Prepare: 0.033s, Compare: 0.000s, Erase: 0.991s, Program: 0.000s, Verify: 0.000s, Restore: 2.003s)&lt;/P&gt;&lt;P&gt;****** Error: Timeout while restoring target, core does not stop. (PC = 0x20203A00, CPSR = 0x401F4470, LR = 0x61000000)!&lt;BR /&gt;ERROR: Erase returned with error code -5.&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2023 11:29:08 GMT</pubDate>
    <dc:creator>vandana</dc:creator>
    <dc:date>2023-01-21T11:29:08Z</dc:date>
    <item>
      <title>MCIMXRT1052 Failed to initialize RAMCode</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MCIMXRT1052-Failed-to-initialize-RAMCode/m-p/1586343#M16490</link>
      <description>&lt;P&gt;Hi, I am facing problem in programing&amp;nbsp;MCIMXRT1052, it a custom board, I am using J-link 5.1 and segger j-link 6.32. it return with error code -5 . please help its urgent .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V6.32 (Compiled Apr 20 2018 17:25:19)&lt;BR /&gt;DLL version V6.32, compiled Apr 20 2018 17:25:02&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link Ultra V5-1 compiled Mar 30 2022 10:17:26&lt;BR /&gt;Hardware version: V5.10&lt;BR /&gt;S/N: 505103349&lt;BR /&gt;License(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt;VTref=3.300V (fixed)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: MCIMXRT1052&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;TIF&amp;gt;s&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "MCIMXRT1052" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;Found SW-DP with ID 0x0BD11477&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x04770041)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FD000&lt;BR /&gt;CPUID register: 0x411FC271. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M7 r1p1, Little endian.&lt;BR /&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FD000&lt;BR /&gt;ROMTbl[0][0]: E00FE000, CID: B105100D, PID: 000BB4C8 ROM Table&lt;BR /&gt;ROMTbl[1] @ E00FE000&lt;BR /&gt;ROMTbl[1][0]: E00FF000, CID: B105100D, PID: 000BB4C7 ROM Table&lt;BR /&gt;ROMTbl[2] @ E00FF000&lt;BR /&gt;ROMTbl[2][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;BR /&gt;ROMTbl[2][1]: E0001000, CID: B105E00D, PID: 000BB002 DWT&lt;BR /&gt;ROMTbl[2][2]: E0002000, CID: B105E00D, PID: 000BB00E FPB-M7&lt;BR /&gt;ROMTbl[2][3]: E0000000, CID: B105E00D, PID: 000BB001 ITM&lt;BR /&gt;ROMTbl[1][1]: E0041000, CID: B105900D, PID: 001BB975 ETM-M7&lt;BR /&gt;ROMTbl[1][2]: E0042000, CID: B105900D, PID: 004BB906 CTI&lt;BR /&gt;ROMTbl[0][1]: E0040000, CID: B105900D, PID: 000BB9A9 TPIU-M7&lt;BR /&gt;ROMTbl[0][2]: E0043000, CID: B105F00D, PID: 001BB101 TSG&lt;BR /&gt;Cache: Separate I- and D-cache.&lt;BR /&gt;I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way&lt;BR /&gt;D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way&lt;BR /&gt;Cortex-M7 identified.&lt;BR /&gt;J-Link&amp;gt;exec EnableEraseAllFlashBanks&lt;BR /&gt;J-Link&amp;gt;r&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;J-Link&amp;gt;erase&lt;BR /&gt;Erasing device (MCIMXRT1052)...&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 15 (R15) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 7 (R7) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 6 (R6) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 5 (R5) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 4 (R4) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 3 (R3) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 2 (R2) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 1 (R1) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 0 (R0) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 15 (R15) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: PC of target system has unexpected value after preparing target. (PC = 0x00000000)!&lt;BR /&gt;---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------&lt;BR /&gt;PC = 00000000&lt;BR /&gt;Current: R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;----------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Failed to initialize RAMCode&lt;/P&gt;&lt;P&gt;****** Error: Can not read register 20 (CFBP) while CPU is running&lt;/P&gt;&lt;P&gt;****** Error: CPU is not halted&lt;BR /&gt;J-Link: Flash download: Total time needed: 3.028s (Prepare: 0.033s, Compare: 0.000s, Erase: 0.991s, Program: 0.000s, Verify: 0.000s, Restore: 2.003s)&lt;/P&gt;&lt;P&gt;****** Error: Timeout while restoring target, core does not stop. (PC = 0x20203A00, CPSR = 0x401F4470, LR = 0x61000000)!&lt;BR /&gt;ERROR: Erase returned with error code -5.&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 11:29:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MCIMXRT1052-Failed-to-initialize-RAMCode/m-p/1586343#M16490</guid>
      <dc:creator>vandana</dc:creator>
      <dc:date>2023-01-21T11:29:08Z</dc:date>
    </item>
  </channel>
</rss>

