about DCD verification(i.mx6)

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

about DCD verification(i.mx6)

629 Views
宗標廖
Contributor V

Hello, community

I have some questions about DCD verification.

In IMX6SDLRM 8.5.4.3 ECSPI Boot, there is description as bellow.

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

The boot ROM code copies 4 KB data from EEPROM device to the internal RAM. If

DCD verification is successful, the ROM code copies the initial 4 KB data, as well as the

rest of the image extracted from application image, directly to the application destination.

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

Q1)

Could you tell me the detail of DCD verification(How is the verification done)?

Q2)

If the DCD verification is failed,what is the next action?

Thank you!

ZongbiaoLiao

Labels (2)
0 Kudos
2 Replies

415 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

For Q1, you can think the DCD is a data struct, and it has some special tags. The boot ROM will verify if it is a valid DCD struct for boot up.

For Q2, that means boot failure happens, it will swicth to serial download mode.

0 Kudos

415 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Section 8.6.2 [Device Configuration Data (DCD)] of the RM describes

possible restrictions for DCD commands in NOTE comments.

In particular, Table 8-33 (Valid DCD Address Ranges) provides allowed

addresses to access.

    If the DCD verification is failed :
1) Redundant Boot  is activated (if enabled) ;

2) SD/MMC Manufacture Mode is entered (section 8.11 SD/MMC Manufacture Mode) ;

3) Serial (USB) bootloader is entered.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos