<?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 Processors中的主题 Re: iMX8M Plus LPDDR4 Config Tool failure</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979547#M230004</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The device is correctly detected in serial download mode.&lt;/P&gt;
&lt;P&gt;It is not stablishing the UART connection and causing a time out.&lt;/P&gt;
&lt;P&gt;After the UART port change in DDR tool you should be able to run the DDR stress test.&lt;/P&gt;
&lt;P&gt;Could you please confirm that there is not an issue in UART-USB section of your design?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 21:43:51 GMT</pubDate>
    <dc:creator>JorgeCas</dc:creator>
    <dc:date>2024-10-22T21:43:51Z</dc:date>
    <item>
      <title>iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979486#M230001</link>
      <description>&lt;P&gt;First design using iMX8M Plus. Lots of prior experience with iMX8M Mini.&lt;/P&gt;&lt;P&gt;I am using NXP i.MX Config Tools v16.1 to check LPDDR4 on new custom hardware.&lt;/P&gt;&lt;P&gt;Using uuu -lsusb, I get the following output when custom board connected to PC:&lt;/P&gt;&lt;PRE&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53&lt;BR /&gt;&lt;BR /&gt;Connected Known USB Devices&lt;BR /&gt;Path Chip Pro Vid Pid BcdVersion Serial_no&lt;BR /&gt;====================================================================&lt;BR /&gt;1:3 MX865 SDPS: 0x1FC9 0x0146 0x0002 0D10180085FE787F&lt;/PRE&gt;&lt;P&gt;So I believe the board is connecting properly via USB.&lt;/P&gt;&lt;P&gt;The problem, I think, is that our custom board is using debug console UART1 on different pins due to muxing limitations.&lt;/P&gt;&lt;P&gt;So I have modified the lpddr4_config.ds to have the following lines:&lt;/P&gt;&lt;PRE&gt;################step 0: configure debug uart port. Assumes use of UART IO Pads. #####&lt;BR /&gt;##### If using non-UART pads (i.e. using other pads to mux out the UART signals), #####&lt;BR /&gt;##### then it is up to the user to overwrite the following IO register settings #####&lt;BR /&gt;# Custom UART IOMUX config&lt;BR /&gt;memory set 0x3033019C 32 0x00000004 #IOMUXC_SW_MUX_CTL_PAD_SAI2_RXFS&lt;BR /&gt;memory set 0x303301A0 32 0x00000004 #IOMUXC_SW_MUX_CTL_PAD_SAI2_RXC&lt;BR /&gt;memory set 0x303303FC 32 0x00000016 #IOMUXC_SW_PAD_CTL_PAD_SAI2_RXFS&lt;BR /&gt;memory set 0x30330400 32 0x00000016 #IOMUXC_SW_PAD_CTL_PAD_SAI2_RXC&lt;BR /&gt;memory set 0x303305E8 32 0x00000003 #IOMUXC_SW_MUX_UART1_SEL_RXD&lt;BR /&gt;&lt;BR /&gt;#memory set 0x30330220 32 0x00000000 #IOMUXC_SW_MUX_UART1_RXD&lt;BR /&gt;#memory set 0x30330224 32 0x00000000 #IOMUXC_SW_MUX_UART1_TXD&lt;BR /&gt;#memory set 0x30330480 32 0x00000016 #IOMUXC_SW_PAD_UART1_RXD&lt;BR /&gt;#memory set 0x30330484 32 0x00000016 #IOMUXC_SW_PAD_UART1_TXD&lt;BR /&gt;#memory set 0x303305E8 32 0x00000004 #IOMUXC_SW_MUX_UART1_SEL_RXD&lt;BR /&gt;sysparam set debug_uart 0 #UART index from 0 ('0' = UART1, '1' = UART2, '2' = UART3, '3' = UART4)&lt;/PRE&gt;&lt;P&gt;Unfortunately, this is as far as the Logs get when doing the Firmware Init test:&lt;/P&gt;&lt;PRE&gt;#################### Result for: phy_init ###### Run 1 #############################################Microsoft Windows [Version 10.0.22631.4317]&lt;BR /&gt;(c) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;C:\nxp\i.MX_CFG_v16.1\bin&amp;gt;prompt test-prefix :&lt;BR /&gt;&lt;BR /&gt;test-prefix : "C:/nxp/i.MX_CFG_v16.1/bin/python3/python" "C:/nxp/i.MX_CFG_v16.1/bin/python3/memtool/memtool_entry.py" -t "runtest" -d "C:/ProgramData/NXP/mcu_data_v16/processors/MIMX8ML6xxxKZ/ksdk2_0/mem_validation/ddrc" -p "C:/Users/evanc/AppData/Local/Temp/mem_validation/phy_training_phy_test_0_0_.log" -l INFO "C:/Users/evanc/AppData/Local/Temp/mem_validation/connect.json" "C:/Users/evanc/AppData/Local/Temp/mem_validation/test.json" "C:/Users/evanc/AppData/Local/Temp/mem_validation/phy.json" "C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_registers.json" "C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_config.json" "C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_config_in.json"&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/connect.json&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/test.json&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/phy.json&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_registers.json&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_config.json&lt;BR /&gt;INFO memtool.utils.helper *****C:/Users/evanc/AppData/Local/Temp/mem_validation/ddrc_config_in.json&lt;BR /&gt;INFO memtool.phyinit.phy_init Run phyinit for 2020.06\lpddr4&lt;BR /&gt;INFO memtool.comm.serial_channel Using serial: COM8&lt;BR /&gt;ERROR memtool.comm.serial_channel Cannot receive data from target&lt;BR /&gt;ERROR:memtool.comm.serial_channel:Cannot receive data from target (63930ms since start, serial_channel.py:357)&lt;BR /&gt;ERROR memtool.common.base_test Application is not waiting for input state.&lt;BR /&gt;ERROR:memtool.common.base_test:Application is not waiting for input state. (63931ms since start, base_test.py:548)&lt;/PRE&gt;&lt;P&gt;Any ideas? If schematic is required, I can provide via email.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 18:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979486#M230001</guid>
      <dc:creator>evancornell</dc:creator>
      <dc:date>2024-10-22T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979547#M230004</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The device is correctly detected in serial download mode.&lt;/P&gt;
&lt;P&gt;It is not stablishing the UART connection and causing a time out.&lt;/P&gt;
&lt;P&gt;After the UART port change in DDR tool you should be able to run the DDR stress test.&lt;/P&gt;
&lt;P&gt;Could you please confirm that there is not an issue in UART-USB section of your design?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 21:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979547#M230004</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2024-10-22T21:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979556#M230005</link>
      <description>&lt;P&gt;Jorge,&lt;/P&gt;&lt;P&gt;Per &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122649"&gt;@brenolima&lt;/a&gt; 's suggestion via email, I tried using the older DRAM tool (&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;With that, the process went further, but still failed.&lt;/P&gt;&lt;PRE&gt;Download is complete&lt;BR /&gt;Waiting for the target board boot...&lt;BR /&gt;&lt;BR /&gt;********Found PMIC PCA9450**********&lt;BR /&gt;hardware_init exit&lt;BR /&gt;&lt;BR /&gt;*************************************************************************&lt;BR /&gt;&lt;BR /&gt;*************************************************************************&lt;BR /&gt;&lt;BR /&gt;*************************************************************************&lt;BR /&gt;MX8 DDR Stress Test V3.30&lt;BR /&gt;Built on Nov 24 2021 13:52:12&lt;BR /&gt;*************************************************************************&lt;BR /&gt;&lt;BR /&gt;Waiting for board configuration from PC-end...&lt;BR /&gt;&lt;BR /&gt;--Set up the MMU and enable I and D cache--&lt;BR /&gt;- This is the Cortex-A53 core&lt;BR /&gt;- Check if I cache is enabled &lt;BR /&gt;- Enabling I cache since it was disabled &lt;BR /&gt;- Push base address of TTB to TTBR0_EL3 &lt;BR /&gt;- Config TCR_EL3 &lt;BR /&gt;- Config MAIR_EL3 &lt;BR /&gt;- Enable MMU &lt;BR /&gt;- Data Cache has been enabled &lt;BR /&gt;- Check system memory register, only for debug&lt;BR /&gt;&lt;BR /&gt;- VMCR Check:&lt;BR /&gt;- ttbr0_el3: 0x97d000&lt;BR /&gt;- tcr_el3: 0x2051c&lt;BR /&gt;- mair_el3: 0x774400&lt;BR /&gt;- sctlr_el3: 0xc01815&lt;BR /&gt;- id_aa64mmfr0_el1: 0x1122&lt;BR /&gt;&lt;BR /&gt;- MMU and cache setup complete&lt;BR /&gt;&lt;BR /&gt;*************************************************************************&lt;BR /&gt;ARM clock(CA53) rate: 1800MHz&lt;BR /&gt;DDR Clock: 2000MHz&lt;BR /&gt;&lt;BR /&gt;============================================&lt;BR /&gt;DDR configuration&lt;BR /&gt;DDR type is LPDDR4&lt;BR /&gt;Data width: 32, bank num: 8&lt;BR /&gt;Row size: 17, col size: 10&lt;BR /&gt;One chip select is used &lt;BR /&gt;Number of DDR controllers used on the SoC: 1&lt;BR /&gt;Density per chip select: 4096MB &lt;BR /&gt;Density per controller is: 4096MB &lt;BR /&gt;Total density detected on the board is: 4096MB &lt;BR /&gt;============================================&lt;BR /&gt;&lt;BR /&gt;MX8M-plus: Cortex-A53 is found&lt;BR /&gt;&lt;BR /&gt;*************************************************************************&lt;BR /&gt;&lt;BR /&gt;============ Step 1: DDRPHY Training... ============&lt;BR /&gt;---DDR 1D-Training @2000Mhz...&lt;BR /&gt;[Process] End of CA training&lt;BR /&gt;[Process] End of initialization&lt;BR /&gt;[Process] End of read enable training&lt;BR /&gt;[Process] End of fine write leveling&lt;BR /&gt;[Process] End of read DQ deskew training&lt;BR /&gt;[Process] End of MPR read delay center optimization&lt;BR /&gt;[Process] End of Write Leveling coarse delay&lt;BR /&gt;[Process] End of write delay center optimization&lt;BR /&gt;[Process] End of read delay center optimization&lt;BR /&gt;[Process] End of max read latency training&lt;BR /&gt;[Result] PASS&lt;BR /&gt;---DDR 2D-Training @2000Mhz...&lt;BR /&gt;[Process] End of initialization&lt;BR /&gt;[Process] End of 2D write delay/voltage center optimization&lt;BR /&gt;[Process] End of 2D write delay/voltage center optimization&lt;BR /&gt;[Process] End of 2D read delay/voltage center optimization&lt;BR /&gt;[Process] End of 2D read delay/voltage center optimization&lt;BR /&gt;[Result] PASS&lt;BR /&gt;&lt;BR /&gt;============ Step 2: DDR memory accessing... ============&lt;BR /&gt;Verifying DDR frequency point0@2000MHz......Address of failure: 0x0000000040080000&lt;BR /&gt;Data read was: 0x0000000040000038&lt;BR /&gt;But pattern was: 0x0000000040000000&lt;BR /&gt;Failed&lt;BR /&gt;Please modify DDRC/DFI parameters!!!&lt;/PRE&gt;&lt;P&gt;Using the RPA spreadsheet tool (attached, but doesn't show the modified UART lines), and modifying the UART lines in the ds script, as I had attempted to do thru the Config GUI, ds file is attached.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 21:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979556#M230005</guid>
      <dc:creator>evancornell</dc:creator>
      <dc:date>2024-10-22T21:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979558#M230006</link>
      <description>&lt;P&gt;Also, there's no issue with USB-UART - using an external FTDI cable.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 21:53:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1979558#M230006</guid>
      <dc:creator>evancornell</dc:creator>
      <dc:date>2024-10-22T21:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1981524#M230119</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please share your LPDDR connections?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 21:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1981524#M230119</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2024-10-24T21:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1982045#M230145</link>
      <description>&lt;P&gt;See attached. Also see updated RPA.. the one I posted previously wasn't saved with the changes I made for our specific LPDDR4.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 12:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1982045#M230145</guid>
      <dc:creator>evancornell</dc:creator>
      <dc:date>2024-10-25T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1983073#M230193</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The only thing that I double check is the second chip select that is marked as NC in your LPDDR4 device. Please check that this is not an issue with your IC manufacturer.&lt;/P&gt;
