Important: If you have any questions or would like to report any issues with the DDR tools or
supporting documents please create a support ticket in the i.MX community. Please note that any
private messages or direct emails are not monitored and will not receive a response.
注意: 请注意,i.MX 8M 系列已添加 DDR 支持,并且此功能也已在Config Tools for i.MX Applications Processors | NXP Semiconductors中添加。请考虑使用此工具以获取更多增强功能。
i.MX 8M 系列 DDR 工具是一款基于 Windows 的软件,旨在帮助用户进行 LPDDR4/DDR4/DDR3L 培训、压力测试以及为 u-boot SPL 生成 DDR 初始代码。 本页面包含 i.MX 8M 系列 DDR 工具的最新版本,支持以下 SoC:
NOTE: For the i.MX 8/8X Family of DDR tools please refer to the:
i.MX 8/8X Family DDR Tools Release
i.MX 8M 系列 DDR 工具旨在让用户能够根据设备配置(密度、芯片选择数量等)和板布局(数据总线位切换等)生成和测试自定义 DRAM 初始化。此过程使用户能够继续进行引导加载程序和操作系统的启动。操作系统启动后,建议运行基于操作系统的内存测试(如 Linux memtester)以进一步验证和测试 DDR 内存接口。
i.MX 8M 系列 DDR 工具包括:
有关这些 DDR 工具及其使用的更多详细信息,请参阅 i.MX 8M DDR Tools 用户指南。
i.MX 8M 系列 DDR 压力测试工具是一款基于 Windows 的软件工具,用于验证 DDR 初始化是否正常工作,以便与 u-boot 和操作系统启动过程配合使用。要安装 DDR 压力测试,您需要保存并解压缩 zip 文件 mscale_ddr_tool_vXXX_setup.exe.zip (其中“xxx”为当前版本号)并按照屏幕上的安装说明进行操作。
i.MX 8M DDR 工具包含以下文档:MSCALE_DDR_Tool_User_Guide
NOTE: Please read the MSCALE_DDR_Tool_User_Guide inside the package carefully before you
use this tool.
|
版本 |
主要变更*(特性) | 备注 |
|---|---|---|
| 3.31 |
|
|
| 3.30 |
|
|
| 3.20 |
|
|
| 3.10 |
|
|
| 3.00 |
|
请注意:DDR3L 和 LPDDR4 的 RPA 文件中包含"preliminary"标识,仅表示这些 RPA 基于 NXP 内部验证板开发,而 DDR4 RPA 则基于已发布的 EVK 开发。 |
| 2.10 |
|
|
| 2.00 |
|
* 更多详细信息请参阅发行说明
i.MX 8M 调试 UART2 的.ds 脚本示例配置:
################step 0: configure debug uart port. Assumes use of UART IO Pads. #####
|
||||
##### If using non-UART pads (i.e. using other pads to mux out the UART signals), #####
|
||||
##### then it is up to the user to overwrite the following IO register settings #####
|
||||
memory set
|
0x3033023C
|
32
|
0x00000000
|
#IOMUXC_SW_MUX_UART2_RXD
|
memory set
|
0x30330240
|
32
|
0x00000000
|
#IOMUXC_SW_MUX_UART2_TXD
|
memory set
|
0x303304A4
|
32
|
0x0000000E
|
#IOMUXC_SW_PAD_UART2_RXD
|
memory set
|
0x303304A8
|
32
|
0x0000000E
|
#IOMUXC_SW_PAD_UART2_TXD
|
memory set
|
0x303304FC
|
32
|
0x00000000
|
#IOMUXC_SW_MUX_UART2_SEL_RXD
|
sysparam set
|
debug_uart
|
1
|
#UART index from 0 ('0' = UART1, '1' = UART2, '2' = UART3, '3' = UART4)
|
|
i.MX 8M 调试 UART3 的.ds 脚本开头示例配置
################step 0: configure debug uart port. Assumes use of UART IO Pads. #####
|
||||
##### If using non-UART pads (i.e. using other pads to mux out the UART signals), #####
|
||||
##### then it is up to the user to overwrite the following IO register settings #####
|
||||
memory set
|
0x30330244
|
32
|
0x00000000
|
#IOMUXC_SW_MUX_UART3_RXD
|
memory set
|
0x30330248
|
32
|
0x00000000
|
#IOMUXC_SW_MUX_UART3_TXD
|
memory set
|
0x303304AC
|
32
|
0x0000000E
|
#IOMUXC_SW_PAD_UART3_RXD
|
memory set
|
0x303304B0
|
32
|
0x0000000E
|
#IOMUXC_SW_PAD_UART3_TXD
|
memory set
|
0x30330504
|
32
|
0x00000002
|
#IOMUXC_SW_MUX_UART3_SEL_RXD
|
sysparam set
|
debug_uart
|
2
|
#UART index from 0 ('0' = UART1, '1' = UART2, '2' = UART3, '3' = UART4)
|
|
i.MX 8M Mini PMIC 配置的.ds 脚本开头示例配置
##############step 0.5: configure I2C port IO pads according to your PCB design. ##### ########### You can modify the following instructions to adapt to your board PMIC #######
memory set
|
0x30330214
|
32
|
0x00000010
|
#IOMUXC_SW_MUX_I2C1_SCL
|
memory set
|
0x30330218
|
32
|
0x00000010
|
#IOMUXC_SW_MUX_I2C1_SDA
|
memory set
|
0x3033047C
|
32
|
0x000000C6
|
#IOMUXC_SW_PAD_I2C1_SCL
|
memory set
|
0x30330480
|
32
|
0x000000C6
|
#IOMUXC_SW_PAD_I2C1_SDA
|
sysparam set
|
pmic_cfg
|
0x004B
|
#bit[7:0] = PMIC addr,bit[15:8]=I2C Bus.
|
Bus index from 0 ('0' = I2C1, '1' = I2C2, '2' = I2C3, '3' = I2C4)
|
sysparam set
|
pmic_set
|
0x2F01
|
#bit[7:0] = Reg val, bit[15:8]=Reg addr.
|
#REG(0x2F) = 0x01
|
sysparam set
|
pmic_set
|
0x0C02
|
#REG(0x0C) = 0x02
|
|
sysparam set
|
pmic_set
|
0x171E
|
#REG(0x17) = 0x1E
|
|
sysparam set
|
pmic_set
|
0x0C00
|
#REG(0x0C) = 0x00
|
|
sysparam set
|
pmic_set
|
0x2F11
|
#REG(0x2F)=0x11
|
i.MX 8M DDR RPA(或简称为 RPA)是一款用于为用户特定的 DDR 配置(如 DDR 设备类型、密度等)开发 DDR 初始化的 Excel 电子表格工具。RPA 生成 DDR 初始化(在单独的 Excel 工作表标签中):
i.MX 8M 系列 DDR 寄存器编程辅助 (RPA):当前版本
要获取最新的 RPA,请参考以下链接(注意,现有的 RPA 已从本主页面移除,并移至下方特定于 SoC)的链接中):
i.MX 8M Quad:
i.MX 8M Mini :
i.MX 8M Nano:
i.MX 8M Plus:
| 处理器 | 掩模版本 | 支持的存储器 | 最新 RPA 版本 * |
|---|---|---|---|
| i.MX 8M Quad & Derivatives | 全部 | LPDDR4 | 启示录 33 |
| i.MX 8M Quad & Derivatives | 全部 | DDR4 | 版本 18 |
| i.MX 8M Quad & Derivatives | 全部 | DDR3L | Rev 9 |
| i.MX 8M Mini& 衍生产品 | A0 | LPDDR4 | 启示录 22 |
| i.MX 8M Mini及衍生产品 | A0 | DDR4 | 版本 21 |
| i.MX 8M Mini & 衍生产品 | A0 | DDR3L | 版本 10 |
| i.MX 8M Nano & 衍生产品 | A0 | LPDDR4 | Rev 9 |
| i.MX 8M Nano及其衍生产品 | A0 | DDR4 | 版本 12 |
| i.MX 8M Nano及其衍生产品 | A0 | DDR3L | Rev 6 |
| i.MX 8M Plus 及其衍生产品 | A1 | LPDDR4 | Rev 9 |
| i.MX 8M Plus 及其衍生产品 | A1 | DDR4 | Rev 9 |
* 有关更新的详细信息,请参阅相应 RPA 的“修订记录”选项卡。
要修改自定义设置的 DRAM 频率,请参阅iMX 8M Mini 寄存器编程辅助工具 DRAM PLL 配置
相关资源链接:
向下滚动到“其他资源 --> 工具 --> DDR 工具”
太好了。谢谢!