<?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>T-Series中的主题 Re: T1042 DDR4 Initialization Failure</title>
    <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416876#M5504</link>
    <description>&lt;P&gt;It is DDR4.&amp;nbsp; This is a discrete design, not DIMM, so we have five 1G x 16-bit devices (64-bit + 8-bit ECC).&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2026 23:06:55 GMT</pubDate>
    <dc:creator>dbevans42</dc:creator>
    <dc:date>2026-09-28T23:06:55Z</dc:date>
    <item>
      <title>T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414120#M5482</link>
      <description>&lt;P&gt;I have a T1042 design using 64-bit interface to DDR4.&amp;nbsp; We already found an issue with an improper bit swap between nibbles in the uppermost byte of the interface which we know cannot be compensated for in SW settings.&amp;nbsp; We are going to implement a fix in a PWB revision.&amp;nbsp; However since the rest of the bits are correct and the swapping falls into what is allowed according to the reference manual we are hoping to instead operate in 32-bit mode so that we can still proceed bringing up SW and the rest of the design.&amp;nbsp; I have tried this using QCVS DDR validation tool, however I cannot get the memory to initialize.&amp;nbsp; I have input the parameters of the device and made sure to set the DQ mapping values according to my design for DQ[0:31] however I continue to get bit ACE= 1 in the ERR_DETECT register.&amp;nbsp; The processor is getting the RCW via SPI interface and the DDR frequency is set to 800MHz.&amp;nbsp; Is there a way to use CodeWarrior/QCVS to verify it received the correct RCW value?&amp;nbsp; What are some other settings to consider for 32-bit mode operation that could explain why it is not working?&amp;nbsp; I would greatly appreciate any support.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2026 16:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414120#M5482</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-16T16:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414521#M5483</link>
      <description>&lt;P&gt;&amp;nbsp; Is there a way to use CodeWarrior/QCVS to verify it received the correct RCW value?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[A] Yes, that's possible, you could connect the CCS, and read out the &lt;/SPAN&gt;&lt;SPAN&gt;DCFG_CCSR_RCWSR1-DCFG_CCSR_RCWSR16 to compare with the RCW in the SPI flash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are some other settings to consider for 32-bit mode operation that could explain why it is not working?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[A]Is it discrete DDR4? For the generally rule, please refer to&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://www.nxp.com.cn/docs/en/user-guide/QCVS_DDR_User_Guide.pdf" target="_blank"&gt;&lt;SPAN&gt;QCVS_DDR_User_Guide&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For the HW design, please refer to the&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5097&amp;amp;location=null" target="_blank"&gt;AN5097, Hardware and Layout Design Considerations for DDR4 SDRAM Memory Interfaces&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 08:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414521#M5483</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-18T08:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414671#M5484</link>
      <description>&lt;P&gt;Hello June,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I was able to use CCS to read the RCW status registers and confirm the RCW is programmed as expected.&lt;/P&gt;&lt;P&gt;I am using discrete DDR4 and have been through the user guide and layout considerations.&lt;/P&gt;&lt;P&gt;I have confirmed that we have a 650MHz clock for operation at 1300MT/s to satisfy&amp;nbsp;Errata A-007864 for using a 32-bit interface.&amp;nbsp; A colleague suggested checking that the chip select is toggling.&amp;nbsp; I found that once the QCVS tool starts sending the configuration to the processor, the CS0 signal is held sufficiently low.&amp;nbsp; After programming is complete and it attempts to run the validation routine the CS0 signal is no longer being fully asserted.&amp;nbsp; I independently using a JTAG boundary scan tool to confirm that the signal is connected as expected and that the T1042 I/O can drive the net low enough to satisfy the VIL for the DDR4 memory device.&amp;nbsp; I also confirmed the net looks good in terms of routing for signal integrity and that it is not shorted to anything.&amp;nbsp; It seems that there is something about the memory controller configuration that is not allowing the chip select signal to function correctly.&amp;nbsp; Any other ideas?&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2026 00:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414671#M5484</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-19T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414953#M5488</link>
      <description>&lt;P&gt;Could you please confirm whether the CS0 in your description refers to D1_MCS0_B?&lt;/P&gt;