&lt;P&gt;Your RPA file is also correctly configured.&lt;/P&gt;
&lt;P&gt;From first DDR tool log, I still thinking that the root cause is UART connection since is not able to stablish the connection.&lt;/P&gt;
&lt;P&gt;Since it is a custom board design and manufacturing technology are different from NXP reference board, and board related parameters may differ from initial DDR script, so please try tunning:&lt;BR /&gt;&lt;BR /&gt;ODTImpedance&lt;/P&gt;
&lt;P&gt;Desired ODT impedance in Ohm. Valid values for DDR4=240,120,80,60,40. Valid values for DDR3L=high-impedance,120,60,40. Valid values for LPDDR4=240,120,80,60,40&lt;/P&gt;
&lt;P&gt;TxImpedance&lt;/P&gt;
&lt;P&gt;Write Driver Impedance for DQ/DQS in ohm (Valid values for all DDR type= 240, 120, 80, 60, 48, 40, 34)&lt;/P&gt;
&lt;P&gt;ATxImpedance&lt;/P&gt;
&lt;P&gt;Write Driver Impedance for Address/Command (AC) bus in ohm (Valid values for all DDR type = 120, 60, 40, 30, 24, 20)&lt;/P&gt;
&lt;P&gt;Did you check signal integrity with a lower clock speed?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 15:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1983073#M230193</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2024-10-28T15:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1983080#M230195</link>
      <description>&lt;P&gt;Jorge,&lt;/P&gt;&lt;P&gt;I figured this out offline with &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122649"&gt;@brenolima&lt;/a&gt; 's assistance. He spotted that my LPDDR part had 2 CS lines and 16 rows instead of 1CS and 17 rows.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried with the older tool, and it passed calibration &amp;amp; stress test. DS files attached. I imported the same exact DS file to Config Tools and it failed. So maybe some error / difference between the two tools. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried with attached UART1 ds script on our modified UART1 pins and that worked just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would, however, like to be kept in the loop if the root cause of this issue is discovered and fixed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 15:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/1983080#M230195</guid>
      <dc:creator>evancornell</dc:creator>
      <dc:date>2024-10-28T15:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus LPDDR4 Config Tool failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/2261239#M242850</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;just for your information, I have also problems with the DDR tool in version 16 and above of the Config Tools.&lt;/P&gt;&lt;P&gt;IOMUX configuration for UART2:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Custom IOMUX config
memory set	0x303301C4	32	0x4
memory set	0x303301C8	32	0x4
memory set	0x30330424	32	0x16
memory set	0x30330428	32	0x16
memory set	0x303305F0	32	0x4&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last version that worked was 15.1. If I access the UART port here in a terminal, I actually get a new line when hitting any key.&lt;/P&gt;&lt;P&gt;With the newer versions the input seems to be not processed, so maybe the firmware does not listen at the port or the firmware hangs after the hardware_init:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;==================hardware_init=======================
[DEBUG]: Clock setup...
                       [INFO]: ARM core clock rate is 1800MHz...
                                                                [INFO]: DDR Dram frequency is 2000MHz...
                                                                                                        [DEBUG]: Clock setup ended...
             ==================hardware_init exit==================

&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this helps in some way. Would be glad to be able to use newer versions of the Config Tool for the i.MX8M Plus as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-LPDDR4-Config-Tool-failure/m-p/2261239#M242850</guid>
      <dc:creator>mueller</dc:creator>
      <dc:date>2025-12-12T12:22:36Z</dc:date>
    </item>
  </channel>
</rss>

