i.MX6SDL DCD Data Check Command.

Showing results for 
Search instead for 
Did you mean: 

i.MX6SDL DCD Data Check Command.

Senior Contributor I

Hi community,

Our partner have some questions about i.MX6SDL DCD check data command (chapter in IMX6SDLRM Rev.1).

Please see their questions as following.


Would you let me know how long polling time to count the [Count] of check data command.

In other words, we want to know the term from count up (down?) and next count up (down?).

(e.g. 1/32768 [s])


When [Count] is set, what is happen if the exit condition is NOT satisfied and the poll count is reached to [Count]?

Stop at Check Data command? or skip Check Data Command?


We understand we can set [Count] to 0x00000000 ~ 0xFFFFFFFF (32bit).

Is this correct?


Could you let me know how to use [Count] option in flash_header.S?

In BSP (L3.0.35_4.1.0_ER), we know defined "MXC_DCD_ITEM(i, addr, val)", but we did not understand how to set [Count].

If you have a sample code, could you send me it?

Best Regards,

Satoshi Shimoda

Labels (2)
Tags (2)
0 Kudos
1 Reply

NXP Employee
NXP Employee


In regards Q1 and Q2, I have to delve into it a little more.

But the count should be the amount of times to check the register. I suppose there must be an amount of  asm instructions equivalent to this command. Also the command should be skipped and continue with the rest of the commands.

Q3: Yes, you should be able to set those values.

Q4: The IMXC_DCD_ITEM does not apply the count parameter.

You can find code in the imx6q sdk code. At least it shows the way you can create the check command:

#define CHK_DAT(flags, bytes, address, mask, count)                 \
    EXPAND_UINT32(address),                                     \
    EXPAND_UINT32(mask),                                        \

Best Regards,