1104467_zh-CN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1104467_zh-CN

1104467_zh-CN

i.MX 8M系列 DDR 工具发布
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 工具概览

i.MX 8M 系列 DDR 工具是一款基于 Windows 的软件,旨在帮助用户进行 LPDDR4/DDR4/DDR3L 培训、压力测试以及为 u-boot SPL 生成 DDR 初始代码。 本页面包含 i.MX 8M 系列 DDR 工具的最新版本,支持以下 SoC:

  • i.MX 8M Quad及其衍生产品i.MX 8M Quadlite和i.MX 8M Dual
  • i.MX 8M Mini Quad 及其衍生产品 i.MX 8M Mini Quadlite/Dual/DualLite/Solo/SoloLite
  • i.MX 8M Nano Quad 及其衍生产品 i.MX 8M Nano Quadlite/Dual/DualLite/Solo/SoloLite
  • i.MX 8M Plus

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 寄存器编程辅助工具 (RPA)
  • MSCALE DDR 工具

 

有关这些 DDR 工具及其使用的更多详细信息,请参阅 i.MX 8M DDR Tools 用户指南。

 

i.MX 8M系列DDR工具


i.MX 8M 系列 DDR 压力测试工具是一款基于 Windows 的软件工具,用于验证 DDR 初始化是否正常工作,以便与 u-boot 和操作系统启动过程配合使用。要安装 DDR 压力测试,您需要保存并解压缩 zip 文件 mscale_ddr_tool_vXXX_setup.exe.zip  (其中“xxx”为当前版本号)并按照屏幕上的安装说明进行操作。


i.MX 8M 系列 DDR 工具 需求


  • 该工具需要访问Windows注册表,因此用户必须以管理员模式运行它
  • 当用户设计新的 i.MX 8M 系列开发板时,请务必遵循《硬件开发指南》和《MSCALE_DDR_Tool_User_Guide》中所述的规则,这将有助于用户在各自的 i.MX 8M 开发板上启动 DDR 设备。

i.MX 8M 系列 DDR 工具 用户指南


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.

i.MX8M DDR工具修订历史


版本

主要变更*(特性) 备注
3.31
  • 集成针对 8MQ ERR051273 的解决方案
 
3.30
  • 修复所有 i.MX 8M 系列的 DBI 启用问题
  • 自动识别 i.MX 8M Nano 板上的 ROHM 和 PCA9450 电源管理IC (PMIC)
  • 修复 4GB/8GB 内存测试工具问题
 
3.20
  • 为 i.MX 8M Plus 添加支持
 
3.10
  • 修复PC软件与目标板之间某些特定字符的UART通信问题。
  • 在生成的C代码中微调DDRPHY寄存器。
 
3.00
  • 为 i.MX8M-nano 添加支持
  • 添加对不同PMIC或PMIC配置的支持
  • 为所有DDR频率点添加压力测试支持
  • Nano 版 RPA 工具新增对 DDR3L 和 DDR4 的支持
请注意:DDR3L 和 LPDDR4 的 RPA 文件中包含"preliminary"标识,仅表示这些 RPA 基于 NXP 内部验证板开发,而 DDR4 RPA 则基于已发布的 EVK 开发。
2.10
  • 更改 DDR4 容量计算方法
 
2.00
  • 添加对 i.MX8M-mini 的支持
 

* 更多详细信息请参阅发行说明


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)

i.MX 8M DDR RPA(或简称为 RPA)是一款用于为用户特定的 DDR 配置(如 DDR 设备类型、密度等)开发 DDR 初始化的 Excel 电子表格工具。RPA 生成 DDR 初始化(在单独的 Excel 工作表标签中):

 

  • DDR 压力测试脚本:此格式专用于 DDR 压力测试,首先将本工作表中的内容复制到文本文件中,然后将该文件命名为“.ds”文件扩展名的文档。用户在执行DDR压力测试时将选择此文件。
  • 《如何使用Excel工作表》选项卡提供了使用 RPA 的说明。

 

i.MX 8M 系列 DDR 寄存器编程辅助 (RPA):当前版本

要获取最新的 RPA,请参考以下链接(注意,现有的 RPA 已从本主页面移除,并移至下方特定于 SoC)的链接中):

i.MX 8M Quad:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8M-m850D-DDR-Register-Programming-Ai...

i.MX 8M Mini :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MMini-m845S-DDR-Register-Programmin...

i.MX 8M Nano:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MNano-m815S-DDR-Register-Programmin...

i.MX 8M Plus:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8MPlus-m865S-DDR-Register-Programmi...

 

处理器 掩模版本 支持的存储器 最新 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 配置


相关资源链接:


i.MX 8M | i.MX 8M Mini | i.MX 8M Nano回复:i.MX 8M 系列 DDR工具发布<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

太好了。谢谢!

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎01-05-2026 02:27 AM
更新者: