i.MX6SDL PMU_MISC2n reset value

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

i.MX6SDL PMU_MISC2n reset value

跳至解决方案
1,165 次查看
sugiyamatoshihi
Contributor V

Hi,

I'd like to know the reset value of REG # _ STEP_TIME in PMU_MISC2n.

It seems the value is all 11b just after reset when we read by debugger, but reference manual showed 00b.

Also it told 00b in A7 of https://community.nxp.com/message/880009 .

What is correct?

Best Regards,

Sugiyama

标签 (2)
0 项奖励
1 解答
1,077 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello  Toshishisa,

 

        The reset value of the register in reference manual is the value before ROM code. Therefore, the register value you see in debugger is the value after ROM code runs. Therefore, it is normal that the register value obtained by deugger is different from the reset value.


If you have any problems, you can reconfigure the register to the value you need in u-boot or kernel.

 

Have a nice day!

BR,

Weidong

在原帖中查看解决方案

0 项奖励
4 回复数
1,078 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello  Toshishisa,

 

        The reset value of the register in reference manual is the value before ROM code. Therefore, the register value you see in debugger is the value after ROM code runs. Therefore, it is normal that the register value obtained by deugger is different from the reset value.


If you have any problems, you can reconfigure the register to the value you need in u-boot or kernel.

 

Have a nice day!

BR,

Weidong

0 项奖励
1,077 次查看
sugiyamatoshihi
Contributor V

Hi, Weidong,

Thank you for your answer.

I understood we couldn't catch exact register value at the moment of reset.

I just curious that I couldn't see any code to manipulate that registers in disassembled ROM code by debugger after reset. Do you think it was debugger matter or  I just couldn't fined the ROM code? I couldn't check it because we don't have ROM source code.

Best Regards,

Sugiyama 

0 项奖励
1,077 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Toshishisa,

   ROM code is the internal microcode of CPU. We do not release its source code. If you have any problems, you can reconfigure the value of those registers in u-boot or kernel. Therefore, you don't have to worry about the values of those registers after ROM code runs.

Have a nice day!

BR,

Weidong

0 项奖励
1,077 次查看
sugiyamatoshihi
Contributor V

Hi, Weidong,

Thank you for the answer.

Customer understood it.

Best Regards,

Sugiyama

0 项奖励