&lt;P&gt;Please in your ccs run the command and update the full ccs log.&lt;/P&gt;
&lt;P&gt;(bin)&amp;nbsp; % ccs::reset_to_debug&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 10:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2414953#M5488</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-21T10:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415034#M5489</link>
      <description>&lt;P&gt;Correct, I am referring to D1_MCS0_B.&lt;/P&gt;&lt;P&gt;When I run command&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(bin)&amp;nbsp; % ccs::reset_to_debug&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I get a message that says "Library not found."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 17:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415034#M5489</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-21T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415068#M5490</link>
      <description>&lt;P&gt;ACE error is automatic calibration error which is set if the memory controller detects an error during its training sequence. So if you lower the clock speed from 800MHz, how about the training result?&lt;/P&gt;&lt;P&gt;Meanwhile for 64bit or 32bit bus width, which one is selected to use for DDR4? how many pcs DDR4 is planed to connect to T1042&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 00:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415068#M5490</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-09-22T00:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415069#M5491</link>
      <description>&lt;P&gt;The memory controller is now set for 650MHz or 1300MT/s operation.&amp;nbsp; Same result.&amp;nbsp; We are attempting to use 32-bit mode for DDR4 because there is unintended bit swap on byte 8 of 64-bit interface (mistaken swap between nibbles).&amp;nbsp; The design was intended to be 64-bit + ECC but we are attempting to run 32-bit + ECC as a temporary &amp;nbsp;workaround.&amp;nbsp; That means that we currently have 5x 16-bit chips connected but are hoping to operate using only 3 of them.&lt;/P&gt;&lt;P&gt;I've tried many combinations of settings but nothing seems to change behavior in QCVS tool.&amp;nbsp; What is a bit odd is that I have also tried using a GreenHills emulator with similar values to QCVS in its startup script and I get past the wait loop for&amp;nbsp;DDR_SDRAM_CFG_2[D_INIT] to clear, implying initialization is completing.&amp;nbsp; Then it fails on initial write/read verification with all 0x00 which makes sense since it is using suboptimal write leveling values.&amp;nbsp; I do not understand why the QCVS tool has different behavior.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 00:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415069#M5491</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-22T00:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415136#M5492</link>
      <description>&lt;P style="margin: 0in; line-height: 15pt; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Please input the command after you read out the RCW status registers.&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 15pt; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Please share the full ccs log to me instead of the command " ccs::reset_to_debug" result, such as&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 15pt; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;"I get a message that says "Library not found.""&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 15pt; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;The full log start from the first command you use the ccs.&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 15pt; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 06:51:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415136#M5492</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-22T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415424#M5493</link>
      <description>&lt;P&gt;Attached is a .txt with the RCW output.&amp;nbsp; I ran the command you specified "ccs::reset_to_debug" at the end and it did not give the "library not found" message, but it did not display any other info.&lt;/P&gt;&lt;P&gt;I have also done a similar capture for the DDR config registers and attached that.&amp;nbsp; I cannot find anything wrong.&amp;nbsp; In fact these values used with GreenHills probe actually seem to pass and get D_INIT to clear, however D_INIT does not clear when I use the same values with QCVS tool.&amp;nbsp; I'm not sure what the difference is between using GH probe vs CWTAP.&amp;nbsp; I'd appreciate any ideas.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 17:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415424#M5493</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-22T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415574#M5494</link>
      <description>&lt;P&gt;"ccs::reset_to_debug" work correctly.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please confirm if &lt;/SPAN&gt;&lt;SPAN&gt;errata_A009942 is needed&lt;/SPAN&gt;&lt;SPAN&gt;, if it's needed&lt;/SPAN&gt;&lt;SPAN&gt;, please unzip the attached hotfix Optimization.zip to override existing Optimization folder within the CodeWarrior PA installation folder. there will be present C:\Freescale\CW_PA_v10.5.1\eclipse\Optimization\resources\QorIQ\DDR\templates\init\errata_A009942.py&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Confirm the general guide &lt;/SPAN&gt;&lt;SPAN&gt;as below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;creating a new QCVS project&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - choose "Auto configuration" and "Discrete DRAM"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - DRAM Speed Rating = Max speed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (e.g., max 3200 MT/s, see datasheet).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; - "Output data rate" choose "xxx MT/s"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Current working speed, e.g. &lt;/SPAN&gt;&lt;SPAN&gt;13&lt;/SPAN&gt;&lt;SPAN&gt;00MT/s, this data rate must match the DRAM speed configured in RCW image)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - "Rank/Chip select" choose "x"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (single CS or dual CS)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - "tCL" choose "xx"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (according to speed bin table in DRAM data sheet)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - "DRAM configuration per device" choose "xx"&amp;nbsp;&amp;nbsp;&amp;nbsp; (see DRAM data sheet)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - fill the proper CLK-to-QDS skews&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (measure lengths of CLK and DQS signals via EDA tool, CLK length - DQS length)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CLK length minus DQS length, example:&lt;/P&gt;
