MPC5777C CSE and UTEST region reading problem

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

MPC5777C CSE and UTEST region reading problem

跳至解决方案
1,794 次查看
oloo
Contributor I

Hi,

I am facing problem with reading CSE and UTEST of MPC5777C. Reading function just stops.

I can successfully read any other flash region except CSE and UTEST. What could be the issue?

Should i additionally enable those regions?

 

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

Hi,

this is expected behavior:

lukaszadrapa_0-1611644515065.png

Regards,

Lukas

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,774 次查看
oloo
Contributor I

Could You please give me more hints, still i cant read UTEST area.

Documenattaion says "UTest NVM block is enabled only when MCR[PEAS] is high"

so i am doing:

M55FMC.TMD = 0x2D3C4B5A;

Once the next reset is asserted, Test mode will be disabled.

and after that i am setting MCR[PEAS] = 1;

but still cant read UTEST. What other steps has to be taken?

 

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

Hi,

this is expected behavior:

lukaszadrapa_0-1611644515065.png

Regards,

Lukas

 

0 项奖励
回复
1,783 次查看
oloo
Contributor I

Thank You for the hint. So regarding documentation after:

C55FMC.TMD.R = 0x2D3C4B5A;

i should be able to read UTEST unless pass is changed. And fter correctly setting LOCK1 registers i should be able to write.

I mean to set PASS_LOCK1_PGn i have to modify UTEST DCF records.

am i right?

 

0 项奖励
回复