flash_example_mpc5746c Questions

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

flash_example_mpc5746c Questions

跳至解决方案
533 次查看
kimdukyu
Contributor II

Hi.

 

The register information of MPC5746C Reference Manual and S32DS is different.

kimdukyu_0-1659351471592.png

kimdukyu_1-1659351486259.png

 

What represents the correct register information? What if I want to unlock the mid block of 0x00FA000?

Is it okay to input the value of 0x00000000U in the mid block like the example program? please answer about my question.

 

Thank you

 

0 项奖励
回复
1 解答
527 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the confusing part here is that S32DS debugger obviously uses different bit ordering. The reference manual marks LSB bit as bit number 31 while S32DS marks LSB bit as 0.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
528 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the confusing part here is that S32DS debugger obviously uses different bit ordering. The reference manual marks LSB bit as bit number 31 while S32DS marks LSB bit as 0.

Regards,

Lukas

0 项奖励
回复