&lt;P&gt;CLK-to-DRAM0 length = 100 mm&lt;/P&gt;
&lt;P&gt;CLK-to-DRAM1 length = 101 mm&lt;/P&gt;
&lt;P&gt;DQS[0] length = 75 mm&lt;/P&gt;
&lt;P&gt;DQS[1] length = 110 mm&lt;/P&gt;
&lt;P&gt;CLK-to-DQS[0] skew = 100 mm - 75 mm = 25 mm&lt;/P&gt;
&lt;P&gt;CLK-to-DQS[1] skew = 101 mm - 110 mm = -9 mm&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- CLK trace length must be equal to or longer than DQS trace length within 10 inches.&lt;/P&gt;
&lt;P&gt;- If MCK trace length is shorter than DQS trace length, it must be within 2.0 inches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DQ mapping - Controller pins:&lt;/P&gt;
&lt;P&gt;If DQ bit swapping is used on your actual board, user must configure this in QCVS to match the actual PCB layout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIMING_CFG_1_and_3:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - tCL/tRCD/rRP/tRAS&amp;nbsp; this value refers to DRAM datasheet to match the current working speed rate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - tWR (Write Recovery Time, Last data to precharge minimum interval), this value refers to DRAM datasheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - tRRD(Activate-to-activate interval) this value refers to DRAM datasheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIMING_CFG_2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - tFAW(Four Activate Window), this value refers to DRAM datasheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;user should ensure those board-specific and DRAM-specific configurations match the actual hardware.&lt;/P&gt;
&lt;P&gt;for other most of options, use the default QCVS preset value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2026 07:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415574#M5494</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-23T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415793#M5495</link>
      <description>&lt;P&gt;I am currently working with my procurement to get NDA in place so that I can get full errata documentation.&amp;nbsp; However, I am using component&amp;nbsp;T1042NXE7MQB and Google/NXP forum search seems to suggest that errata&amp;nbsp;A009942 applies.&lt;/P&gt;&lt;P&gt;Can you please provide the referenced "Optimization.zip," I do not see it attached anywhere.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2026 16:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415793#M5495</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-23T16:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415910#M5496</link>
      <description>&lt;P&gt;Sorry miss the attachment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2026 06:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2415910#M5496</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-24T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416197#M5499</link>
      <description>&lt;P&gt;Hello June,&lt;/P&gt;&lt;P&gt;Thanks for providing the files and the continued support.&amp;nbsp; I followed your guidelines for QCVS DDRv tool set up and I tried out the errata #A009942&amp;nbsp;workaround today and it did not seem to make a difference.&amp;nbsp; I looked into the script itself and it only seems to be applying the workaround for specific frequencies of 667MHz and 800MHz.&amp;nbsp; I am currently running at 650MHz due to errata #007864 which claims there might be issues with the DDR interface when running at 800MHz for width 32-bit or less.&amp;nbsp; Is there a debug register value that needs to be set for 650MHz?&amp;nbsp;&lt;/P&gt;&lt;P&gt;This design is using a single 100MHz clock source so my only options for DDR frequency appear to be 650MHz, 700MHz, 750MHz, and 800MHz for DDR4.&amp;nbsp; Should I be using a different frequency other than 650MHz for 32-bit mode?&lt;/P&gt;&lt;P&gt;I am still suspicious of the DQ map values.&amp;nbsp; You actually helped me verify the values a few months ago in another post:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/T-Series/T1042-DDR4-DQ-MAP-Register-Settings/m-p/2381651/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1RR0JFMVROWTdZN0lWfDIzODE2NTF8U1VCU0NSSVBUSU9OU3xoSw#M5437" target="_blank"&gt;T1042 DDR4 DQ MAP Register Settings&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a noted difference between this design and the other instance of working T1042 DDR4 on our site.&amp;nbsp; They used 64-bit and only had minor bit swapping on the most significant byte.&amp;nbsp; We have a known bad bit swap on the MSB of our 64-bit interface which is why we are attempting 32-bit mode as workaround.&amp;nbsp; We have a lot more swapping than the working design including a full nibble swap within a byte lane, however the 32-bit LSBs of the interface appear to follow the rules for what is allowed by the T1042 controller.&amp;nbsp; Are different combinations of the DQ map swapping known to be working?&amp;nbsp; Can you take another look&amp;nbsp; at the values we are using to verify?&amp;nbsp; Register value and schematic captures included for convenience.&amp;nbsp; The other end at the DDR4 device is a direct 1:1 mapping, so the swapping appears only at the T1042 side for clarity.&lt;/P&gt;&lt;P&gt;Thanks again for the continued support.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2026 23:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416197#M5499</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-24T23:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416733#M5500</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157638"&gt;@dbevans42&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A-009942 at 650 MHz should be applied in the script, you could add one more line&amp;nbsp; same as 667 to include this.&lt;/P&gt;
