Trying to Read/Write SCFG_EMIIOCR Register on T1024RDB

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

Trying to Read/Write SCFG_EMIIOCR Register on T1024RDB

跳至解决方案
1,081 次查看
zbowe
Contributor I

Hello,

I am currently trying to read SCFG_EMIIOCR register on the T1024RDB, but when I use command md 0xfc404 it shows the contents as deadbeef. This is the address with the offset included from the reference manual. I am wondering if there is a register offset I am missing or something else wrong. Please advise. 

Zachary Bowe

0 项奖励
回复
1 解答
1,060 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

 

This is because the  F_C000h Address is also an offset (Offset address of the CCSR register) that has a base address of FE00_0000h.

So, please try FE00_0000h + F_C000h + 404h =  0xFE0FC404.

 

Try it on U-boot:

=> md 0xfe0fc404

 

Regards.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,061 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

 

This is because the  F_C000h Address is also an offset (Offset address of the CCSR register) that has a base address of FE00_0000h.

So, please try FE00_0000h + F_C000h + 404h =  0xFE0FC404.

 

Try it on U-boot:

=> md 0xfe0fc404

 

Regards.

0 项奖励
回复
1,038 次查看
zbowe
Contributor I

Hello,

Thanks for your reply. I tried that and was able to write to the register. I am now trying to solve a dependency issue of EC2 on EC1. EC2 requires EC1 to be connected in order to work properly. Other NXP support has suggested that setting bit 4 of the word at address 0xfe0fc404 would select EC2_GTX_CLK125 and solve my dependency issue. However, on the devboard (T1024RDB) I am getting the following output of all zeroes. This makes me skeptical that this is the source of the issue. I would greatly appreciate any advice you can give.

zbowe_0-1750767158455.png

I expected bit 4 of the word at 0xfe0fc404 to be 1, as I am trying to select EC2_GTX_CLK125.

0 项奖励
回复