我有一个自制的rt1170的板卡,SDRAM与开发板不同,按照MCU Boot utility的\NXP-MCUBootUtility-3.5.0\src\targets\MIMXRT1176\evkmimxrt1170_xip_boot_header_dcd.bin和配置的dcd.c文件,生成新的dcd.bin文件,但烧录hello world程序后,程序无法运行,链接文件使用的是hello world这个demo 的sdram_txt.icf,我想问下,MCU BOOt Utility使用dcd.bin文件时,如何指定SDRAM的时钟,我的SDRAM运行在132MHz,不是官方开发板的198MHz,而且没有DQS信号,dcd.bin 和dcd.c见附件。
另:如果使用链接文件ram.icf ,然后在应用中对SDRAM进行初始化,是可以正常访问的,数据校验是OK的,说明硬件没问题。
已解决! 转到解答。
Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
不需要系统起来后对SDRAM再次进行初始化,我觉得你还是DCD没有配置好, 你可以通过MCUXpresso Config Tools工具调整DCD并导出DCD.bin文件。
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
经过测试发现,只要把SEMC_MCR由默认的0x10000004改为0x10000000,即禁用SDRAM的DQS信号,则生成的dcd.bin文件经MCU BootUtility导入并烧录应用程序后,程序就无法运行(在rt1170-EVK开发板上测试),请问BOOTROM在使用DCD数据初始化SDRAM时,一定要用到DQS新号吗
/* #1.128, command: write_value, address: SEMC_MCR, value: 0x10000000, size: 4 */
0x40, 0x0D, 0x40, 0x00, 0x10, 0x00, 0x00, 0x00,
Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
不需要系统起来后对SDRAM再次进行初始化,我觉得你还是DCD没有配置好, 你可以通过MCUXpresso Config Tools工具调整DCD并导出DCD.bin文件。
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------