Difference between DCD and XMCD formats

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difference between DCD and XMCD formats

Jump to solution
1,975 Views
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 Kudos
Reply
1 Solution
1,952 Views
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

 

 

 

 

 

View solution in original post

3 Replies
1,944 Views
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 Kudos
Reply
1,930 Views
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 Kudos
Reply
1,953 Views
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