Setting censor mpc563

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Setting censor mpc563

2,655件の閲覧回数
mpowere36
Contributor I

Hi,

I have some difficulties to set censor bits of my mpc563 after clearing them. However, I follow the instructions given in the manual for setting censor (see picture attached).

My 2FC800 register is currently equal to 40 FF 00 FF and I want to set it to 41 FF 00 FF (censorship = 1).

Before setting the censor bit, I set the 2FC808 register (UC3FCTL) to 58 00 00 42 (CSC=1, PE=0, SES=1) as it is said in the manual but then, when I try to change the first byte of the 2FC800 register from 40 to 41, the value stay at 40. It is like I am not allowed to set the censor bits and I don't understand why.

If someone can help me, it would be very appreciated.

Thanks

0 件の賞賛
返信
3 返答(返信)

2,625件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I have found in the old ticket database some code snippet to enable censorship.

They should be both high to enable program of FLASH NVM location.

// Enable EPEE and BOEPEE
USIU.SGPIOCR.B.SDDRC = 0x60;
USIU.SGPIODT2.B.SGPIOC = 0x00;
while(UC3F_A.UC3FCTL.B.EPEE != TRUE);

UC3F_A.UC3FCTL.B.CSC =1;
UC3F_A.UC3FCTL.B.PE = 0;
UC3F_A.UC3FCTL.B.SES =1;
UC3F_A.UC3FMCR.B.CENSOR = INFORMATION_CENSORSHIP;
UC3F_A.UC3FCTL.B.EHV = 1;

So yes, please make sure you execute the set censor process from RAM.

Also check errata sheet for the device you are using, there are some mentions about censorship.

Unfortunately we cannot offer comprehensive support for these legacy family (MPC5xx) since we do have no expert.

0 件の賞賛
返信

2,618件の閲覧回数
mpowere36
Contributor I

Thank you for your reply. It seems that EPEE and BOEPEE are both set because the byte 0x2FC808 (UC3FCTL) is equal to 0x58=0b1011000.

I made a little video of my problem :

https://m.youtube.com/watch?v=gACG9_35JwU

How could execute the instructions of the MPC563 manual from RAM with my ICD software ?

 

0 件の賞賛
返信

2,608件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

I suppose it could certain RAM target in that version of CodeWarrior.

0 件の賞賛
返信