DCD on iMXRT1021

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

DCD on iMXRT1021

跳至解决方案
2,063 次查看
chriscowdery
Contributor V

All,

 We are having problems with the DCD on the iMXRT1021. The problem is with the documentation, so we have some questions:

1. Both the RT1020 Reference Manual and the RT1050 Security Reference Manual mention in the Note for the DCD Write Command that any target address outside of the allowed region cause the whole command to be invalidated. They also promise a list of allowable blocks and target addresses, but these don’t appear anywhere in the documents. We need a list of allowed regions for the RT1021

2. Are the Watchdog1 registers in these allowed regions?

3. The MCUXpresso Config Tool gives a small list of allowed registers, and when I enter an ITCM address (0x0000F000 in this case) says that it is not allowed. However, when actually implementing a DCD Write Command to this address it successfully completes. Is RAM different to Peripheral Register addresses?

4. What happens if an individual command specifies a number of bytes that exceeds the total DCD size?

Thanks,

Chris.

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

Hi chriscowdery,

    1, The picture which I share with you is from the RT1050SRM:

image.png

    2. The table does not show any RAM? Does this mean the DCD cannot access any RAM region?

Answer: Yes, DCD need to use the valid address range in the table.

 

Wish it helps you!

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

Best Regards,

Kerry

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

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

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

    

在原帖中查看解决方案

3 回复数
2,038 次查看
chriscowdery
Contributor V

Hi Kerry,

 Thankyou. Two followup questions:

1. Where is the table you show for answer #2 ? Which document?

2. The table does not show any RAM? Does this mean the DCD cannot access any RAM region?

Thankyou.

Chris.

 

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

Hi chriscowdery,

    1, The picture which I share with you is from the RT1050SRM:

image.png

    2. The table does not show any RAM? Does this mean the DCD cannot access any RAM region?

Answer: Yes, DCD need to use the valid address range in the table.

 

Wish it helps you!

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

Best Regards,

Kerry

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

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

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

    

2,049 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi chriscowdery,

  

1. Both the RT1020 Reference Manual and the RT1050 Security Reference Manual mention in the Note for the DCD Write Command that any target address outside of the allowed region cause the whole command to be invalidated. They also promise a list of allowable blocks and target addresses, but these don’t appear anywhere in the documents. We need a list of allowed regions for the RT1021

Answer: image.png

 

2. Are the Watchdog1 registers in these allowed regions?

Answer:

image.png

You can find the WDOG is not in the list.

3. The MCUXpresso Config Tool gives a small list of allowed registers, and when I enter an ITCM address (0x0000F000 in this case) says that it is not allowed. However, when actually implementing a DCD Write Command to this address it successfully completes. Is RAM different to Peripheral Register addresses?

Answer: 

Please refer to the above picture which I share with you, you need to operate the address in the range.

4. What happens if an individual command specifies a number of bytes that exceeds the total DCD size?

Answer: I think if the size is exceeds, ROM will not copy the code which is out of size.

 

Wish it helps you!

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

Best Regards,

Kerry

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

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

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