LBIST execution TC38x LBISTENA

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
baeky1
Level 1
Level 1
5 replies posted 10 sign-ins First like given

MCU : TC387QP

Debugger : Lauterbach TRACE32 Powerview for AURIX/Tricore


I am trying to trigger LBIST execution and get the LBIST results

 

Here's what I approached

1) AURIX TC3xx Safety Manual - SMC[SW]:MCU:LBIST_CFG

-> UCB registers , Configuration A, I found these two key words

2) AURIX TC3XX_um_part1_v2.0_xxx

3.1.1.7.5 LBIST execution
If selected in a valid BMHD by LBISTENA=1 (refer to Chapter 3.1.1.6), LBIST execution will be triggered by SSW.

-> follow this manual, I set up UCB,(BMHD0_ORIG/COPY.LBISTENA = 1)
-> As I successfully change this bit field, CRCBMHD and CRCBMHD_N also recalculated as well.

3) I expected LBIST execution start triggered and get the LBIST results by checking LBISTDONE, RSTAT.LBTERM =1,
but it doesn't seem properly operated and finished "LBIST",LBISTDONE, RSTAT.LBTERM still LOW = 0


Could you tell me what I am missing.

0 Likes
9 Replies
DownyK
Level 5
Level 5
100 replies posted 10 solutions authored 250 sign-ins

Hi baeky

I think you should check LBIST configurations such as LBISTCTRL0, LBISTCTRL1, LBISTCTRL2, LBISTCTRL3.

you can check this parameter at TC38x_appx_um_v2.0.pdf P108.

 

 

0 Likes
baeky1
Level 1
Level 1
5 replies posted 10 sign-ins First like given

thanks for your reply

As I check those parameter with debugger,  it seems properly set up already.

baeky_1-1649296550948.png

<TC38x_appx_um_v2.0.pdf, P109>

 

 

baeky_0-1649296373870.png

 

 

 

0 Likes
DownyK
Level 5
Level 5
100 replies posted 10 solutions authored 250 sign-ins

The settings seem to be correct.

How do you test it?

Are you testing with Cold Power Reset?

baeky1
Level 1
Level 1
5 replies posted 10 sign-ins First like given

I guess that is the point.

when I powered up the board, It seems to be Warm Power Reset.

other reset, system/application Reset also doesn't trigger SSW.

now I'm looking for how to Cold Power Reset without unstable voltage state.

 

baeky_0-1649299473483.png

 

0 Likes
DownyK
Level 5
Level 5
100 replies posted 10 solutions authored 250 sign-ins

In my case, I put the Trace32 in Nodebug state and turn the ignition or power on the board off and on.

 

After that, I attach Trace32 and check it.

baeky1
Level 1
Level 1
5 replies posted 10 sign-ins First like given

as you follow your sequence, "debug port fail" message showed, when I attach Trace32.

something different for my board. 😞

 

0 Likes
DownyK
Level 5
Level 5
100 replies posted 10 solutions authored 250 sign-ins

Did you do Cold Power-On Reset with NoDebug status before attaching?

0 Likes
baeky1
Level 1
Level 1
5 replies posted 10 sign-ins First like given

yes, I tried it same as you mentioned "In my case, I put the Trace32 in Nodebug state and turn the ignition or power on the board off and on. After that, I attach Trace32 and check it."

 

0 Likes
DownyK
Level 5
Level 5
100 replies posted 10 solutions authored 250 sign-ins

Okay... I don't know why such an issue is happening. I am tested normally in the same way...

0 Likes