MPC5643L: How to bypass self test(LBIST, MBIST)

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

MPC5643L: How to bypass self test(LBIST, MBIST)

2,051 次查看
rajakumaranazha
Contributor II

Hello,

We are using MPC5643L daughter board with MC33908 mother board for our evaluation testing.

codewarrior version:  "CW for MPC55xx and MPC56xx 2.10".

 

We could successfully power up the evaluation board in LSM as well as in DPM by updating the shadow flash memory.

 

We are testing the BIST feature available in MPC5643L. With default configuration in shadow memory, it executes the BIST(LBIST & MBIST) and the corresponding status are available in the relevant registers.

 

Now, we would like to bypass the self test by writing the below code in the shadow memory by using algorithm "Freescale_MPC5643L_1x32x4k_Shadow_Blk.pcp" & application "cw_progppcnexus.exe"

188951_188951.pngpastedImage_4.png##@

 

But even with above configuration code, the self test is being executed and status available as "Self-test complete" .

Can anyone help us with configuration procedure or additional settings required if any?

Original Attachment has been moved to: ShadowFlash_BypassBIST.S19.zip

标签 (1)
标记 (2)
8 回复数

1,713 次查看
petervlna
NXP TechSupport
NXP TechSupport

Ahh, now I see your issue.

You have to write to mirror of shadow flash.

Use the following (from Lauterbach debugger script) - data are correct but your start address must be 0x00FFC010.

Then it will work as expected.

Example:
;To config SelfTest_Disable (SelfTest Bypassed) mode
d.s EA:0x00FFC010 %BE %LONG 0x05AA55AF
d.s EA:0x00FFC014 %BE %LONG 0x00000000
d.s EA:0x00FFC018 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC01C %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC020 %BE %LONG 0x00000000
d.s EA:0x00FFC024 %BE %LONG 0x00080000
d.s EA:0x00FFC028 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC02C %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC030 %BE %LONG 0x00000900
d.s EA:0x00FFC034 %BE %LONG 0x0008000C
d.s EA:0x00FFC038 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC03C %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC040 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC044 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC048 %BE %LONG 0xFFFFFFFF
d.s EA:0x00FFC04C %BE %LONG 0xFFFFFFFF

Peter

0 项奖励
回复

1,713 次查看
rajakumaranazha
Contributor II

Hello Peter,

It is an very late reply, since we just now got the replacement kit and started working again!

There is no such memory region specified in the datasheet as mirror shadow flash.Is that address range valid?

The algorithm to access the shadow flash region doesn't cover the memory range mentioned by you.

pastedImage_1.png

0 项奖励
回复

1,713 次查看
petervlna
NXP TechSupport
NXP TechSupport

Yes, I agree with you it is not described in reference manual.

But if you want to configure self test you have to write to this mirror as I have posted above.

Peter

1,713 次查看
inakialonsoerre
Contributor II

Hello,

I know that the post is a bit old, but I'm trying to configure the self-test of my MPC5643L and I think that this post is what I was finding.

My question is how I can modify the shadow flash. I use Codewarrior for MCU version 10.6. Can I do that in codewarrior or I need other application?.

Thanks in advanced.

Iñaki

0 项奖励
回复

1,713 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

shadow flash is just like normal flash block.

You can use code, or you can use debugger to modify it.

Peter

1,713 次查看
inakialonsoerre
Contributor II

Hi,

Thank you so much for your answer. Finally, in case that anyone is in the same situation that I was, I used progppcnexus.exe to modify the shadow flash. I use a pemicro multilink universal fx programmer to program the microcontroller.

Iñaki

0 项奖励
回复

1,713 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The shadow flash content must be as described in reference manual:

pastedImage_1.png

I have always used Lauterbach debugger for programing BIST bypass and never had any issues.

I can provide you my script if needed.

Could you share shadow flash dump after programming BIST bypass?

Peter

0 项奖励
回复

1,713 次查看
rajakumaranazha
Contributor II

Hi,

Thanks for the reply. I have attached the shadow dump after BIST configuration.

Hope i have updated as specified in the datasheet. 

0 项奖励
回复