How to generate dcd.bin file for mfgtools use to flash RT1020

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

How to generate dcd.bin file for mfgtools use to flash RT1020

1,633 Views
binhu
Contributor II

We are trying to make a project to boot from spiflash to sdram on RT1020, But not be able to generate the dcd.bin file which used to initial the sdram when booting. In the bbs ,we found the dcd.bin for RT1050, but we can not use.

Can we generate this file by our self and How?

Thank you very much! 

Labels (2)
0 Kudos
2 Replies

1,191 Views
jay_heng
NXP Employee
NXP Employee

You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)

GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) RO... 

0 Kudos

1,191 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

 

 

  The DCD is described in section 8.7 (Program image) of i.MX RT1020

Reference Manual, Rev. 0, 06/2018. For an example, look at dcd_data[]

in “evkmimxrt1020_sdram_ini_dcd.c” of i.MX RT1020 SDK.

 

 SDRAM Datasheet provides information about required initialization

sequence. Also use section 46.4.6 (SDRAM Controller Operations) for

i.MX RT SEMC specifics regarding SDRAM functioning.

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 Kudos