Difference between DCD and XMCD formats

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Difference between DCD and XMCD formats

跳至解决方案
2,578 次查看
Juozas
Contributor III

Dear Forum,

Can someone explain the difference between DCD and XMCD data formats? Using MCUXpresso IDE with iMXRT1170-EVK, the IDE constantly generates both dcd.h and xmcd.h files.

I know that XMCD stands for eXternal Memory Configuration Data and DCD for Device Configuration Data, but for me it seems they overlap quite a bit. Is there any advantages of using XMCD format? We have a custom board with HyperFlash NOR, SDRAM and eMMC.

Regards,

0 项奖励
回复
1 解答
2,555 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Juozas ,

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  Both DCD and XMCD can be used to configure the SEMC for the SDRAM.

 DCD will configure the register value one by one.

 XMCD is the new method, you don't need like the DCD to configure each register, you just need to configure the related header, then the ROM will help you do a lot of thinks to configure the external memory.

 Anyway, you just need to use one, if you use DCD, don't need XMCD, if use XMCD, no need DCD.

You can use :

XIP_BOOT_HEADER_DCD_ENABLE
or
XIP_BOOT_HEADER_XMCD_ENABLE

to select it.

I also have write 2 ppt pages about it.

kerryzhou_0-1715322357373.png

kerryzhou_1-1715322392464.png

 

Wish it helps you!

If you still have question about it, please kindly let me know.

If your question is solved, please help me to mark the correct answer, just to close this case, thanks.

Any new issues, welcome to create the new question post, thanks.

Best Regards,

kerry

 

 

 

 

 

在原帖中查看解决方案

3 回复数
2,547 次查看
Juozas
Contributor III

Thank you for the reply, @kerryzhou .
So both DCD and XMCD are purely imxrt1170 BootROM features? XMCD is newer and easier format and DCD is older format (register dump), is that correct? Are there any performance differences comparing DCD and XMCD?

0 项奖励
回复
2,533 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Juozas ,

  You are always welcome!

  Yes, both DCD and XMCD is the BootROM features.

  XMCD is newer and easier format and DCD is older format!

   No performance difference, as totally the same configuration, just to the XMCD, ROM do more things, to let the customer code more simple.

 

Wish it helps you!

If you still have question about it, please kindly let me know.

If your question is solved, please help me to fill the feedback as resolved, thanks.

Any new issues, welcome to create the new question post, thanks.

Best Regards,

Kerry

 

 

0 项奖励
回复
2,556 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Juozas ,

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  Both DCD and XMCD can be used to configure the SEMC for the SDRAM.

 DCD will configure the register value one by one.

 XMCD is the new method, you don't need like the DCD to configure each register, you just need to configure the related header, then the ROM will help you do a lot of thinks to configure the external memory.

 Anyway, you just need to use one, if you use DCD, don't need XMCD, if use XMCD, no need DCD.

You can use :

XIP_BOOT_HEADER_DCD_ENABLE
or
XIP_BOOT_HEADER_XMCD_ENABLE

to select it.

I also have write 2 ppt pages about it.

kerryzhou_0-1715322357373.png

kerryzhou_1-1715322392464.png

 

Wish it helps you!

If you still have question about it, please kindly let me know.

If your question is solved, please help me to mark the correct answer, just to close this case, thanks.

Any new issues, welcome to create the new question post, thanks.

Best Regards,

kerry