&lt;P&gt;Please kindly share the DDR device part schematics to confirm the DQ mapping.&lt;/P&gt;
&lt;P&gt;If the DQ mapping cross the MAP, we have one debug mode, it is a temporary solution till you fix your board.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;set the data rate to 1200MT/s&lt;/LI&gt;
&lt;LI&gt;set DDR_SDRAM_CFG_2[DDR_SLOW] = 1&lt;/LI&gt;
&lt;LI&gt;set DDR register at offset 0x8F04[27] = 1, or write a value of 0x10 to offset 0x8F04.&lt;/LI&gt;
&lt;LI&gt;clear all DDR_DQ_MAPn registers&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2026 10:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416733#M5500</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-28T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416816#M5501</link>
      <description>&lt;P&gt;My last post to you on Thursday 9/24 I attached the relevant schematic screenshots for DQ[0:31] and ECC.&amp;nbsp; I'm including the snapshots again of the whole 64-bit interface with the erroneous bit swap highlighted.&lt;/P&gt;&lt;P&gt;Thank you for the additional workaround.&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;If I add 650MHz to the &lt;SPAN&gt;A009942&amp;nbsp;&lt;/SPAN&gt;script what value should be written?&amp;nbsp; Should it be the same as 667MHz?&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Is the new &lt;SPAN&gt;1200MT/s&amp;nbsp;&lt;/SPAN&gt;workaround you listed meant to make 64-bit mode work even with the erroneous swap, or do we need to continue trying 32-bit mode?&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;Is there a way to do the workaround using the DDRv tool?&amp;nbsp;&amp;nbsp;Otherwise I will try it within our GreenHills probe startup script and report back with results.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2026 16:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416816#M5501</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-28T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416870#M5502</link>
      <description>&lt;P&gt;Hello June,&lt;/P&gt;&lt;P&gt;I was able to implement the workaround you listed within our GreenHills probe startup script and from what we can tell the DDR4 interface is now working.&amp;nbsp; We can load code into DDR4 and start executing and I am able to see the initialized data value in DDR4 using the GH probe memory view.&amp;nbsp; Script attached for review.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1) Can you provide more detail on the debug mode?&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Does the debug mode workaround only function at 1200MT/s or can it be run faster?&lt;/P&gt;&lt;P&gt;3) Is there a bug in the function of the DQ map registers?&amp;nbsp; I need to be sure that the DQ map registers actually work as advertised and that if I fix the mistaken DQ57 and DQ63 swap in a new spin that it will still work without the debug mode.&lt;/P&gt;&lt;P&gt;4) Is there a bug/issue with 32-bit mode?&amp;nbsp; It does not make sense that 32-bit mode without debug workaround does not work since we follow the mapping rules for those bits.&lt;/P&gt;&lt;P&gt;5) Is there a way to run workaround debug mode and use QCVS DDRv tool to get correct write leveling values?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2026 22:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416870#M5502</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-28T22:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416875#M5503</link>
      <description>&lt;P&gt;Not sure DDR4 has 64BIT BUS WIDTH product. Do you mean LPDDR4?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2026 23:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416875#M5503</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-09-28T23:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416876#M5504</link>
      <description>&lt;P&gt;It is DDR4.&amp;nbsp; This is a discrete design, not DIMM, so we have five 1G x 16-bit devices (64-bit + 8-bit ECC).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2026 23:06:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416876#M5504</guid>
      <dc:creator>dbevans42</dc:creator>
      <dc:date>2026-09-28T23:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416922#M5505</link>
      <description>&lt;P&gt;what the lowest clock freq to make the initialization work? Or the initiliazaion can not work at all. Have you check the schematics and layout based on hardware guideline? It would be helpful if you share the DDR4 part number to better review&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2026 03:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416922#M5505</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-09-29T03:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: T1042 DDR4 Initialization Failure</title>
      <link>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416924#M5506</link>
      <description>&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/157638"&gt;@dbevans42&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;This is a debug-only workaround that allows a DDR4 board with incorrect bit swapping to operate at a reduced data rate, helping to confirm that no other board-level issues exist. However, the board design must eventually be corrected according to AN5097.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;The maximum supported data rate in this mode is 1200 MT/s.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Here the explanation from internal team:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;DEBUG_2[27:FRC_SE] means that slow enable is forced low, this can be used to allow DDR4 to train the CAS to preamble and RX bit deskew by slowing the interface down during writes to memory. Normally, DDR4 will train by issuing MRS commands to the multi-purpose register(s) instead of writes. If FRC_SE bit is set, then MPRR and MPRW commands are not supported. In addition, this also means that VRef training is not supported (for Internal or DRAM VRef training) if FRC_SE is set.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;&amp;nbsp;QCVS validation does not support this workaround; it is useful for DDR init software debug only, and the required settings must be incorporated in DDR init before memory enable.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;I have reviewed the schematic screenshots you provided and noticed that the T1042 pin numbers shown in your MPU library do not match those in the datasheet.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Could you please verify that the correct MPU library is being used? In addition, please provide the complete schematic symbols (library definitions) for both the T1042 and the DDR4 device. You may also want to double-check why the T1042 pin numbers in your schematic differ from those specified in the datasheet.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="libcompare.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/396989iDED507A826F225A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="libcompare.png" alt="libcompare.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_4bfbcd67fd4b97June_Lu_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt;"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2026 04:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/T1042-DDR4-Initialization-Failure/m-p/2416924#M5506</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2026-09-29T04:09:54Z</dc:date>
    </item>
  </channel>
</rss>

